Class PatPat
java.lang.Object
at.petrak.paucal.xplat.common.misc.PatPat
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.world.InteractionResultonPat(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 booleantryPlayPatSound(UUID pattee, net.minecraft.world.phys.Vec3 patteePos, @Nullable net.minecraft.world.entity.player.Player patter, net.minecraft.world.level.Level world)
-
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
-