Update to BCLib 0.5.0 and new Fabric API
This commit is contained in:
parent
1d333071dc
commit
a9d1082ed2
72 changed files with 167 additions and 306 deletions
|
@ -67,6 +67,7 @@ public abstract class ChorusFlowerBlockMixin extends Block {
|
|||
private void placeGrownFlower(Level world, BlockPos pos, int age) {}
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("deprecation")
|
||||
public VoxelShape getShape(BlockState state, BlockGetter world, BlockPos pos, CollisionContext context) {
|
||||
if (GeneratorOptions.changeChorusPlant()) {
|
||||
return state.getValue(ChorusFlowerBlock.AGE) == 5 ? SHAPE_HALF : SHAPE_FULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue