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:32]
fudge
tutorial:blocks [2020/08/01 16:30] (current)
draylar update mappings for EntityContext
Line 193: Line 193:
 <​code>​ <​code>​
  ​@Override  ​@Override
- ​public VoxelShape getOutlineShape(BlockState state, BlockView view, BlockPos pos, EntityContext ctx) {+ ​public VoxelShape getOutlineShape(BlockState state, BlockView view, BlockPos pos, ShapeContext context) {
      ​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/08/01 16:30 by draylar