Skip to content

Commit

Permalink
Simplify TALL_FLOWERS handling
Browse files Browse the repository at this point in the history
Co-authored-by: ManInMyVan <[email protected]>
  • Loading branch information
Axionize and ManInMyVan authored Oct 3, 2024
1 parent 76f5f81 commit 9ee0b82
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,7 @@ public enum HitboxData {
: new OffsetCollisionBox(data.getType(), 0.3125D, 0.0D, 0.3125D, 0.6875D, 0.625D, 0.6875D),
BlockTags.SMALL_FLOWERS.getStates().toArray(new StateType[0])),

TALL_FLOWERS((player, item, version, data, x, y, z) -> new SimpleCollisionBox(0, 0, 0, 1, 1, 1, true),
BlockTags.TALL_FLOWERS.getStates().toArray(new StateType[0])),
TALL_FLOWERS(new SimpleCollisionBox(0, 0, 0, 1, 1, 1, true), BlockTags.TALL_FLOWERS.getStates().toArray(new StateType[0])),

FIRE((player, item, version, data, x, y, z) -> {
// Since 1.16 fire has a small hitbox
Expand Down

0 comments on commit 9ee0b82

Please sign in to comment.