Class FrogEntity
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.animal.AnimalEntity
org.geysermc.geyser.entity.type.living.animal.FrogEntity
- All Implemented Interfaces:
org.geysermc.geyser.api.entity.type.GeyserEntity,Leashable,VariantHolder<VariantIntHolder.BuiltIn>,VariantIntHolder,Tickable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.geysermc.geyser.entity.type.living.animal.VariantIntHolder
VariantIntHolder.BuiltIn -
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
bedrockDefinition, customName, customNameVisible, dirtyMetadata, entityId, flags, geyserId, headYaw, javaTypeDefinition, metadata, motion, nametag, offset, onGround, passengers, pitch, position, propertyManager, scale, session, silent, uuid, valid, vehicle, yaw -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetBedrockVariantId(int bedrockId) Should set the variant on bedrock's metadata.voidsetPose(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.Pose pose) Usually used for bounding box and not animation.voidsetTongueTarget(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.type.ObjectEntityMetadata<OptionalInt> entityMetadata) The registry inJavaRegistriesfor this mob's variants.Methods inherited from class org.geysermc.geyser.entity.type.living.animal.AnimalEntity
canEat, mobInteract, testMobInteractionMethods 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
canBeLeashed, canShearEquipment, interact, isEnemy, leashHolderBedrockId, setLeashHolderBedrockId, setMobFlags, testInteractionMethods inherited from class org.geysermc.geyser.entity.type.LivingEntity
applyScale, 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, setCustomName, setDimensionsFromPose, setDirtyHeadYaw, setDirtyPitch, setDirtyYaw, setEquipment, setFreezing, setHand, setHealth, setHelmet, setLeggings, setLerpPosition, setLerpSteps, setLivingEntityFlags, setMaxFrozenState, setMaxHealth, setOffhand, setParticles, setPassengers, setSaddle, setSpinAttack, shouldLerp, switchHands, tick, updateArmor, updateAttribute, updateBedrockAttributes, updateMainHand, updateNametag, updateOffHand, updateSaddled, useArmSwingAttackMethods inherited from class org.geysermc.geyser.entity.type.Entity
addAdditionalSpawnData, bedrockDefinition, bedrockDefinition, bedrockPosition, bedrockRotation, definition, despawnEntity, doesJumpDismount, 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, interactAt, isCustomNameVisible, isOnGround, isSilent, isValid, javaId, moveAbsolute, moveAbsoluteRaw, moveRelativeRaw, offset, playEntityEvent, playEntityEvent, position, scoreVisibility, setAir, setAirSupply, setClientSideSilent, setCustomBoundingBoxHeight, setCustomBoundingBoxWidth, setCustomNameVisible, setEntityId, setFlag, setFlags, setFlagsDirty, setGliding, setGravity, setHeadYaw, setInvisible, setJavaTypeDefinition, setMotion, setNameEntityData, setNametag, setNametagAlwaysShow, setOffset, setOnGround, setPitch, setPosition, setRiderSeatPosition, setScale, setSilent, setSneaking, setSprinting, setValid, setVehicle, setYaw, spawnEntity, standardDisplayName, teamIdentifier, teleport, update, updateBedrockEntityProperties, updateBedrockMetadata, updateHeadLookRotation, updateInteractiveTag, updateMountOffset, 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, updatePropertyMethods inherited from interface org.geysermc.geyser.entity.type.living.animal.VariantHolder
getSession, setVariant, setVariantFromJavaIdMethods inherited from interface org.geysermc.geyser.entity.type.living.animal.VariantIntHolder
setBedrockVariant
-
Constructor Details
-
FrogEntity
-
-
Method Details
-
setPose
public void setPose(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.Pose pose) Description copied from class:EntityUsually used for bounding box and not animation. -
variantRegistry
Description copied from interface:VariantHolderThe registry inJavaRegistriesfor this mob's variants. The registry can utilise theVariantHolder.reader(Class, Enum)method to create a reader to be used inRegistryCache.- Specified by:
variantRegistryin interfaceVariantHolder<VariantIntHolder.BuiltIn>
-
setBedrockVariantId
public void setBedrockVariantId(int bedrockId) Description copied from interface:VariantIntHolderShould set the variant on bedrock's metadata. The bedrock ID has already been checked and is always valid.- Specified by:
setBedrockVariantIdin interfaceVariantIntHolder
-
setTongueTarget
public void setTongueTarget(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.type.ObjectEntityMetadata<OptionalInt> entityMetadata) -
getFoodTag
- Specified by:
getFoodTagin classAnimalEntity- Returns:
- the tag associated with this animal for eating food. Null for nothing or different behavior.
-