Class SquidEntity
java.lang.Object
org.geysermc.geyser.entity.type.Entity
org.geysermc.geyser.entity.type.LivingEntity
org.geysermc.geyser.entity.type.living.MobEntity
org.geysermc.geyser.entity.type.living.CreatureEntity
org.geysermc.geyser.entity.type.living.AgeableEntity
org.geysermc.geyser.entity.type.living.AgeableWaterEntity
org.geysermc.geyser.entity.type.living.SquidEntity
- Direct Known Subclasses:
GlowSquidEntity
-
Field Summary
Fields inherited from class org.geysermc.geyser.entity.type.LivingEntity
attributeScale, dirtyHeadYaw, dirtyPitch, dirtyYaw, equipment, health, maxHealthFields inherited from class org.geysermc.geyser.entity.type.Entity
customName, customNameVisible, definition, dirtyMetadata, entityId, flags, geyserId, headYaw, motion, nametag, offset, onGround, passengers, pitch, position, propertyManager, session, silent, uuid, valid, vehicle, yaw -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.cloudburstmc.math.vector.Vector3fx = Pitch, y = Yaw, z = HeadYawbooleanvoidmoveAbsoluteRaw(org.cloudburstmc.math.vector.Vector3f position, float yaw, float pitch, float headYaw, boolean isOnGround, boolean teleported) voidmoveRelativeRaw(double relX, double relY, double relZ, float yaw, float pitch, float headYaw, boolean isOnGround) voidsetHeadYaw(float headYaw) voidsetMotion(org.cloudburstmc.math.vector.Vector3f motion) voidsetPitch(float pitch) voidsetYaw(float yaw) x = Yaw, y = Pitch, z = HeadYaw Java: Y = Yaw, X = Pitchvoidtick()This function gets called every game tick as long as the game tick loop isn't frozen.Methods inherited from class org.geysermc.geyser.entity.type.living.AgeableEntity
getAdultSize, getBabySize, initializeMetadata, isBaby, setBabyMethods inherited from class org.geysermc.geyser.entity.type.living.MobEntity
canShearEquipment, interact, isEnemy, leashHolderBedrockId, mobInteract, setLeashHolderBedrockId, setMobFlags, testInteraction, testMobInteractionMethods inherited from class org.geysermc.geyser.entity.type.LivingEntity
calculateAttribute, canUseSlot, checkInteractWithNameTag, createHealthAttribute, getEquipment, getItemInSlot, getLerpPosition, getLerpSteps, getMainHandItem, getOffHandItem, hasBodyArmor, hasShield, isAlive, isDirtyHeadYaw, isDirtyPitch, isDirtyYaw, isEquippableInSlot, isHolding, isMaxFrozenState, isShaking, moveAbsolute, moveRelative, setAttributeScale, setBedPosition, setBody, setBoots, setBoundingBoxHeight, setBoundingBoxWidth, setChestplate, setDimensionsFromPose, setDirtyHeadYaw, setDirtyPitch, setDirtyYaw, setEquipment, setFreezing, setHand, setHealth, setHelmet, setLeggings, setLerpPosition, setLerpSteps, setLivingEntityFlags, setMaxFrozenState, setMaxHealth, setOffhand, setParticles, setSaddle, setScale, setSpinAttack, shouldLerp, switchHands, updateArmor, updateAttribute, updateBedrockAttributes, updateMainHand, updateNametag, updateOffHand, updateSaddled, useArmSwingAttackMethods inherited from class org.geysermc.geyser.entity.type.Entity
addAdditionalSpawnData, bedrockPosition, despawnEntity, doesJumpDismount, getBoundingBoxHeight, getBoundingBoxWidth, getDefinition, getDirtyMetadata, getDisplayName, getEntityId, getFlag, getHeadYaw, getMaxAir, getMotion, getNametag, getOffset, getPassengers, getPitch, getPosition, getPropertyManager, getSession, getVehicle, getYaw, geyserId, hasLeashesToDrop, interactAt, isCustomNameVisible, isOnGround, isSilent, isValid, javaId, moveAbsolute, playEntityEvent, playEntityEvent, position, scoreVisibility, setAir, setAirSupply, setClientSideSilent, setCustomName, setCustomNameVisible, setDefinition, setEntityId, setFlag, setFlags, setFlagsDirty, setGliding, setGravity, setInvisible, setNameEntityData, setNametag, setNametagAlwaysShow, setOffset, setOnGround, setPassengers, setPose, setPosition, setRiderSeatPosition, setSilent, setSneaking, setSprinting, setValid, setVehicle, spawnEntity, standardDisplayName, teamIdentifier, teleport, updateBedrockEntityProperties, updateBedrockMetadata, updateHeadLookRotation, updateInteractiveTag, updateMountOffset, updateNametag, updatePassengerOffsets, updatePositionAndRotation, updatePropertiesBatched, updateRotation, uuid, uuidMethods 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
-
SquidEntity
-
-
Method Details
-
tick
public void tick()Description copied from interface:TickableThis function gets called every game tick as long as the game tick loop isn't frozen.- Specified by:
tickin interfaceTickable- Overrides:
tickin classLivingEntity
-
moveRelativeRaw
public void moveRelativeRaw(double relX, double relY, double relZ, float yaw, float pitch, float headYaw, boolean isOnGround) - Overrides:
moveRelativeRawin classEntity
-
moveAbsoluteRaw
public void moveAbsoluteRaw(org.cloudburstmc.math.vector.Vector3f position, float yaw, float pitch, float headYaw, boolean isOnGround, boolean teleported) - Overrides:
moveAbsoluteRawin classEntity
-
setYaw
public void setYaw(float yaw) Description copied from class:Entityx = Yaw, y = Pitch, z = HeadYaw Java: Y = Yaw, X = Pitch -
setPitch
public void setPitch(float pitch) -
setHeadYaw
public void setHeadYaw(float headYaw) - Overrides:
setHeadYawin classEntity
-
setMotion
public void setMotion(org.cloudburstmc.math.vector.Vector3f motion) -
bedrockRotation
public org.cloudburstmc.math.vector.Vector3f bedrockRotation()Description copied from class:Entityx = Pitch, y = Yaw, z = HeadYaw- Overrides:
bedrockRotationin classEntity- Returns:
- the bedrock rotation
-
canBeLeashed
public boolean canBeLeashed()- Specified by:
canBeLeashedin interfaceLeashable- Overrides:
canBeLeashedin classAgeableWaterEntity
-