Class PiglinEntity
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.monster.MonsterEntity
org.geysermc.geyser.entity.type.living.monster.BasePiglinEntity
org.geysermc.geyser.entity.type.living.monster.PiglinEntity
- All Implemented Interfaces:
org.geysermc.geyser.api.entity.type.GeyserEntity,Leashable
-
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 TypeMethodDescriptionprotected @NonNull InteractionResultmobInteract(@NonNull org.geysermc.mcprotocollib.protocol.data.game.entity.player.Hand hand, @NonNull GeyserItemStack itemInHand) voidsetBaby(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.type.BooleanEntityMetadata entityMetadata) voidsetChargingCrossbow(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.type.BooleanEntityMetadata entityMetadata) voidsetDancing(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.type.BooleanEntityMetadata entityMetadata) voidsetHand(GeyserItemStack stack) protected @NonNull InteractiveTagtestMobInteraction(@NonNull org.geysermc.mcprotocollib.protocol.data.game.entity.player.Hand hand, @NonNull GeyserItemStack itemInHand) voidvoidMethods inherited from class org.geysermc.geyser.entity.type.living.monster.BasePiglinEntity
isShaking, setImmuneToZombification, setMobFlags, useArmSwingAttackMethods inherited from class org.geysermc.geyser.entity.type.living.monster.MonsterEntity
isEnemyMethods inherited from class org.geysermc.geyser.entity.type.living.MobEntity
canBeLeashed, canShearEquipment, initializeMetadata, interact, leashHolderBedrockId, setLeashHolderBedrockId, testInteractionMethods inherited from class org.geysermc.geyser.entity.type.LivingEntity
calculateAttribute, canUseSlot, checkInteractWithNameTag, createHealthAttribute, getEquipment, getItemInSlot, getMainHandItem, getOffHandItem, hasBodyArmor, hasShield, isAlive, isHolding, isMaxFrozenState, moveRelative, setBedPosition, setBody, setBoots, setBoundingBoxHeight, setBoundingBoxWidth, setChestplate, setDimensionsFromPose, setEquipment, setFreezing, setHealth, setHelmet, setLeggings, setLivingEntityFlags, setMaxFrozenState, setMaxHealth, setOffhand, setParticles, setSaddle, setScale, setSpinAttack, switchHands, updateArmor, updateAttribute, updateBedrockAttributes, updateNametag, updateSaddledMethods inherited from class org.geysermc.geyser.entity.type.Entity
addAdditionalSpawnData, bedrockDefinition, bedrockDefinition, bedrockPosition, definition, despawnEntity, doesJumpDismount, getBedrockRotation, 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, moveAbsolute, moveRelative, offset, playEntityEvent, playEntityEvent, position, position, scoreVisibility, setAir, setAirSupply, setClientSideSilent, setDisplayName, setDisplayNameVisible, setEntityId, setFlag, setFlags, setFlagsDirty, setGliding, setGravity, setHeadYaw, setInvisible, setJavaTypeDefinition, setMotion, setNametag, setOffset, setOnGround, setPassengers, setPitch, setPose, setRiderSeatPosition, setSilent, setSneaking, setSprinting, setUuid, setValid, setVehicle, setYaw, 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
-
PiglinEntity
-
-
Method Details
-
setBaby
public void setBaby(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.type.BooleanEntityMetadata entityMetadata) -
setChargingCrossbow
public void setChargingCrossbow(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.type.BooleanEntityMetadata entityMetadata) -
setDancing
public void setDancing(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.type.BooleanEntityMetadata entityMetadata) -
setHand
- Overrides:
setHandin classLivingEntity
-
updateMainHand
public void updateMainHand()- Overrides:
updateMainHandin classLivingEntity
-
updateOffHand
public void updateOffHand()- Overrides:
updateOffHandin classLivingEntity
-
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 hand, @NonNull GeyserItemStack itemInHand) - Overrides:
mobInteractin classMobEntity
-