Class PatPat

java.lang.Object
at.petrak.paucal.xplat.common.misc.PatPat

public class PatPat extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.world.InteractionResult
    onPat(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level world, net.minecraft.world.InteractionHand hand, net.minecraft.world.entity.Entity entity, @Nullable net.minecraft.world.phys.EntityHitResult hitResult)
     
    static boolean
    tryPlayPatSound(UUID pattee, net.minecraft.world.phys.Vec3 patteePos, @Nullable net.minecraft.world.entity.player.Player patter, net.minecraft.world.level.Level world)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PatPat

      public PatPat()
  • Method Details

    • onPat

      public static net.minecraft.world.InteractionResult onPat(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level world, net.minecraft.world.InteractionHand hand, net.minecraft.world.entity.Entity entity, @Nullable @Nullable net.minecraft.world.phys.EntityHitResult hitResult)
    • tryPlayPatSound

      public static boolean tryPlayPatSound(UUID pattee, net.minecraft.world.phys.Vec3 patteePos, @Nullable @Nullable net.minecraft.world.entity.player.Player patter, net.minecraft.world.level.Level world)
      Returns:
      True if the pat happened successfully, false otherwise