Class EnderCrystalEntity

java.lang.Object
org.geysermc.geyser.entity.type.Entity
org.geysermc.geyser.entity.type.EnderCrystalEntity

public class EnderCrystalEntity extends Entity
  • Constructor Details

    • EnderCrystalEntity

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

    • initializeMetadata

      protected void initializeMetadata()
      Description copied from class: Entity
      Called on entity spawn. Used to populate the entity metadata and flags with default values.
      Overrides:
      initializeMetadata in class Entity
    • setBlockTarget

      public void setBlockTarget(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata<Optional<com.nukkitx.math.vector.Vector3i>,​?> entityMetadata)