added kelpstack
This commit is contained in:
parent
0ad57c251b
commit
1a7e5ca02a
@ -8,7 +8,7 @@ org.gradle.jvmargs=-Xmx1G
|
||||
loader_version=0.9.3+build.207
|
||||
|
||||
# Mod Properties
|
||||
mod_version = 1.16.3.4
|
||||
mod_version = 1.16.3.5
|
||||
maven_group = de.jottyfan.minecraft
|
||||
archives_base_name = quickiefabric
|
||||
|
||||
|
@ -0,0 +1,32 @@
|
||||
package de.jottyfan.minecraft.quickiefabric.blocks;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
|
||||
import net.minecraft.block.BlockState;
|
||||
import net.minecraft.block.GravelBlock;
|
||||
import net.minecraft.block.Material;
|
||||
import net.minecraft.block.MaterialColor;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.item.Items;
|
||||
import net.minecraft.loot.context.LootContext.Builder;
|
||||
import net.minecraft.sound.BlockSoundGroup;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author jotty
|
||||
*
|
||||
*/
|
||||
public class BlockKelpstack extends GravelBlock {
|
||||
|
||||
public BlockKelpstack() {
|
||||
super(FabricBlockSettings.of(Material.SOLID_ORGANIC, MaterialColor.GREEN).hardness(0.1f).slipperiness(1.0f)
|
||||
.breakInstantly().sounds(BlockSoundGroup.WET_GRASS));
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ItemStack> getDroppedStacks(BlockState blockState, Builder builder) {
|
||||
return Arrays.asList(new ItemStack[] { new ItemStack(Items.KELP, 9) });
|
||||
}
|
||||
}
|
@ -15,4 +15,5 @@ public class QuickieBlocks {
|
||||
public static final BlockLavahoarder LAVAHOARDER = new BlockLavahoarder();
|
||||
public static final BlockItemhoarder ITEMHOARDER = new BlockItemhoarder();
|
||||
public static final BlockMonsterhoarder MONSTERHOARDER = new BlockMonsterhoarder();
|
||||
public static final BlockKelpstack KELPSTACK = new BlockKelpstack();
|
||||
}
|
||||
|
@ -115,6 +115,7 @@ public class RegistryManager {
|
||||
stacks.add(new ItemStack(QuickieBlocks.LAVAHOARDER));
|
||||
stacks.add(new ItemStack(QuickieBlocks.ITEMHOARDER));
|
||||
stacks.add(new ItemStack(QuickieBlocks.MONSTERHOARDER));
|
||||
stacks.add(new ItemStack(QuickieBlocks.KELPSTACK));
|
||||
}).build();
|
||||
|
||||
private static final void registerBlock(Block block, String name) {
|
||||
@ -147,6 +148,7 @@ public class RegistryManager {
|
||||
registerBlock(QuickieBlocks.LAVAHOARDER, "lavahoarder");
|
||||
registerBlock(QuickieBlocks.ITEMHOARDER, "itemhoarder");
|
||||
registerBlock(QuickieBlocks.MONSTERHOARDER, "monsterhoarder");
|
||||
registerBlock(QuickieBlocks.KELPSTACK, "kelpstack");
|
||||
}
|
||||
|
||||
public static final void registerItems() {
|
||||
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "quickiefabric:block/kelpstack"
|
||||
}
|
||||
}
|
||||
}
|
@ -38,6 +38,7 @@
|
||||
"block.quickiefabric.lavahoarder": "Lavasauger",
|
||||
"block.quickiefabric.itemhoarder": "Itemsauger",
|
||||
"block.quickiefabric.monsterhoarder": "Monstersauger",
|
||||
"block.quickiefabric.kelpstack": "Seegrassbündel",
|
||||
"container.quickiefabric.backpack": "Rucksack",
|
||||
"msg.buildingplan.start": "beginne Konstruktionsaufnahme bei %s,%s,%s",
|
||||
"msg.buildingplan.end": "beende Konstruktionsaufnahme bei %s,%s,%s",
|
||||
|
@ -38,6 +38,7 @@
|
||||
"block.quickiefabric.lavahoarder": "lava hoarder",
|
||||
"block.quickiefabric.itemhoarder": "item hoarder",
|
||||
"block.quickiefabric.monsterhoarder": "monster hoarder",
|
||||
"block.quickiefabric.kelpstack": "kelp bundle",
|
||||
"container.quickiefabric.backpack": "backpack",
|
||||
"msg.buildingplan.start": "started recording of construction at %s,%s,%s",
|
||||
"msg.buildingplan.end": "finished recording of construction at %s,%s,%s",
|
||||
|
@ -0,0 +1,25 @@
|
||||
{
|
||||
"parent": "block/block",
|
||||
"textures": {
|
||||
"particle": "quickiefabric:block/kelpstack_side",
|
||||
"down": "quickiefabric:block/kelpstack_bottom",
|
||||
"up": "quickiefabric:block/kelpstack_top",
|
||||
"north": "quickiefabric:block/kelpstack_side",
|
||||
"east": "quickiefabric:block/kelpstack_side",
|
||||
"south": "quickiefabric:block/kelpstack_side",
|
||||
"west": "quickiefabric:block/kelpstack_side"
|
||||
},
|
||||
"elements": [
|
||||
{ "from": [ 0, 0, 0 ],
|
||||
"to": [ 16, 16, 16 ],
|
||||
"faces": {
|
||||
"down": { "texture": "#down", "cullface": "down" },
|
||||
"up": { "texture": "#up", "cullface": "up" },
|
||||
"north": { "texture": "#north", "cullface": "north" },
|
||||
"south": { "uv": [16, 0, 0, 16], "texture": "#south", "cullface": "south" },
|
||||
"west": { "texture": "#west", "cullface": "west" },
|
||||
"east": { "uv": [16, 0, 0, 16], "texture": "#east", "cullface": "east" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
{
|
||||
"parent": "quickiefabric:block/kelpstack",
|
||||
"display": {
|
||||
"thirdperson": {
|
||||
"rotation": [ 10, -45, 170 ],
|
||||
"translation": [ 0, 1.5, -2.75 ],
|
||||
"scale": [ 0.375, 0.375, 0.375 ]
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
@ -0,0 +1,9 @@
|
||||
{
|
||||
"type": "minecraft:campfire_cooking",
|
||||
"ingredient": {
|
||||
"item": "quickiefabric:kelpstack"
|
||||
},
|
||||
"result": "minecraft:dried_kelp_block",
|
||||
"experience": 0.9,
|
||||
"cookingtime": 615
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
{
|
||||
"type": "minecraft:smoking",
|
||||
"ingredient": {
|
||||
"item": "quickiefabric:kelpstack"
|
||||
},
|
||||
"result": "minecraft:dried_kelp_block",
|
||||
"experience": 0,
|
||||
"cookingtime": 100
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"kkk",
|
||||
"kkk",
|
||||
"kkk"
|
||||
],
|
||||
"key": {
|
||||
"k": {
|
||||
"item": "minecraft:kelp"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "quickiefabric:kelpstack",
|
||||
"count": 1
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user