Jump to content

[1m13m2] how do i place my vaules in the voxel shape methods in the block-classes?


Drachenbauer

Recommended Posts

I have my BoundingBox- proportions here:

public static final AxisAlignedBB BALLOON_BLOCK_AABB = new AxisAlignedBB(0.125, 0, 0.125, 0.875, 2, 0.875);

 

how do i use them in theese methods?:

Spoiler

@Override
	public VoxelShape getShape(IBlockState p_196244_1_, IBlockReader p_196244_2_, BlockPos p_196244_3_)
	{
		return super.getShape(p_196244_1_, p_196244_2_, p_196244_3_);
	}
	
	@Override
	public VoxelShape getRenderShape(IBlockState p_196247_1_, IBlockReader p_196247_2_, BlockPos p_196247_3_)
	{
		return super.getRenderShape(p_196247_1_, p_196247_2_, p_196247_3_);
	}
	
	@Override
	public VoxelShape getCollisionShape(IBlockState p_196268_1_, IBlockReader p_196268_2_, BlockPos p_196268_3_)
	{
		return super.getCollisionShape(p_196268_1_, p_196268_2_, p_196268_3_);
	}

 

 

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.