TerraFirmaCraft

TerraFirmaCraft

2M Downloads

Picking up fluids with barrel needs a solid block to be targeted behind the fluid.

alcatrazEscapee opened this issue ยท 0 comments

commented

From discord:

Barrels - When attempting to pick up fluid blocks with a barrel in hand, there needs to be a solid block under the fluid for you to click on otherwise the barrel won't pick up the fluid, compare to 1.12 where you could click anywhere on a fluid block and the barrel would pick it up

Assumption is it's using a raytrace that needs to hit a solid block / block-use-on-block. Initial look suggests yes. Buckets use use

public InteractionResultHolder<ItemStack> use(Level level, Player player, InteractionHand hand)

And barrels use useOn

public InteractionResult useOn(UseOnContext context)