Stairs, Walls and Slabs got their names

This commit is contained in:
drcrazy 2020-07-11 21:34:37 +03:00
parent c1863694f1
commit 7643220d4b
2 changed files with 84 additions and 21 deletions

View file

@ -423,31 +423,13 @@ public class TRContent {
block = new BlockStorage();
InitUtils.setup(block, name + "_storage_block");
stairsBlock = new TechRebornStairsBlock(block.getDefaultState(), FabricBlockSettings.copyOf(block)) {
@Override
public String getTranslationKey() {
return block.getTranslationKey();
}
};
stairsBlock = new TechRebornStairsBlock(block.getDefaultState(), FabricBlockSettings.copyOf(block));
InitUtils.setup(stairsBlock, name + "_storage_block_stairs");
slabBlock = new SlabBlock(FabricBlockSettings.copyOf(block)) {
@Override
public String getTranslationKey() {
return block.getTranslationKey();
}
};
slabBlock = new SlabBlock(FabricBlockSettings.copyOf(block));
InitUtils.setup(slabBlock, name + "_storage_block_slab");
wallBlock = new WallBlock(FabricBlockSettings.copyOf(block)) {
@Override
public String getTranslationKey() {
return block.getTranslationKey();
}
};
wallBlock = new WallBlock(FabricBlockSettings.copyOf(block));
InitUtils.setup(wallBlock, name + "_storage_block_wall");
}