Started by
Noxvern
on
Topic category: Help with MCreator software
Hello guys,
Im triying to make a block with a hitbox of 3x3 but I can't find the minium/maximum XYZ coord's
In older versions of McCreator we can cange dat parameter at the first page of the block properties, but in 2021.1 I can't see that feature... It was removed, changed or im totally blind?
Thank You~
Edited by Noxvern on Fri, 08/27/2021 - 09:23
Here it is public VoxelShape getShape(BlockState state, IBlockReader world, BlockPos pos, ISelectionContext context) {
Vector3d offset = state.getOffset(world, pos);
return VoxelShapes.or(makeCuboidShape(0, 0, 0, 16, 8, 16)).withOffset(offset.x, offset.y, offset.z);
}
modified the voxelshape
Also first you must chage the hitbox to somthing else other than normal
But how do I change the hitbox?