Class EnderDragonPartEntity
java.lang.Object
org.geysermc.geyser.entity.type.Entity
org.geysermc.geyser.entity.type.living.monster.EnderDragonPartEntity
- All Implemented Interfaces:
org.geysermc.geyser.api.entity.type.GeyserEntity
-
Field Summary
Fields inherited from class org.geysermc.geyser.entity.type.Entity
bedrockDefinition, dirtyMetadata, displayName, entityId, flags, geyserId, headYaw, height, javaTypeDefinition, metadata, motion, nametag, offset, onGround, passengers, pitch, position, propertyManager, session, silent, uuid, valid, vehicle, width, yaw -
Constructor Summary
ConstructorsConstructorDescriptionEnderDragonPartEntity(GeyserSession session, int entityId, long geyserId, float width, float height) -
Method Summary
Modifier and TypeMethodDescriptionstatic EntitySpawnContextdragonPartSpawnContext(GeyserSession session, int entityId, long geyserId, float width, float height) protected voidCalled on entity spawn.Methods inherited from class org.geysermc.geyser.entity.type.Entity
addAdditionalSpawnData, bedrockDefinition, bedrockDefinition, bedrockPosition, definition, despawnEntity, doesJumpDismount, getBedrockRotation, getBoundingBoxHeight, getBoundingBoxWidth, getDirtyMetadata, getDisplayName, getEntityId, getFlag, getHeadYaw, getJavaTypeDefinition, getMaxAir, getMetadata, getMotion, getNametag, getOffset, getPassengers, getPitch, getPropertyManager, getSession, getUuid, getVehicle, getYaw, geyserId, hasLeashesToDrop, height, height, interact, interactAt, isAlive, isOnGround, isShaking, isSilent, isValid, javaId, moveAbsolute, moveAbsolute, moveRelative, moveRelative, offset, playEntityEvent, playEntityEvent, position, position, scoreVisibility, setAir, setAirSupply, setBoundingBoxHeight, setBoundingBoxWidth, setClientSideSilent, setDimensionsFromPose, setDisplayName, setDisplayNameVisible, setEntityId, setFlag, setFlags, setFlagsDirty, setFreezing, setGliding, setGravity, setHeadYaw, setInvisible, setJavaTypeDefinition, setMotion, setNametag, setOffset, setOnGround, setPassengers, setPitch, setPose, setRiderSeatPosition, setSilent, setSneaking, setSprinting, setUuid, setValid, setVehicle, setYaw, spawnEntity, standardDisplayName, teamIdentifier, teleport, testInteraction, update, updateBedrockEntityProperties, updateBedrockMetadata, updateHeadLookRotation, updateInteractiveTag, updateMountOffset, updateNametag, updateNametag, updatePassengerOffsets, updatePositionAndRotation, updatePropertiesBatched, updateRotation, uuid, value, width, widthMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.geysermc.geyser.api.entity.type.GeyserEntity
updatePropertiesBatched, updateProperty
-
Constructor Details
-
EnderDragonPartEntity
public EnderDragonPartEntity(GeyserSession session, int entityId, long geyserId, float width, float height)
-
-
Method Details
-
initializeMetadata
protected void initializeMetadata()Description copied from class:EntityCalled on entity spawn. Used to populate the entity metadata and flags with default values.- Overrides:
initializeMetadatain classEntity
-
dragonPartSpawnContext
public static EntitySpawnContext dragonPartSpawnContext(GeyserSession session, int entityId, long geyserId, float width, float height)
-