Block dimensions

Started by Noxvern on

Topic category: Help with MCreator software

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Block dimensions
Fri, 08/27/2021 - 09:23 (edited)

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
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Here it is public VoxelShape…
Sat, 08/28/2021 - 11:50

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);
        }

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
modified the voxelshape
Sat, 08/28/2021 - 11:51

modified the voxelshape

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Also first you must chage…
Sat, 08/28/2021 - 11:52

Also first you must chage the hitbox to somthing else other than normal

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
But how do I change the…
Sun, 09/05/2021 - 22:24

But how do I change the hitbox?