Posted August 3, 20241 yr Block class: public class Conveyor extends Block { public static final VoxelShape SHAPE = Block.box(0.0D,0.0D,0.0D,16.0D,6.0D,16.0D); public static final DirectionProperty FACING = BlockStateProperties.HORIZONTAL_FACING; public Conveyor(Properties properties) { super(properties); } public BlockState getStateForPlacement(BlockItemUseContext pContext) { return this.defaultBlockState().setValue(FACING, Direction.NORTH); } }
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.