Class CopperGolemEntity
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.GolemEntity
org.geysermc.geyser.entity.type.living.CopperGolemEntity
- All Implemented Interfaces:
org.geysermc.geyser.api.entity.type.GeyserEntity,Leashable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EnumProperty<CopperGolemEntity.ChestInteractionState>static final BooleanPropertystatic final EnumProperty<CopperGolemEntity.OxidationLevelState>Fields inherited from class org.geysermc.geyser.entity.type.LivingEntity
equipment, health, maxHealthFields inherited from class org.geysermc.geyser.entity.type.Entity
definition, dirtyMetadata, displayName, entityId, flags, geyserId, headYaw, motion, nametag, onGround, passengers, pitch, position, propertyManager, session, silent, uuid, valid, vehicle, yaw -
Constructor Summary
ConstructorsConstructorDescriptionCopperGolemEntity(GeyserSession session, int entityId, long geyserId, UUID uuid, EntityDefinition<?> definition, org.cloudburstmc.math.vector.Vector3f position, org.cloudburstmc.math.vector.Vector3f motion, float yaw, float pitch, float headYaw) -
Method Summary
Modifier and TypeMethodDescriptionprotected @NonNull InteractionResultmobInteract(@NonNull org.geysermc.mcprotocollib.protocol.data.game.entity.player.Hand usedHand, @NonNull GeyserItemStack itemInHand) voidsetGolemState(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.EntityMetadata<org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.CopperGolemState, ? extends org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.MetadataType<org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.CopperGolemState>> metadata) voidsetSaddle(GeyserItemStack stack) voidsetWeatheringState(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.EntityMetadata<org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.WeatheringCopperState, ? extends org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.MetadataType<org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.WeatheringCopperState>> metadata) protected @NonNull InteractiveTagtestMobInteraction(@NonNull org.geysermc.mcprotocollib.protocol.data.game.entity.player.Hand hand, @NonNull GeyserItemStack itemInHand) Methods inherited from class org.geysermc.geyser.entity.type.living.MobEntity
canBeLeashed, canShearEquipment, initializeMetadata, interact, isEnemy, leashHolderBedrockId, setLeashHolderBedrockId, setMobFlags, testInteractionMethods inherited from class org.geysermc.geyser.entity.type.LivingEntity
calculateAttribute, canUseSlot, checkInteractWithNameTag, createHealthAttribute, getEquipment, getItemInSlot, getMainHandItem, getOffHandItem, hasBodyArmor, hasShield, isAlive, isHolding, isMaxFrozenState, isShaking, moveRelative, setBedPosition, setBody, setBoots, setBoundingBoxHeight, setBoundingBoxWidth, setChestplate, setDimensionsFromPose, setEquipment, setFreezing, setHand, setHealth, setHelmet, setLeggings, setLivingEntityFlags, setMaxFrozenState, setMaxHealth, setOffhand, setParticles, setScale, setSpinAttack, switchHands, updateArmor, updateAttribute, updateBedrockAttributes, updateMainHand, updateNametag, updateOffHand, updateSaddled, useArmSwingAttackMethods inherited from class org.geysermc.geyser.entity.type.Entity
addAdditionalSpawnData, despawnEntity, doesJumpDismount, getBedrockRotation, getBoundingBoxHeight, getBoundingBoxWidth, getDefinition, getDirtyMetadata, getDisplayName, getEntityId, getFlag, getGeyserId, getHeadYaw, getMaxAir, getMotion, getNametag, getPassengers, getPitch, getPosition, getPropertyManager, getSession, getUuid, getVehicle, getYaw, hasLeashesToDrop, interactAt, isOnGround, isSilent, isValid, javaId, moveAbsolute, moveAbsolute, moveRelative, playEntityEvent, playEntityEvent, scoreVisibility, setAir, setAirSupply, setClientSideSilent, setDefinition, setDisplayName, setDisplayNameVisible, setEntityId, setFlag, setFlags, setFlagsDirty, setGliding, setGravity, setHeadYaw, setInvisible, setMotion, setNametag, setOnGround, setPassengers, setPitch, setPose, setPosition, setRiderSeatPosition, setSilent, setSneaking, setSprinting, setUuid, setValid, setVehicle, setYaw, spawnEntity, standardDisplayName, teamIdentifier, teleport, updateBedrockEntityProperties, updateBedrockMetadata, updateHeadLookRotation, updateInteractiveTag, updateMountOffset, updateNametag, updatePassengerOffsets, updatePositionAndRotation, updatePropertiesBatched, updateRotationMethods 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
-
HAS_FLOWER_PROPERTY
-
CHEST_INTERACTION_PROPERTY
public static final EnumProperty<CopperGolemEntity.ChestInteractionState> CHEST_INTERACTION_PROPERTY -
OXIDATION_LEVEL_STATE_ENUM_PROPERTY
public static final EnumProperty<CopperGolemEntity.OxidationLevelState> OXIDATION_LEVEL_STATE_ENUM_PROPERTY
-
-
Constructor Details
-
CopperGolemEntity
public CopperGolemEntity(GeyserSession session, int entityId, long geyserId, UUID uuid, EntityDefinition<?> definition, org.cloudburstmc.math.vector.Vector3f position, org.cloudburstmc.math.vector.Vector3f motion, float yaw, float pitch, float headYaw)
-
-
Method Details
-
testMobInteraction
protected @NonNull InteractiveTag testMobInteraction(@NonNull org.geysermc.mcprotocollib.protocol.data.game.entity.player.Hand hand, @NonNull GeyserItemStack itemInHand) - Overrides:
testMobInteractionin classMobEntity
-
mobInteract
protected @NonNull InteractionResult mobInteract(@NonNull org.geysermc.mcprotocollib.protocol.data.game.entity.player.Hand usedHand, @NonNull GeyserItemStack itemInHand) - Overrides:
mobInteractin classMobEntity
-
setSaddle
- Overrides:
setSaddlein classLivingEntity
-
setWeatheringState
public void setWeatheringState(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.EntityMetadata<org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.WeatheringCopperState, ? extends org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.MetadataType<org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.WeatheringCopperState>> metadata) -
setGolemState
public void setGolemState(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.EntityMetadata<org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.CopperGolemState, ? extends org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.MetadataType<org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.CopperGolemState>> metadata)
-