All Implemented Interfaces:
org.geysermc.geyser.api.entity.type.GeyserEntity, Leashable, Tickable

public class PiglinEntity extends BasePiglinEntity
  • Constructor Details

  • Method Details

    • setBaby

      public void setBaby(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.type.BooleanEntityMetadata entityMetadata)
    • setChargingCrossbow

      public void setChargingCrossbow(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.type.BooleanEntityMetadata entityMetadata)
    • setDancing

      public void setDancing(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.type.BooleanEntityMetadata entityMetadata)
    • setHand

      public void setHand(GeyserItemStack stack)
      Overrides:
      setHand in class LivingEntity
    • updateMainHand

      public void updateMainHand()
      Overrides:
      updateMainHand in class LivingEntity
    • updateOffHand

      public void updateOffHand()
      Overrides:
      updateOffHand in class LivingEntity
    • testMobInteraction

      protected @NonNull InteractiveTag testMobInteraction(@NonNull org.geysermc.mcprotocollib.protocol.data.game.entity.player.Hand hand, @NonNull GeyserItemStack itemInHand)
      Overrides:
      testMobInteraction in class MobEntity
    • mobInteract

      protected @NonNull InteractionResult mobInteract(@NonNull org.geysermc.mcprotocollib.protocol.data.game.entity.player.Hand hand, @NonNull GeyserItemStack itemInHand)
      Overrides:
      mobInteract in class MobEntity