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

public class PiglinEntity extends BasePiglinEntity
  • Constructor Details

    • PiglinEntity

      public PiglinEntity(GeyserSession session, int entityId, long geyserId, UUID uuid, EntityDefinition<?> definition, org.cloudburstmc.math.vector.Vector3f position, org.cloudburstmc.math.vector.Vector3f motion, float yaw, float pitch, float headYaw)
  • Method Details

    • setBaby

      public void setBaby(com.github.steveice10.mc.protocol.data.game.entity.metadata.type.BooleanEntityMetadata entityMetadata)
    • setChargingCrossbow

      public void setChargingCrossbow(com.github.steveice10.mc.protocol.data.game.entity.metadata.type.BooleanEntityMetadata entityMetadata)
    • setDancing

      public void setDancing(com.github.steveice10.mc.protocol.data.game.entity.metadata.type.BooleanEntityMetadata entityMetadata)
    • updateOffHand

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

      @Nonnull protected InteractiveTag testMobInteraction(@Nonnull com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, @Nonnull GeyserItemStack itemInHand)
      Overrides:
      testMobInteraction in class MobEntity
    • mobInteract

      @Nonnull protected InteractionResult mobInteract(@Nonnull com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, @Nonnull GeyserItemStack itemInHand)
      Overrides:
      mobInteract in class MobEntity