Class SnowGolemEntity
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.SnowGolemEntity
-
Field Summary
Fields inherited from class org.geysermc.geyser.entity.type.LivingEntity
boots, chestplate, hand, health, helmet, leggings, maxHealth, offHand -
Constructor Summary
ConstructorsConstructorDescriptionSnowGolemEntity(GeyserSession session, int entityId, long geyserId, UUID uuid, EntityDefinition<?> definition, com.nukkitx.math.vector.Vector3f position, com.nukkitx.math.vector.Vector3f motion, float yaw, float pitch, float headYaw) -
Method Summary
Modifier and TypeMethodDescriptionprotected InteractionResultmobInteract(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)voidsetSnowGolemFlags(com.github.steveice10.mc.protocol.data.game.entity.metadata.type.ByteEntityMetadata entityMetadata)protected InteractiveTagtestMobInteraction(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)Methods inherited from class org.geysermc.geyser.entity.type.living.MobEntity
canBeLeashed, initializeMetadata, interact, isEnemy, isNotLeashed, setLeashHolderBedrockId, setMobFlags, testInteractionMethods inherited from class org.geysermc.geyser.entity.type.LivingEntity
calculateAttribute, checkInteractWithNameTag, createHealthAttribute, hasShield, isAlive, isShaking, setBedPosition, setDimensions, setFreezing, setHealth, setLivingEntityFlags, updateArmor, updateAttribute, updateBedrockAttributes, updateMainHand, updateOffHandMethods inherited from class org.geysermc.geyser.entity.type.Entity
addAdditionalSpawnData, as, despawnEntity, getBedrockRotation, getFlag, getMaxAir, interactAt, moveAbsolute, moveAbsolute, moveRelative, moveRelative, playEntityEvent, playEntityEvent, setAir, setAirSupply, setBoundingBoxHeight, setBoundingBoxWidth, setClientSideSilent, setDisplayName, setDisplayNameVisible, setFlag, setFlags, setGravity, setInvisible, setPose, setRiderSeatPosition, setSilent, spawnEntity, teleport, updateBedrockMetadata, updateHeadLookRotation, updateInteractiveTag, updateMountOffset, updatePassengerOffsets, updatePositionAndRotation, updateRotation
-
Constructor Details
-
SnowGolemEntity
public SnowGolemEntity(GeyserSession session, int entityId, long geyserId, UUID uuid, EntityDefinition<?> definition, com.nukkitx.math.vector.Vector3f position, com.nukkitx.math.vector.Vector3f motion, float yaw, float pitch, float headYaw)
-
-
Method Details
-
setSnowGolemFlags
public void setSnowGolemFlags(com.github.steveice10.mc.protocol.data.game.entity.metadata.type.ByteEntityMetadata entityMetadata) -
testMobInteraction
@Nonnull protected InteractiveTag testMobInteraction(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, @Nonnull GeyserItemStack itemInHand)- Overrides:
testMobInteractionin classMobEntity
-
mobInteract
@Nonnull protected InteractionResult mobInteract(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, @Nonnull GeyserItemStack itemInHand)- Overrides:
mobInteractin classMobEntity
-