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
equipment, health, maxHealthFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.cloudburstmc.math.vector.Vector3fx = Pitch, y = Yaw, z = HeadYawvoidmoveAbsolute(org.cloudburstmc.math.vector.Vector3f javaPosition, float yaw, float pitch, float headYaw, boolean isOnGround, boolean teleported) voidmoveRelative(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, getMainHandItem, getOffHandItem, hasBodyArmor, hasShield, isAlive, isHolding, isMaxFrozenState, isShaking, setBedPosition, setBody, setBoots, setBoundingBoxHeight, setBoundingBoxWidth, setChestplate, setDimensionsFromPose, setEquipment, setFreezing, setHand, setHealth, setHelmet, setLeggings, setLivingEntityFlags, setMaxFrozenState, setMaxHealth, setOffhand, setParticles, setSaddle, setScale, setSpinAttack, switchHands, updateArmor, updateAttribute, updateBedrockAttributes, updateMainHand, updateNametag, updateOffHand, updateSaddled, useArmSwingAttackMethods inherited from class org.geysermc.geyser.entity.type.Entity
addAdditionalSpawnData, bedrockDefinition, bedrockDefinition, bedrockPosition, definition, despawnEntity, doesJumpDismount, getBoundingBoxHeight, getBoundingBoxWidth, getDirtyMetadata, getDisplayName, getEntityId, getFlag, getHeadYaw, getJavaTypeDefinition, getMaxAir, getMetadata, getMotion, getNametag, getOffset, getPassengers, getPitch, getPropertyManager, getSession, getUuid, getVehicle, getYaw, geyserId, hasLeashesToDrop, height, height, interactAt, isOnGround, isSilent, isValid, javaId, moveAbsolute, moveRelative, offset, playEntityEvent, playEntityEvent, position, position, scoreVisibility, setAir, setAirSupply, setClientSideSilent, setDisplayName, setDisplayNameVisible, setEntityId, setFlag, setFlags, setFlagsDirty, setGliding, setGravity, setInvisible, setJavaTypeDefinition, setNametag, setOffset, setOnGround, setPassengers, setPose, setRiderSeatPosition, setSilent, setSneaking, setSprinting, setUuid, setValid, setVehicle, spawnEntity, standardDisplayName, teamIdentifier, teleport, update, updateBedrockEntityProperties, updateBedrockMetadata, updateHeadLookRotation, updateInteractiveTag, updateMountOffset, 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
-
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. -
moveRelative
public void moveRelative(double relX, double relY, double relZ, float yaw, float pitch, float headYaw, boolean isOnGround) - Overrides:
moveRelativein classLivingEntity
-
moveAbsolute
public void moveAbsolute(org.cloudburstmc.math.vector.Vector3f javaPosition, float yaw, float pitch, float headYaw, boolean isOnGround, boolean teleported) - Overrides:
moveAbsolutein 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) -
getBedrockRotation
public org.cloudburstmc.math.vector.Vector3f getBedrockRotation()Description copied from class:Entityx = Pitch, y = Yaw, z = HeadYaw- Overrides:
getBedrockRotationin classEntity- Returns:
- the bedrock rotation
-
canBeLeashed
public boolean canBeLeashed()- Specified by:
canBeLeashedin interfaceLeashable- Overrides:
canBeLeashedin classAgeableWaterEntity
-