Errata
This commit is contained in:
parent
5986d57526
commit
d70307b5c9
@ -59,7 +59,7 @@ public class Templates implements ModInitializer {
|
||||
public static final Block SLAB = Registry.register(Registries.BLOCK, id("slab") , new TemplateSlabBlock(cp(Blocks.OAK_SLAB)));
|
||||
public static final Block STAIRS = Registry.register(Registries.BLOCK, id("stairs") , new TemplateStairsBlock(cp(Blocks.OAK_STAIRS)));
|
||||
public static final Block TRAPDOOR = Registry.register(Registries.BLOCK, id("trapdoor") , new TemplateTrapdoorBlock(cp(Blocks.OAK_TRAPDOOR)));
|
||||
public static final Block WALL = Registry.register(Registries.BLOCK, id("wall") , new TemplateWallBlock(cp(Blocks.COBBLESTONE_WALL)));
|
||||
public static final Block WALL = Registry.register(Registries.BLOCK, id("wall") , new TemplateWallBlock(TemplateInteractionUtil.makeSettings()));
|
||||
public static final Block SLOPE = Registry.register(Registries.BLOCK, id("slope") , new TemplateSlopeBlock(TemplateInteractionUtil.makeSettings()));
|
||||
//30 degree slope (shallow/deep)
|
||||
//corner slopes
|
||||
@ -146,5 +146,7 @@ public class Templates implements ModInitializer {
|
||||
e.add(CARPET);
|
||||
e.add(PANE);
|
||||
e.add(CANDLE);
|
||||
|
||||
e.add(SLOPE);
|
||||
}
|
||||
}
|
||||
|
@ -27,6 +27,7 @@ import org.jetbrains.annotations.Nullable;
|
||||
public class TemplateStairsBlock extends StairsBlock implements BlockEntityProvider {
|
||||
public TemplateStairsBlock(BlockState blockState, Settings settings) {
|
||||
super(blockState, settings);
|
||||
setDefaultState(TemplateInteractionUtil.setDefaultStates(getDefaultState()));
|
||||
}
|
||||
|
||||
public TemplateStairsBlock(Settings settings) {
|
||||
|
@ -7,12 +7,14 @@
|
||||
"templates:cube",
|
||||
"templates:fence",
|
||||
"templates:fence_gate",
|
||||
"templates:lever",
|
||||
"templates:pane",
|
||||
"templates:post",
|
||||
"templates:pressure_plate",
|
||||
"templates:slab",
|
||||
"templates:slope",
|
||||
"templates:stairs",
|
||||
"templates:trapdoor",
|
||||
"templates:wall"
|
||||
"templates:wall",
|
||||
"templates:slope"
|
||||
]
|
||||
}
|
@ -8,13 +8,15 @@
|
||||
"templates:cube",
|
||||
"templates:fence",
|
||||
"templates:fence_gate",
|
||||
"templates:lever",
|
||||
"templates:pane",
|
||||
"templates:post",
|
||||
"templates:pressure_plate",
|
||||
"templates:slab",
|
||||
"templates:slope",
|
||||
"templates:stairs",
|
||||
"templates:trapdoor",
|
||||
"templates:wall"
|
||||
"templates:wall",
|
||||
"templates:slope"
|
||||
]
|
||||
},
|
||||
"criteria": {
|
||||
|
@ -0,0 +1,19 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "templates:button"
|
||||
}
|
||||
],
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:survives_explosion"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user