Package org.geysermc.geyser.entity.type
Class AbstractArrowEntity
java.lang.Object
org.geysermc.geyser.entity.type.Entity
org.geysermc.geyser.entity.type.AbstractArrowEntity
- Direct Known Subclasses:
TippedArrowEntity,TridentEntity
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractArrowEntity(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 Summary
Modifier and TypeMethodDescriptionvoidsetArrowFlags(com.github.steveice10.mc.protocol.data.game.entity.metadata.type.ByteEntityMetadata entityMetadata)voidsetHeadYaw(float headYaw)voidsetMotion(com.nukkitx.math.vector.Vector3f motion)voidsetPitch(float pitch)voidsetYaw(float yaw)Methods inherited from class org.geysermc.geyser.entity.type.Entity
addAdditionalSpawnData, as, despawnEntity, getBedrockRotation, getFlag, getMaxAir, initializeMetadata, interact, interactAt, isAlive, isShaking, moveAbsolute, moveAbsolute, moveRelative, moveRelative, playEntityEvent, playEntityEvent, setAir, setAirSupply, setBoundingBoxHeight, setBoundingBoxWidth, setDimensions, setDisplayName, setDisplayNameVisible, setFlag, setFlags, setFreezing, setGravity, setInvisible, setPose, setRiderSeatPosition, spawnEntity, teleport, testInteraction, updateBedrockMetadata, updateHeadLookRotation, updateInteractiveTag, updateMountOffset, updatePassengerOffsets, updatePositionAndRotation, updateRotation
-
Constructor Details
-
AbstractArrowEntity
public AbstractArrowEntity(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
-
setArrowFlags
public void setArrowFlags(com.github.steveice10.mc.protocol.data.game.entity.metadata.type.ByteEntityMetadata entityMetadata) -
setYaw
public void setYaw(float yaw) -
setPitch
public void setPitch(float pitch) -
setHeadYaw
public void setHeadYaw(float headYaw) -
setMotion
public void setMotion(com.nukkitx.math.vector.Vector3f motion)
-