LivingEntity
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
import crafttweaker.api.entity.LivingEntity;
Extends
LivingEntity extends Entity
.
Implements
LivingEntity
implements the following interfaces:
Nameable
,EntityAccess
,CommandSource
,IAttachmentHolder
Undocumented Interfaces
Attackable
,ILivingEntityExtension
,SyncedDataHolder
,ScoreHolder
,IEntityExtension
,INBTSerializable<CompoundTag>
Members
// LivingEntity.absorptionAmount as floatmyLivingEntity.absorptionAmount
Return Type:
float
// LivingEntity.absorptionAmount() as float;myLivingEntity.absorptionAmount();
Return Type:
float
// LivingEntity.acceptsFailure as boolmyLivingEntity.acceptsFailure
Return Type:
bool
// LivingEntity.acceptsFailure() as bool;myLivingEntity.acceptsFailure();
Return Type:
bool
// LivingEntity.acceptsSuccess as boolmyLivingEntity.acceptsSuccess
Return Type:
bool
// LivingEntity.acceptsSuccess() as bool;myLivingEntity.acceptsSuccess();
Return Type:
bool
myLivingEntity.activeEffects
Return Type:
Collection<MobEffectInstance>
myLivingEntity.activeEffectsMap
Return Type:
MobEffectInstance[MobEffect]
myLivingEntity.addEffect(myMobEffectInstance);
Parameters:
effectInstance: MobEffectInstance
Type: MobEffectInstance
Return Type:
bool
myLivingEntity.addEffect(myMobEffectInstance, myEntity);
Parameters:
effectInstance: MobEffectInstance
Type: MobEffectInstance
Return Type:
bool
// LivingEntity.addTag(tagName as string) as bool;myLivingEntity.addTag(myString);
Parameters:
tagName: string
Type: string
Return Type:
bool
// LivingEntity.airSupply as intmyLivingEntity.airSupply
Return Type:
int
// LivingEntity.airSupply() as int;myLivingEntity.airSupply();
Return Type:
int
// LivingEntity.alwaysAccepts as boolmyLivingEntity.alwaysAccepts
Return Type:
bool
// LivingEntity.alwaysAccepts() as bool;myLivingEntity.alwaysAccepts();
Return Type:
bool
// LivingEntity.armorCoverPercentage as floatmyLivingEntity.armorCoverPercentage
Return Type:
float
// LivingEntity.armorCoverPercentage() as float;myLivingEntity.armorCoverPercentage();
Return Type:
float
// LivingEntity.armorValue as intmyLivingEntity.armorValue
Return Type:
int
// LivingEntity.armorValue() as int;myLivingEntity.armorValue();
Return Type:
int
// LivingEntity.arrowCount as intmyLivingEntity.arrowCount
Return Type:
int
// LivingEntity.arrowCount() as int;myLivingEntity.arrowCount();
Return Type:
int
// LivingEntity.attackable as boolmyLivingEntity.attackable
Return Type:
bool
// LivingEntity.attackable() as bool;myLivingEntity.attackable();
Return Type:
bool
// LivingEntity.bbHeight as floatmyLivingEntity.bbHeight
Return Type:
float
// LivingEntity.bbHeight() as float;myLivingEntity.bbHeight();
Return Type:
float
// LivingEntity.bbWidth as floatmyLivingEntity.bbWidth
Return Type:
float
// LivingEntity.bbWidth() as float;myLivingEntity.bbWidth();
Return Type:
float
// LivingEntity.blockX as intmyLivingEntity.blockX
Return Type:
int
// LivingEntity.blockX() as int;myLivingEntity.blockX();
Return Type:
int
// LivingEntity.blockY as intmyLivingEntity.blockY
Return Type:
int
// LivingEntity.blockY() as int;myLivingEntity.blockY();
Return Type:
int
// LivingEntity.blockZ as intmyLivingEntity.blockZ
Return Type:
int
// LivingEntity.blockZ() as int;myLivingEntity.blockZ();
Return Type:
int
myLivingEntity.canAttack(myLivingEntity);
Parameters:
target: LivingEntity
Type: LivingEntity
Return Type:
bool
myLivingEntity.canBeAffected(myMobEffectInstance);
Parameters:
effectInstance: MobEffectInstance
Type: MobEffectInstance
Return Type:
bool
// LivingEntity.canBeCollidedWith as boolmyLivingEntity.canBeCollidedWith
Return Type:
bool
// LivingEntity.canBeCollidedWith() as bool;myLivingEntity.canBeCollidedWith();
Return Type:
bool
// LivingEntity.canBeSeenAsEnemy as boolmyLivingEntity.canBeSeenAsEnemy
Return Type:
bool
// LivingEntity.canBeSeenAsEnemy() as bool;myLivingEntity.canBeSeenAsEnemy();
Return Type:
bool
// LivingEntity.canBeSeenByAnyone as boolmyLivingEntity.canBeSeenByAnyone
Return Type:
bool
// LivingEntity.canBeSeenByAnyone() as bool;myLivingEntity.canBeSeenByAnyone();
Return Type:
bool
// LivingEntity.canBreatheUnderwater as boolmyLivingEntity.canBreatheUnderwater
Return Type:
bool
// LivingEntity.canBreatheUnderwater() as bool;myLivingEntity.canBreatheUnderwater();
Return Type:
bool
// LivingEntity.canFreeze as boolmyLivingEntity.canFreeze
Return Type:
bool
// LivingEntity.canFreeze() as bool;myLivingEntity.canFreeze();
Return Type:
bool
// LivingEntity.clearFire();myLivingEntity.clearFire();
// LivingEntity.clearSleepingPos();myLivingEntity.clearSleepingPos();
// LivingEntity.dampensVibrations as boolmyLivingEntity.dampensVibrations
Return Type:
bool
// LivingEntity.dampensVibrations() as bool;myLivingEntity.dampensVibrations();
Return Type:
bool
myLivingEntity.die(myDamageSource);
Parameters:
source: DamageSource
Type: DamageSource
// LivingEntity.dimensionChangingDelay as intmyLivingEntity.dimensionChangingDelay
Return Type:
int
// LivingEntity.dimensionChangingDelay() as int;myLivingEntity.dimensionChangingDelay();
Return Type:
int
// LivingEntity.discard();myLivingEntity.discard();
// LivingEntity.dismountsUnderwater as boolmyLivingEntity.dismountsUnderwater
Return Type:
bool
// LivingEntity.distanceToSqr(x as double, y as double, z as double) as double;myLivingEntity.distanceToSqr(myDouble, myDouble, myDouble);
Parameters:
x: double
Type: double
y: double
Type: double
z: double
Type: double
Return Type:
double
// LivingEntity.ejectPassengers();myLivingEntity.ejectPassengers();
// LivingEntity.eyeHeight as floatmyLivingEntity.eyeHeight
Return Type:
float
// LivingEntity.eyeHeight() as float;myLivingEntity.eyeHeight();
Return Type:
float
// LivingEntity.eyeY as doublemyLivingEntity.eyeY
Return Type:
double
// LivingEntity.eyeY() as double;myLivingEntity.eyeY();
Return Type:
double
// LivingEntity.fallFlyingTicks as intmyLivingEntity.fallFlyingTicks
Return Type:
int
// LivingEntity.fallFlyingTicks() as int;myLivingEntity.fallFlyingTicks();
Return Type:
int
// LivingEntity.fireImmune as boolmyLivingEntity.fireImmune
Return Type:
bool
// LivingEntity.fireImmune() as bool;myLivingEntity.fireImmune();
Return Type:
bool
// LivingEntity.fireTicks as intmyLivingEntity.fireTicks
Return Type:
int
// LivingEntity.fireTicks = (ticks as int);myLivingEntity.fireTicks = myInt;
Parameters:
ticks: int
Type: int
// LivingEntity.fluidJumpThreshold as doublemyLivingEntity.fluidJumpThreshold
Return Type:
double
// LivingEntity.fluidJumpThreshold() as double;myLivingEntity.fluidJumpThreshold();
Return Type:
double
myLivingEntity.forceAddEffect(myMobEffectInstance, myEntity);
Parameters:
effectInstance: MobEffectInstance
Type: MobEffectInstance
myLivingEntity.getAttachmentData<T>(myAttachmentType);
Parameters:
type: AttachmentType<T>
Type: AttachmentType<T>
Return Type:
T
myLivingEntity.getAttachmentData<T>(mySupplier);
Parameters:
type: Supplier<AttachmentType<T>>
Type: Supplier<AttachmentType<T>>
Return Type:
T
myLivingEntity.getAttribute(myAttribute);
Return Type:
AttributeInstance
myLivingEntity.getEffect(myMobEffect);
Return Type:
MobEffectInstance
myLivingEntity.getItemBySlot(myEquipmentSlot);
Parameters:
slot: EquipmentSlot
Type: EquipmentSlot
Return Type:
ItemStack
myLivingEntity.getItemInHand(myInteractionHand);
Parameters:
hand: InteractionHand
Type: InteractionHand
Return Type:
ItemStack
// LivingEntity.getSwimAmount(partialTicks as float) as float;myLivingEntity.getSwimAmount(myFloat);
Parameters:
partialTicks: float
Type: float
Return Type:
float
// LivingEntity.getX(scale as double) as double;myLivingEntity.getX(myDouble);
Parameters:
scale: double
Type: double
Return Type:
double
// LivingEntity.getY(scale as double) as double;myLivingEntity.getY(myDouble);
Parameters:
scale: double
Type: double
Return Type:
double
// LivingEntity.getZ(scale as double) as double;myLivingEntity.getZ(myDouble);
Parameters:
scale: double
Type: double
Return Type:
double
myLivingEntity.hasAttachmentData<T>(myAttachmentType);
Parameters:
type: AttachmentType<T>
Type: AttachmentType<T>
Return Type:
bool
myLivingEntity.hasAttachmentData<T>(mySupplier);
Parameters:
type: Supplier<AttachmentType<T>>
Type: Supplier<AttachmentType<T>>
Return Type:
bool
// LivingEntity.hasCustomName as boolmyLivingEntity.hasCustomName
Return Type:
bool
// LivingEntity.hasCustomName as boolmyLivingEntity.hasCustomName
Return Type:
bool
// LivingEntity.hasCustomName() as bool;myLivingEntity.hasCustomName();
Return Type:
bool
// LivingEntity.hasCustomName() as bool;myLivingEntity.hasCustomName();
Return Type:
bool
// LivingEntity.hasExactlyOnePlayerPassenger as boolmyLivingEntity.hasExactlyOnePlayerPassenger
Return Type:
bool
// LivingEntity.hasExactlyOnePlayerPassenger() as bool;myLivingEntity.hasExactlyOnePlayerPassenger();
Return Type:
bool
// LivingEntity.hasGlowingTag as boolmyLivingEntity.hasGlowingTag
Return Type:
bool
// LivingEntity.hasGlowingTag() as bool;myLivingEntity.hasGlowingTag();
Return Type:
bool
myLivingEntity.hasItemInSlot(myEquipmentSlot);
Parameters:
slot: EquipmentSlot
Type: EquipmentSlot
Return Type:
bool
// LivingEntity.heal(amount as float);myLivingEntity.heal(myFloat);
Parameters:
amount: float
Type: float
// LivingEntity.health as floatmyLivingEntity.health
Return Type:
float
// LivingEntity.health() as float;myLivingEntity.health();
Return Type:
float
myLivingEntity.hurt(myDamageSource, myFloat);
Parameters:
source: DamageSource
Type: DamageSource
amount: float
Type: float
Return Type:
bool
// LivingEntity.id as intmyLivingEntity.id
Return Type:
int
// LivingEntity.id() as int;myLivingEntity.id();
Return Type:
int
// LivingEntity.inBlockState as BlockStatemyLivingEntity.inBlockState
Return Type:
BlockState
// LivingEntity.isAffectedByPotions as boolmyLivingEntity.isAffectedByPotions
Return Type:
bool
// LivingEntity.isAffectedByPotions() as bool;myLivingEntity.isAffectedByPotions();
Return Type:
bool
// LivingEntity.isAlive as boolmyLivingEntity.isAlive
Return Type:
bool
// LivingEntity.isAlive() as bool;myLivingEntity.isAlive();
Return Type:
bool
// LivingEntity.isAlwaysTicking as boolmyLivingEntity.isAlwaysTicking
Return Type:
bool
// LivingEntity.isAlwaysTicking() as bool;myLivingEntity.isAlwaysTicking();
Return Type:
bool
// LivingEntity.isAttackable as boolmyLivingEntity.isAttackable
Return Type:
bool
// LivingEntity.isAttackable() as bool;myLivingEntity.isAttackable();
Return Type:
bool
// LivingEntity.isAutoSpinAttack as boolmyLivingEntity.isAutoSpinAttack
Return Type:
bool
// LivingEntity.isAutoSpinAttack() as bool;myLivingEntity.isAutoSpinAttack();
Return Type:
bool
// LivingEntity.isBaby as boolmyLivingEntity.isBaby
Return Type:
bool
// LivingEntity.isBaby() as bool;myLivingEntity.isBaby();
Return Type:
bool
// LivingEntity.isBlocking as boolmyLivingEntity.isBlocking
Return Type:
bool
// LivingEntity.isBlocking() as bool;myLivingEntity.isBlocking();
Return Type:
bool
myLivingEntity.isColliding(myBlockPos, myBlockState);
Parameters:
state: BlockState
Type: BlockState
Return Type:
bool
// LivingEntity.isCrouching as boolmyLivingEntity.isCrouching
Return Type:
bool
// LivingEntity.isCrouching() as bool;myLivingEntity.isCrouching();
Return Type:
bool
// LivingEntity.isCurrentlyGlowing as boolmyLivingEntity.isCurrentlyGlowing
Return Type:
bool
// LivingEntity.isCurrentlyGlowing() as bool;myLivingEntity.isCurrentlyGlowing();
Return Type:
bool
// LivingEntity.isCustomNameVisible as boolmyLivingEntity.isCustomNameVisible
Return Type:
bool
// LivingEntity.isCustomNameVisible() as bool;myLivingEntity.isCustomNameVisible();
Return Type:
bool
myLivingEntity.isDamageSourceBlocked(myDamageSource);
Parameters:
source: DamageSource
Type: DamageSource
Return Type:
bool
// LivingEntity.isDeadOrDying as boolmyLivingEntity.isDeadOrDying
Return Type:
bool
// LivingEntity.isDeadOrDying() as bool;myLivingEntity.isDeadOrDying();
Return Type:
bool
// LivingEntity.isDescending as boolmyLivingEntity.isDescending
Return Type:
bool
// LivingEntity.isDescending() as bool;myLivingEntity.isDescending();
Return Type:
bool
// LivingEntity.isDiscrete as boolmyLivingEntity.isDiscrete
Return Type:
bool
// LivingEntity.isDiscrete() as bool;myLivingEntity.isDiscrete();
Return Type:
bool
// LivingEntity.isFallFlying as boolmyLivingEntity.isFallFlying
Return Type:
bool
// LivingEntity.isFallFlying() as bool;myLivingEntity.isFallFlying();
Return Type:
bool
// LivingEntity.isFree(x as double, y as double, z as double) as bool;myLivingEntity.isFree(myDouble, myDouble, myDouble);
Parameters:
x: double
Type: double
y: double
Type: double
z: double
Type: double
Return Type:
bool
// LivingEntity.isFullyFrozen as boolmyLivingEntity.isFullyFrozen
Return Type:
bool
// LivingEntity.isFullyFrozen() as bool;myLivingEntity.isFullyFrozen();
Return Type:
bool
myLivingEntity.isHolding(myItem);
Parameters:
item: ItemDefinition
Type: ItemDefinition
Return Type:
bool
// LivingEntity.isInLava as boolmyLivingEntity.isInLava
Return Type:
bool
// LivingEntity.isInLava() as bool;myLivingEntity.isInLava();
Return Type:
bool
// LivingEntity.isInvertedHealAndHarm as boolmyLivingEntity.isInvertedHealAndHarm
Return Type:
bool
// LivingEntity.isInvertedHealAndHarm() as bool;myLivingEntity.isInvertedHealAndHarm();
Return Type:
bool
// LivingEntity.isInvisible as boolmyLivingEntity.isInvisible
Return Type:
bool
// LivingEntity.isInvisible() as bool;myLivingEntity.isInvisible();
Return Type:
bool
// LivingEntity.isInvulnerable as boolmyLivingEntity.isInvulnerable
Return Type:
bool
// LivingEntity.isInvulnerable() as bool;myLivingEntity.isInvulnerable();
Return Type:
bool
myLivingEntity.isInvulnerableTo(myDamageSource);
Parameters:
source: DamageSource
Type: DamageSource
Return Type:
bool
// LivingEntity.isInWall as boolmyLivingEntity.isInWall
Return Type:
bool
// LivingEntity.isInWall() as bool;myLivingEntity.isInWall();
Return Type:
bool
// LivingEntity.isInWater as boolmyLivingEntity.isInWater
Return Type:
bool
// LivingEntity.isInWater() as bool;myLivingEntity.isInWater();
Return Type:
bool
// LivingEntity.isInWaterOrBubble as boolmyLivingEntity.isInWaterOrBubble
Return Type:
bool
// LivingEntity.isInWaterOrBubble() as bool;myLivingEntity.isInWaterOrBubble();
Return Type:
bool
// LivingEntity.isInWaterOrRain as boolmyLivingEntity.isInWaterOrRain
Return Type:
bool
// LivingEntity.isInWaterOrRain() as bool;myLivingEntity.isInWaterOrRain();
Return Type:
bool
// LivingEntity.isInWaterRainOrBubble as boolmyLivingEntity.isInWaterRainOrBubble
Return Type:
bool
// LivingEntity.isInWaterRainOrBubble() as bool;myLivingEntity.isInWaterRainOrBubble();
Return Type:
bool
// LivingEntity.isNoGravity as boolmyLivingEntity.isNoGravity
Return Type:
bool
// LivingEntity.isNoGravity() as bool;myLivingEntity.isNoGravity();
Return Type:
bool
// LivingEntity.isOnFire as boolmyLivingEntity.isOnFire
Return Type:
bool
// LivingEntity.isOnFire() as bool;myLivingEntity.isOnFire();
Return Type:
bool
// LivingEntity.isOnPortalCooldown as boolmyLivingEntity.isOnPortalCooldown
Return Type:
bool
// LivingEntity.isOnPortalCooldown() as bool;myLivingEntity.isOnPortalCooldown();
Return Type:
bool
// LivingEntity.isPassenger as boolmyLivingEntity.isPassenger
Return Type:
bool
// LivingEntity.isPassenger() as bool;myLivingEntity.isPassenger();
Return Type:
bool
// LivingEntity.isPickable as boolmyLivingEntity.isPickable
Return Type:
bool
// LivingEntity.isPickable() as bool;myLivingEntity.isPickable();
Return Type:
bool
// LivingEntity.isPushable as boolmyLivingEntity.isPushable
Return Type:
bool
// LivingEntity.isPushable() as bool;myLivingEntity.isPushable();
Return Type:
bool
// LivingEntity.isPushedByFluid as boolmyLivingEntity.isPushedByFluid
Return Type:
bool
// LivingEntity.isPushedByFluid() as bool;myLivingEntity.isPushedByFluid();
Return Type:
bool
// LivingEntity.isRemoved as boolmyLivingEntity.isRemoved
Return Type:
bool
// LivingEntity.isRemoved() as bool;myLivingEntity.isRemoved();
Return Type:
bool
// LivingEntity.isSensitiveToWater as boolmyLivingEntity.isSensitiveToWater
Return Type:
bool
// LivingEntity.isSensitiveToWater() as bool;myLivingEntity.isSensitiveToWater();
Return Type:
bool
// LivingEntity.isShiftKeyDown as boolmyLivingEntity.isShiftKeyDown
Return Type:
bool
// LivingEntity.isShiftKeyDown() as bool;myLivingEntity.isShiftKeyDown();
Return Type:
bool
// LivingEntity.isSilent as boolmyLivingEntity.isSilent
Return Type:
bool
// LivingEntity.isSilent() as bool;myLivingEntity.isSilent();
Return Type:
bool
// LivingEntity.isSleeping as boolmyLivingEntity.isSleeping
Return Type:
bool
// LivingEntity.isSleeping() as bool;myLivingEntity.isSleeping();
Return Type:
bool
// LivingEntity.isSpectator as boolmyLivingEntity.isSpectator
Return Type:
bool
// LivingEntity.isSpectator() as bool;myLivingEntity.isSpectator();
Return Type:
bool
// LivingEntity.isSprinting as boolmyLivingEntity.isSprinting
Return Type:
bool
// LivingEntity.isSprinting() as bool;myLivingEntity.isSprinting();
Return Type:
bool
// LivingEntity.isSteppingCarefully as boolmyLivingEntity.isSteppingCarefully
Return Type:
bool
// LivingEntity.isSteppingCarefully() as bool;myLivingEntity.isSteppingCarefully();
Return Type:
bool
// LivingEntity.isSuppressingBounce as boolmyLivingEntity.isSuppressingBounce
Return Type:
bool
// LivingEntity.isSuppressingBounce() as bool;myLivingEntity.isSuppressingBounce();
Return Type:
bool
// LivingEntity.isSuppressingSlidingDownLadder as boolmyLivingEntity.isSuppressingSlidingDownLadder
Return Type:
bool
// LivingEntity.isSuppressingSlidingDownLadder() as bool;myLivingEntity.isSuppressingSlidingDownLadder();
Return Type:
bool
// LivingEntity.isSwimming as boolmyLivingEntity.isSwimming
Return Type:
bool
// LivingEntity.isSwimming() as bool;myLivingEntity.isSwimming();
Return Type:
bool
// LivingEntity.isUnderWater as boolmyLivingEntity.isUnderWater
Return Type:
bool
// LivingEntity.isUnderWater() as bool;myLivingEntity.isUnderWater();
Return Type:
bool
// LivingEntity.isUsingItem as boolmyLivingEntity.isUsingItem
Return Type:
bool
// LivingEntity.isUsingItem() as bool;myLivingEntity.isUsingItem();
Return Type:
bool
// LivingEntity.isVehicle as boolmyLivingEntity.isVehicle
Return Type:
bool
// LivingEntity.isVehicle() as bool;myLivingEntity.isVehicle();
Return Type:
bool
// LivingEntity.isVisuallyCrawling as boolmyLivingEntity.isVisuallyCrawling
Return Type:
bool
// LivingEntity.isVisuallyCrawling() as bool;myLivingEntity.isVisuallyCrawling();
Return Type:
bool
// LivingEntity.isVisuallySwimming as boolmyLivingEntity.isVisuallySwimming
Return Type:
bool
// LivingEntity.isVisuallySwimming() as bool;myLivingEntity.isVisuallySwimming();
Return Type:
bool
// LivingEntity.jumpBoostPower as doublemyLivingEntity.jumpBoostPower
Return Type:
double
// LivingEntity.jumpBoostPower() as double;myLivingEntity.jumpBoostPower();
Return Type:
double
// LivingEntity.kill();myLivingEntity.kill();
// LivingEntity.killCredit as LivingEntitymyLivingEntity.killCredit
Return Type:
LivingEntity
// LivingEntity.knockback(x as double, y as double, z as double);myLivingEntity.knockback(myDouble, myDouble, myDouble);
Parameters:
x: double
Type: double
y: double
Type: double
z: double
Type: double
// LivingEntity.lastDamageSource as DamageSourcemyLivingEntity.lastDamageSource
Return Type:
DamageSource
// LivingEntity.lastHurtByMob as LivingEntitymyLivingEntity.lastHurtByMob
Return Type:
LivingEntity
// LivingEntity.lastHurtByMobTimestamp as intmyLivingEntity.lastHurtByMobTimestamp
Return Type:
int
// LivingEntity.lastHurtByMobTimestamp() as int;myLivingEntity.lastHurtByMobTimestamp();
Return Type:
int
// LivingEntity.lastHurtMob as LivingEntitymyLivingEntity.lastHurtMob
Return Type:
LivingEntity
// LivingEntity.lastHurtMobTimestamp as intmyLivingEntity.lastHurtMobTimestamp
Return Type:
int
// LivingEntity.lastHurtMobTimestamp() as int;myLivingEntity.lastHurtMobTimestamp();
Return Type:
int
// LivingEntity.lavaHurt();myLivingEntity.lavaHurt();
// LivingEntity.lootTable as ResourceLocationmyLivingEntity.lootTable
Return Type:
ResourceLocation
// LivingEntity.lootTableSeed as longmyLivingEntity.lootTableSeed
Return Type:
long
// LivingEntity.mainArm as HumanoidArmmyLivingEntity.mainArm
Return Type:
HumanoidArm
// LivingEntity.maxAirSupply as intmyLivingEntity.maxAirSupply
Return Type:
int
// LivingEntity.maxAirSupply() as int;myLivingEntity.maxAirSupply();
Return Type:
int
// LivingEntity.maxFallDistance as intmyLivingEntity.maxFallDistance
Return Type:
int
// LivingEntity.maxFallDistance() as int;myLivingEntity.maxFallDistance();
Return Type:
int
// LivingEntity.maxHealth as floatmyLivingEntity.maxHealth
Return Type:
float
// LivingEntity.maxHealth() as float;myLivingEntity.maxHealth();
Return Type:
float
// LivingEntity.moveTo(x as double, y as double, z as double);myLivingEntity.moveTo(myDouble, myDouble, myDouble);
Parameters:
x: double
Type: double
y: double
Type: double
z: double
Type: double
// LivingEntity.moveTo(x as double, y as double, z as double, yaw as float, pitch as float);myLivingEntity.moveTo(myDouble, myDouble, myDouble, myFloat, myFloat);
Parameters:
x: double
Type: double
y: double
Type: double
z: double
Type: double
yaw: float
Type: float
pitch: float
Type: float
// LivingEntity.noActionTime as intmyLivingEntity.noActionTime
Return Type:
int
// LivingEntity.noActionTime() as int;myLivingEntity.noActionTime();
Return Type:
int
// LivingEntity.onGround as boolmyLivingEntity.onGround
Return Type:
bool
// LivingEntity.percentFrozen as floatmyLivingEntity.percentFrozen
Return Type:
float
// LivingEntity.percentFrozen() as float;myLivingEntity.percentFrozen();
Return Type:
float
// LivingEntity.pistonPushReaction as PushReactionmyLivingEntity.pistonPushReaction
Return Type:
PushReaction
myLivingEntity.playSound(mySoundEvent, myFloat, myFloat);
Parameters:
// LivingEntity.random as RandomSourcemyLivingEntity.random
Return Type:
RandomSource
// LivingEntity.registryName as ResourceLocationmyLivingEntity.registryName
Return Type:
ResourceLocation
// LivingEntity.releaseUsingItem();myLivingEntity.releaseUsingItem();
// LivingEntity.removeAllEffects() as bool;myLivingEntity.removeAllEffects();
Return Type:
bool
myLivingEntity.removeEffectNoUpdate(myMobEffect);
Return Type:
MobEffectInstance
// LivingEntity.removeTag(tagName as string) as bool;myLivingEntity.removeTag(myString);
Parameters:
tagName: string
Type: string
Return Type:
bool
// LivingEntity.removeVehicle();myLivingEntity.removeVehicle();
// LivingEntity.scale as floatmyLivingEntity.scale
Return Type:
float
// LivingEntity.scale() as float;myLivingEntity.scale();
Return Type:
float
// LivingEntity.setAbsorptionAmount(absorption as float);myLivingEntity.setAbsorptionAmount(myFloat);
Parameters:
absorption: float
Type: float
// LivingEntity.setAirSupply(air as int);myLivingEntity.setAirSupply(myInt);
Parameters:
air: int
Type: int
// LivingEntity.setArrowCount(count as int);myLivingEntity.setArrowCount(myInt);
Parameters:
count: int
Type: int
myLivingEntity.setAttachmentData<T>(myAttachmentType, myT);
Parameters:
type: AttachmentType<T>
Type: AttachmentType<T>
data: T
Type: T
Return Type:
T?
myLivingEntity.setAttachmentData<T>(mySupplier, myT);
Parameters:
type: Supplier<AttachmentType<T>>
Type: Supplier<AttachmentType<T>>
data: T
Type: T
Return Type:
T?
// LivingEntity.setCustomNameVisible(visible as bool);myLivingEntity.setCustomNameVisible(myBool);
Parameters:
visible: bool
Type: bool
// LivingEntity.setDeltaMovement(xDelta as double, yDelta as double, zDelta as double);myLivingEntity.setDeltaMovement(myDouble, myDouble, myDouble);
Parameters:
xDelta: double
Type: double
yDelta: double
Type: double
zDelta: double
Type: double
// LivingEntity.setDiscardFriction(discardFriction as bool);myLivingEntity.setDiscardFriction(myBool);
Parameters:
discardFriction: bool
Type: bool
// LivingEntity.setGlowingTag(glowing as bool);myLivingEntity.setGlowingTag(myBool);
Parameters:
glowing: bool
Type: bool
// LivingEntity.setHealth(health as float);myLivingEntity.setHealth(myFloat);
Parameters:
health: float
Type: float
// LivingEntity.setInvisible(invisible as bool);myLivingEntity.setInvisible(myBool);
Parameters:
invisible: bool
Type: bool
// LivingEntity.setInvulnerable(invulnerable as bool);myLivingEntity.setInvulnerable(myBool);
Parameters:
invulnerable: bool
Type: bool
// LivingEntity.setIsInPowderSnow(inPowderSnow as bool);myLivingEntity.setIsInPowderSnow(myBool);
Parameters:
inPowderSnow: bool
Type: bool
myLivingEntity.setItemInHand(myInteractionHand, myItemStack);
Parameters:
hand: InteractionHand
Type: InteractionHand
myLivingEntity.setItemSlot(myEquipmentSlot, myItemStack);
Parameters:
slot: EquipmentSlot
Type: EquipmentSlot
// LivingEntity.setJumping(jumping as bool);myLivingEntity.setJumping(myBool);
Parameters:
jumping: bool
Type: bool
myLivingEntity.setLastHurtByMob(myLivingEntity);
Parameters:
entity: LivingEntity
Type: LivingEntity
// LivingEntity.setNoActionTime(idleTime as int);myLivingEntity.setNoActionTime(myInt);
Parameters:
idleTime: int
Type: int
// LivingEntity.setNoGravity(noGravity as bool);myLivingEntity.setNoGravity(myBool);
Parameters:
noGravity: bool
Type: bool
// LivingEntity.setOldPosAndRot();myLivingEntity.setOldPosAndRot();
// LivingEntity.setOnGround(onGround as bool);myLivingEntity.setOnGround(myBool);
Parameters:
onGround: bool
Type: bool
// LivingEntity.setPortalCooldown();myLivingEntity.setPortalCooldown();
// LivingEntity.setPos(x as double, y as double, z as double);myLivingEntity.setPos(myDouble, myDouble, myDouble);
Parameters:
x: double
Type: double
y: double
Type: double
z: double
Type: double
// LivingEntity.setPosRaw(x as double, y as double, z as double);myLivingEntity.setPosRaw(myDouble, myDouble, myDouble);
Parameters:
x: double
Type: double
y: double
Type: double
z: double
Type: double
myLivingEntity.setRemoved(myRemovalReason);
Parameters:
var1: RemovalReason
Type: RemovalReason
// LivingEntity.setShiftKeyDown(keyDown as bool);myLivingEntity.setShiftKeyDown(myBool);
Parameters:
keyDown: bool
Type: bool
// LivingEntity.setSilent(silent as bool);myLivingEntity.setSilent(myBool);
Parameters:
silent: bool
Type: bool
// LivingEntity.setSpeed(speed as float);myLivingEntity.setSpeed(myFloat);
Parameters:
speed: float
Type: float
// LivingEntity.setSprinting(sprinting as bool);myLivingEntity.setSprinting(myBool);
Parameters:
sprinting: bool
Type: bool
// LivingEntity.setStingerCount(count as int);myLivingEntity.setStingerCount(myInt);
Parameters:
count: int
Type: int
// LivingEntity.setSwimming(swimming as bool);myLivingEntity.setSwimming(myBool);
Parameters:
swimming: bool
Type: bool
// LivingEntity.setTicksFrozen(ticks as int);myLivingEntity.setTicksFrozen(myInt);
Parameters:
ticks: int
Type: int
// LivingEntity.shouldBeSaved as boolmyLivingEntity.shouldBeSaved
Return Type:
bool
// LivingEntity.shouldBeSaved() as bool;myLivingEntity.shouldBeSaved();
Return Type:
bool
// LivingEntity.shouldDiscardFriction as boolmyLivingEntity.shouldDiscardFriction
Return Type:
bool
// LivingEntity.shouldDiscardFriction() as bool;myLivingEntity.shouldDiscardFriction();
Return Type:
bool
// LivingEntity.shouldInformAdmins as boolmyLivingEntity.shouldInformAdmins
Return Type:
bool
// LivingEntity.shouldInformAdmins() as bool;myLivingEntity.shouldInformAdmins();
Return Type:
bool
// LivingEntity.shouldShowName as boolmyLivingEntity.shouldShowName
Return Type:
bool
// LivingEntity.shouldShowName() as bool;myLivingEntity.shouldShowName();
Return Type:
bool
// LivingEntity.showVehicleHealth as boolmyLivingEntity.showVehicleHealth
Return Type:
bool
// LivingEntity.showVehicleHealth() as bool;myLivingEntity.showVehicleHealth();
Return Type:
bool
// LivingEntity.soundSource as SoundSourcemyLivingEntity.soundSource
Return Type:
SoundSource
// LivingEntity.speed as floatmyLivingEntity.speed
Return Type:
float
// LivingEntity.speed() as float;myLivingEntity.speed();
Return Type:
float
myLivingEntity.startUsingItem(myInteractionHand);
Parameters:
param0: InteractionHand
Type: InteractionHand
// LivingEntity.stingerCount as intmyLivingEntity.stingerCount
Return Type:
int
// LivingEntity.stingerCount() as int;myLivingEntity.stingerCount();
Return Type:
int
// LivingEntity.stopRiding();myLivingEntity.stopRiding();
// LivingEntity.stopSleeping();myLivingEntity.stopSleeping();
// LivingEntity.stopUsingItem();myLivingEntity.stopUsingItem();
// LivingEntity.stringUUID as stringmyLivingEntity.stringUUID
Return Type:
string
// LivingEntity.stringUUID() as string;myLivingEntity.stringUUID();
Return Type:
string
myLivingEntity.swing(myInteractionHand);
Parameters:
hand: InteractionHand
Type: InteractionHand
myLivingEntity.swing(myInteractionHand, myBool);
Parameters:
hand: InteractionHand
Type: InteractionHand
updateSelf: bool
Type: bool
// LivingEntity.tags as Set<string>myLivingEntity.tags
Return Type:
Set<string>
// LivingEntity.tags() as Set<string>;myLivingEntity.tags();
Return Type:
Set<string>
// LivingEntity.teamColor as intmyLivingEntity.teamColor
Return Type:
int
// LivingEntity.teamColor() as int;myLivingEntity.teamColor();
Return Type:
int
// LivingEntity.teleportTo(x as double, y as double, z as double);myLivingEntity.teleportTo(myDouble, myDouble, myDouble);
Parameters:
x: double
Type: double
y: double
Type: double
z: double
Type: double
// LivingEntity.ticksFrozen as intmyLivingEntity.ticksFrozen
Return Type:
int
// LivingEntity.ticksFrozen() as int;myLivingEntity.ticksFrozen();
Return Type:
int
// LivingEntity.ticksRequiredToFreeze as intmyLivingEntity.ticksRequiredToFreeze
Return Type:
int
// LivingEntity.ticksRequiredToFreeze() as int;myLivingEntity.ticksRequiredToFreeze();
Return Type:
int
// LivingEntity.ticksUsingItem as intmyLivingEntity.ticksUsingItem
Return Type:
int
// LivingEntity.ticksUsingItem() as int;myLivingEntity.ticksUsingItem();
Return Type:
int
// LivingEntity.turn(yaw as double, pitch as double);myLivingEntity.turn(myDouble, myDouble);
Parameters:
yaw: double
Type: double
pitch: double
Type: double
myLivingEntity.type
Return Type:
EntityType<Entity>
// LivingEntity.unRide();myLivingEntity.unRide();
// LivingEntity.usedItemHand as InteractionHandmyLivingEntity.usedItemHand
Return Type:
InteractionHand
// LivingEntity.useItemRemainingTicks as intmyLivingEntity.useItemRemainingTicks
Return Type:
int
// LivingEntity.useItemRemainingTicks() as int;myLivingEntity.useItemRemainingTicks();
Return Type:
int
// LivingEntity.uuid as UUIDmyLivingEntity.uuid
Return Type:
UUID
// LivingEntity.uuid() as UUID;myLivingEntity.uuid();
Return Type:
UUID
// LivingEntity.voicePitch as floatmyLivingEntity.voicePitch
Return Type:
float
// LivingEntity.voicePitch() as float;myLivingEntity.voicePitch();
Return Type:
float
// LivingEntity.x as doublemyLivingEntity.x
Return Type:
double
// LivingEntity.x() as double;myLivingEntity.x();
Return Type:
double
// LivingEntity.y as doublemyLivingEntity.y
Return Type:
double
// LivingEntity.y() as double;myLivingEntity.y();
Return Type:
double
// LivingEntity.z as doublemyLivingEntity.z
Return Type:
double
// LivingEntity.z() as double;myLivingEntity.z();
Return Type:
double