Class WorldInteractionUtil

java.lang.Object
de.cech12.bucketlib.util.WorldInteractionUtil

public class WorldInteractionUtil extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     
    static net.minecraft.world.InteractionResult
    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.InteractionResult
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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.InteractionResult 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.InteractionResult 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)