Class PillagerMeta
java.lang.Object
net.minestom.server.entity.metadata.EntityMeta
net.minestom.server.entity.metadata.LivingEntityMeta
net.minestom.server.entity.metadata.MobMeta
net.minestom.server.entity.metadata.PathfinderMobMeta
net.minestom.server.entity.metadata.monster.MonsterMeta
net.minestom.server.entity.metadata.monster.raider.RaiderMeta
net.minestom.server.entity.metadata.monster.raider.AbstractIllagerMeta
net.minestom.server.entity.metadata.monster.raider.PillagerMeta
-
Field Summary
Fields inherited from class net.minestom.server.entity.metadata.EntityMeta
metadata
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns a boolean value if a Pillager is charging his crossbow.void
setChargingCrossbow
(boolean value) Set the state if a Pillager charge his crossbow.Methods inherited from class net.minestom.server.entity.metadata.monster.raider.RaiderMeta
isCelebrating, setCelebrating
Methods inherited from class net.minestom.server.entity.metadata.MobMeta
isAggressive, isLeftHanded, isNoAi, setAggressive, setLeftHanded, setNoAi
Methods inherited from class net.minestom.server.entity.metadata.LivingEntityMeta
getActiveHand, getArrowCount, getBedInWhichSleepingPosition, getBeeStingerCount, getHealth, getHealthAddedByAbsorption, getPotionEffectColor, isHandActive, isInRiptideSpinAttack, isPotionEffectAmbient, setActiveHand, setArrowCount, setBedInWhichSleepingPosition, setBeeStingerCount, setHandActive, setHealth, setHealthAddedByAbsorption, setInRiptideSpinAttack, setPotionEffectAmbient, setPotionEffectColor
Methods inherited from class net.minestom.server.entity.metadata.EntityMeta
consumeEntity, getAirTicks, getCustomName, getMask, getMaskBit, getPose, getTickFrozen, isCustomNameVisible, isFlyingWithElytra, isHasGlowingEffect, isHasNoGravity, isInvisible, isOnFire, isSilent, isSneaking, isSprinting, isSwimming, setAirTicks, setCustomName, setCustomNameVisible, setFlyingWithElytra, setHasGlowingEffect, setHasNoGravity, setInvisible, setMask, setMaskBit, setNotifyAboutChanges, setOnFire, setPose, setSilent, setSneaking, setSprinting, setSwimming, setTickFrozen
-
Field Details
-
OFFSET
public static final byte OFFSET- See Also:
-
MAX_OFFSET
public static final byte MAX_OFFSET- See Also:
-
-
Constructor Details
-
PillagerMeta
-
-
Method Details
-
setChargingCrossbow
public void setChargingCrossbow(boolean value) Set the state if a Pillager charge his crossbow.- Parameters:
value
- the value to set
-
isChargingCrossbow
public boolean isChargingCrossbow()Returns a boolean value if a Pillager is charging his crossbow.- Returns:
- true when yes otherwise false
-