Package de.cech12.bucketlib.util
Class WorldInteractionUtil
java.lang.Object
de.cech12.bucketlib.util.WorldInteractionUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.world.InteractionResulttryMilkLivingEntity(net.minecraft.world.item.ItemStack itemStack, net.minecraft.world.entity.LivingEntity entity, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand interactionHand) static net.minecraft.world.InteractionResultHolder<net.minecraft.world.item.ItemStack> tryPickupFromCauldron(net.minecraft.world.level.Level level, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand interactionHand, net.minecraft.world.phys.BlockHitResult blockHitResult) static net.minecraft.world.InteractionResultHolder<net.minecraft.world.item.ItemStack> tryPlaceIntoCauldron(net.minecraft.world.level.Level level, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand interactionHand, net.minecraft.world.phys.BlockHitResult blockHitResult)
-
Method Details
-
tryMilkLivingEntity
public static net.minecraft.world.InteractionResult tryMilkLivingEntity(net.minecraft.world.item.ItemStack itemStack, net.minecraft.world.entity.LivingEntity entity, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand interactionHand) -
tryPickupFromCauldron
public static net.minecraft.world.InteractionResultHolder<net.minecraft.world.item.ItemStack> tryPickupFromCauldron(net.minecraft.world.level.Level level, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand interactionHand, net.minecraft.world.phys.BlockHitResult blockHitResult) -
tryPlaceIntoCauldron
public static net.minecraft.world.InteractionResultHolder<net.minecraft.world.item.ItemStack> tryPlaceIntoCauldron(net.minecraft.world.level.Level level, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand interactionHand, net.minecraft.world.phys.BlockHitResult blockHitResult)
-