Package org.geysermc.geyser.entity.type
Class WitherSkullEntity
java.lang.Object
org.geysermc.geyser.entity.type.Entity
org.geysermc.geyser.entity.type.ThrowableEntity
org.geysermc.geyser.entity.type.FireballEntity
org.geysermc.geyser.entity.type.WitherSkullEntity
- All Implemented Interfaces:
Tickable
-
Field Summary
Fields inherited from class org.geysermc.geyser.entity.type.FireballEntity
futureTicksFields inherited from class org.geysermc.geyser.entity.type.ThrowableEntity
lastJavaPositionFields inherited from class org.geysermc.geyser.entity.type.Entity
boundingBoxHeight, boundingBoxWidth, definition, dirtyMetadata, entityId, flags, geyserId, headYaw, motion, nametag, onGround, passengers, pitch, position, session, uuid, valid, yaw -
Constructor Summary
ConstructorsConstructorDescriptionWitherSkullEntity(GeyserSession session, long 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 Summary
Modifier and TypeMethodDescriptionprotected floatgetDrag()voidsetDangerous(com.github.steveice10.mc.protocol.data.game.entity.metadata.type.BooleanEntityMetadata entityMetadata)Methods inherited from class org.geysermc.geyser.entity.type.FireballEntity
moveAbsoluteImmediate, tickMethods inherited from class org.geysermc.geyser.entity.type.ThrowableEntity
despawnEntity, getGravity, isInWater, moveAbsolute, moveRelativeMethods inherited from class org.geysermc.geyser.entity.type.Entity
addAdditionalSpawnData, as, getBedrockRotation, getFlag, getMaxAir, initializeMetadata, is, isShaking, moveAbsolute, moveRelative, setAir, setAirSupply, setBoundingBoxHeight, setBoundingBoxWidth, setDimensions, setDisplayName, setDisplayNameVisible, setFlag, setFlags, setFreezing, setGravity, setInvisible, setPose, setRiderSeatPosition, spawnEntity, teleport, updateBedrockMetadata, updateHeadLookRotation, updatePositionAndRotation, updateRotation
-
Constructor Details
-
WitherSkullEntity
public WitherSkullEntity(GeyserSession session, long 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
-
setDangerous
public void setDangerous(com.github.steveice10.mc.protocol.data.game.entity.metadata.type.BooleanEntityMetadata entityMetadata) -
getDrag
protected float getDrag()- Overrides:
getDragin classThrowableEntity- Returns:
- the drag that should be multiplied to the entity's motion
-