
fake-player broken Lootr chests Forge 1.20.1 + Alex's Caves (Burrowing arrow) and (quarry_smasher)
Closed this issue · 5 comments
After digging a little bit, there's some separation of the code which, in my opinion, is a little problematic:
- The block position is set via https://github.com/AlexModGuy/AlexsCaves/blob/fcc5c4f74095b9c64a5a03e8543b5bcef71fa040/src/main/java/com/github/alexmodguy/alexscaves/server/block/blockentity/QuarryBlockEntity.java#L197
- The actual breaking takes place in https://github.com/AlexModGuy/AlexsCaves/blob/main/src/mainjava/com/github/alexmodguy/alexscaves/server/entity/item/QuarrySmasherEntity.java#L176 this function, which doesn't re-check. In theory it should still be fine but personally I would check both places.
It seems like the solution is to add the lootr containers tag (#lootr:containers
) to the alexscaves:unmovable
block tag with a data pack.