Class ZombieVillagerEntity

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

public class ZombieVillagerEntity extends ZombieEntity
  • Constructor Details

    • ZombieVillagerEntity

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

    • setTransforming

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

      public void setZombieVillagerData(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata<com.github.steveice10.mc.protocol.data.game.entity.metadata.VillagerData,?> entityMetadata)
    • isShaking

      protected boolean isShaking()
      Description copied from class: Entity
      If true, the entity should be shaking on the client's end.
      Overrides:
      isShaking in class ZombieEntity
      Returns:
      whether EntityFlag.SHAKING should be set to true.
    • 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