[1.14.x] Bowls and Bows are wrongly defined
2008Choco opened this issue ยท 0 comments
Describe the bug
When consuming an edible food source contained in a bowl (i.e. beetroot soup or mushroom stew), a bow replaces the consumed block.
To Reproduce
Steps to reproduce the behavior:
- Place beetroot soup or mushroom stew
- Consume the soup/stew by right clicking the block
Expected behavior
An empty bowl should be placed in the world.
Screenshots
N/A
Versions (please complete the following information):
- Minecraft version: 1.14.4
- PlaceableItems version: 4.0 (in-dev, fork)
- Forge version: 28.1.87 (mod dev environment version)
Currently defined as:
BOW = new PlaceableItemsBlockBuilder()
.build()
.setShape(VoxelShapesUtil.create(16, 4, 16))
.register("bowl_block", Items.BOWL);
BOWL = new PlaceableItemsBlockBuilder()
.build()
.setShape(VoxelShapesUtil.create(16, 4, 16))
.register("bow_block", Items.BOW);
Should be defined as:
BOW = new PlaceableItemsBlockBuilder()
.build()
.setShape(VoxelShapesUtil.create(16, 4, 16))
.register("bow_block", Items.BOW);
BOWL = new PlaceableItemsBlockBuilder()
.build()
.setShape(VoxelShapesUtil.create(16, 4, 16))
.register("bowl_block", Items.BOWL);
(notice the Items constants and strings used in the register()
methods)
I noticed this while writing a PR and figured it would be best to create an issue in place of creating another PR or tacking it in with the one currently being written. It may be addressed in a more minor commit as it's an easy enough fix.