Class AllayEntity

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

public class AllayEntity extends MobEntity
  • Constructor Details

    • AllayEntity

      public AllayEntity(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

    • setDancing

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

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

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

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