Add a steel catwalk block

This commit is contained in:
Zontreck 2024-03-03 19:31:57 -07:00
parent 7fdde3654c
commit e4ea8d0b8f
13 changed files with 50 additions and 5 deletions

View file

@ -317,5 +317,7 @@ public class ModBlocks {
private static final VoxelShape STEEL_RAILING_EAST = Block.box(0.25, 0.25, 0.25, 1.25, 16, 15.75);
public static final RegistryObject<Block> STEEL_RAILING = registerWithItem(BLOCKS.register("steel_railing", ()->new RotatableBlockCustomVoxels(gratingBlock, STEEL_RAILING_NORTH, STEEL_RAILING_SOUTH, STEEL_RAILING_WEST, STEEL_RAILING_EAST)), new Item.Properties());
public static final RegistryObject<Block> STEEL_CATWALK_BLOCK = registerWithItem(BLOCKS.register("steel_catwalk_block", ()-> new Block(gratingBlock)), new Item.Properties());
}

View file

@ -136,6 +136,7 @@ public class ModBlockStatesProvider extends BlockStateProvider {
blockWithExistingModel(ModBlocks.STEEL_CATWALK_STAIRS_RR, "block/engineersdecor/furniture/steel_catwalk_stairs_rr", true);
blockWithExistingModel(ModBlocks.STEEL_CATWALK_STAIRS_DR, "block/engineersdecor/furniture/steel_catwalk_stairs_dr", true);
blockWithExistingModel(ModBlocks.STEEL_CATWALK_BLOCK, "block/steel_catwalk_block", false);
}

View file

@ -75,6 +75,8 @@ public class ModBlockLootTablesProvider extends BlockLootSubProvider
dropSelf(ModBlocks.STEEL_GRATING_TOP.get());
dropSelf(ModBlocks.STEEL_CATWALK_TOP.get());
dropSelf(ModBlocks.STEEL_CATWALK_BLOCK.get());
}

View file

@ -42,6 +42,7 @@
"block.ariasessentials.steel_catwalk_stairs_lr": "Steel Catwalk Left Rail",
"block.ariasessentials.steel_catwalk_stairs_rr": "Steel Catwalk Right Rail",
"block.ariasessentials.steel_catwalk_stairs_dr": "Steel Catwalk Double Rail",
"block.ariasessentials.steel_catwalk_block": "Steel Catwalk Block",
"key.category.ariasessentials": "Aria's Essentials",
"key.ariasessentials.autowalk": "Auto Walk"

View file

@ -11,6 +11,6 @@
},
"result": {
"item": "ariasessentials:steel_railing",
"count": 1
"count": 3
}
}

View file

@ -39,6 +39,7 @@
"ariasessentials:steel_catwalk_stairs_lr",
"ariasessentials:steel_catwalk_stairs_rr",
"ariasessentials:steel_catwalk_stairs_dr",
"ariasessentials:steel_table"
"ariasessentials:steel_table",
"ariasessentials:steel_catwalk_block"
]
}