Package org.geysermc.geyser.entity.type
Class FireballEntity
java.lang.Object
org.geysermc.geyser.entity.type.Entity
org.geysermc.geyser.entity.type.ThrowableEntity
org.geysermc.geyser.entity.type.FireballEntity
- All Implemented Interfaces:
org.geysermc.geyser.api.entity.type.GeyserEntity,Tickable
- Direct Known Subclasses:
WitherSkullEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intThe number of ticks to advance movement before sending to BedrockFields inherited from class org.geysermc.geyser.entity.type.ThrowableEntity
lastJavaPositionFields inherited from class org.geysermc.geyser.entity.type.Entity
bedrockDefinition, customName, customNameVisible, dirtyMetadata, entityId, flags, geyserId, headYaw, javaTypeDefinition, metadata, motion, nametag, offset, onGround, passengers, pitch, propertyManager, scale, session, silent, uuid, valid, vehicle, yaw -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidmoveAbsoluteImmediate(org.cloudburstmc.math.vector.Vector3f javaPosition, float yaw, float pitch, float headYaw, boolean isOnGround, boolean teleported) voidtick()Updates the position for the Bedrock client.Methods inherited from class org.geysermc.geyser.entity.type.ThrowableEntity
despawnEntity, getDrag, getGravity, isInWater, moveAbsoluteRaw, moveRelativeRaw, removedInVoidMethods inherited from class org.geysermc.geyser.entity.type.Entity
addAdditionalSpawnData, applyScale, bedrockDefinition, bedrockDefinition, bedrockPosition, definition, doesJumpDismount, getBedrockRotation, getBoundingBoxHeight, getBoundingBoxWidth, getCustomBoundingBoxHeight, getCustomBoundingBoxWidth, getDirtyMetadata, getDisplayName, getEntityId, getFlag, getHeadYaw, getJavaTypeDefinition, getMaxAir, getMetadata, getMotion, getNametag, getOffset, getPassengers, getPitch, getPosition, getPropertyManager, getScale, getSession, getVehicle, getYaw, geyserId, hasLeashesToDrop, initializeMetadata, interact, interactAt, isAlive, isCustomNameVisible, isOnGround, isShaking, isSilent, isValid, javaId, moveAbsolute, moveAbsolute, moveRelative, offset, playEntityEvent, playEntityEvent, position, scoreVisibility, setAir, setAirSupply, setBoundingBoxHeight, setBoundingBoxWidth, setClientSideSilent, setCustomBoundingBoxHeight, setCustomBoundingBoxWidth, setCustomName, setCustomNameVisible, setDimensionsFromPose, setEntityId, setFlag, setFlags, setFlagsDirty, setFreezing, setGliding, setGravity, setHeadYaw, setInvisible, setJavaTypeDefinition, setMotion, setNameEntityData, setNametag, setNametagAlwaysShow, setOffset, setOnGround, setPassengers, setPitch, setPose, setPosition, setRiderSeatPosition, setScale, setSilent, setSneaking, setSprinting, setValid, setVehicle, setYaw, spawnEntity, standardDisplayName, teamIdentifier, teleport, testInteraction, update, updateBedrockEntityProperties, updateBedrockMetadata, updateHeadLookRotation, updateInteractiveTag, updateMountOffset, updateNametag, updateNametag, updatePassengerOffsets, updatePositionAndRotation, updatePropertiesBatched, updateRotation, uuid, uuid, valueMethods 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
-
Field Details
-
futureTicks
protected int futureTicksThe number of ticks to advance movement before sending to Bedrock
-
-
Constructor Details
-
FireballEntity
-
-
Method Details
-
moveAbsoluteImmediate
protected void moveAbsoluteImmediate(org.cloudburstmc.math.vector.Vector3f javaPosition, float yaw, float pitch, float headYaw, boolean isOnGround, boolean teleported) - Overrides:
moveAbsoluteImmediatein classThrowableEntity
-
tick
public void tick()Description copied from class:ThrowableEntityUpdates the position for the Bedrock client. Java clients assume the next positions of moving items. Bedrock needs to be explicitly told positions- Specified by:
tickin interfaceTickable- Overrides:
tickin classThrowableEntity
-