User Tools

Site Tools


tutorial:blocks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
tutorial:blocks [2020/06/14 08:31]
fudge dryfix
tutorial:blocks [2020/06/14 08:32] (current)
fudge
Line 192: Line 192:
  
 <​code>​ <​code>​
-@Override+ @Override
  ​public VoxelShape getOutlineShape(BlockState state, BlockView view, BlockPos pos, EntityContext ctx) {  ​public VoxelShape getOutlineShape(BlockState state, BlockView view, BlockPos pos, EntityContext ctx) {
      ​return VoxelShapes.cuboid(0f,​ 0f, 0f, 1f, 1.0f, 0.5f);      ​return VoxelShapes.cuboid(0f,​ 0f, 0f, 1f, 1.0f, 0.5f);
tutorial/blocks.txt · Last modified: 2020/06/14 08:32 by fudge