Class MobEntity
- All Implemented Interfaces:
CommandOutput
,Nameable
,EntityLike
- Direct Known Subclasses:
AmbientEntity
,EnderDragonEntity
,FlyingEntity
,PathAwareEntity
,SlimeEntity
- Mappings:
Namespace Name official bbh
intermediary net/minecraft/class_1308
named net/minecraft/entity/mob/MobEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.LivingEntity
LivingEntity.FallSounds
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
int
protected final float[]
private final DefaultedList<ItemStack>
private static final int
static final float
The base chance (before applying difficulty) that a mob's equipped armor can become enchanted.static final float
The base chance (before applying difficulty) that a mob's equipped item can become enchanted.static final float
The base chance (before applying local difficulty) that this mob will spawn with equipment.private final BodyControl
private boolean
static final float
Used by Zombies to control the chance that they spawn with the ability to pick up loot.static final float
protected int
static final int
static final int
protected final GoalSelector
Contains actions the entity can perform.protected final float[]
private final DefaultedList<ItemStack>
private int
private static final Vec3i
protected JumpControl
static final String
private @Nullable NbtCompound
private static final int
protected LookControl
private @Nullable Identifier
private long
protected static final int
The minimum additional experience a mob will drop per item of equipment they have.private static final TrackedData<Byte>
protected MoveControl
protected EntityNavigation
private final Map<PathNodeType,
Float> private boolean
private BlockPos
private float
private @Nullable LivingEntity
protected final GoalSelector
Contains goals used to select this entity's target.private final MobVisibilityCache
Fields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, airStrafingSpeed, attackingPlayer, BABY_SCALE_FACTOR, bodyTrackingIncrements, bodyYaw, brain, dead, DEATH_TICKS, deathTime, defaultMaxHealth, despawnCounter, EQUIPMENT_SLOT_ID, field_30063, field_30067, field_30069, field_30070, field_30072, field_30074, field_30075, field_6215, forwardSpeed, GLOWING_FLAG, GRAVITY, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, knockbackVelocity, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, lastLimbDistance, limbAngle, limbDistance, LIVING_FLAGS, lookDirection, maxHurtTime, OFF_HAND_ACTIVE_FLAG, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, roll, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, stuckArrowTimer, stuckStingerTimer, upwardSpeed, USING_ITEM_FLAG, USING_RIPTIDE_FLAG
Fields inherited from class net.minecraft.entity.Entity
age, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_29991, field_36331, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inNetherPortal, inPowderSnow, intersectionChecked, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, MAX_RIDING_COOLDOWN, MAX_SCOREBOARD_TAGS, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, onGround, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, stepHeight, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, VELOCITY_AFFECTING_POS_Y_OFFSET, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, world
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
ModifierConstructorDescriptionprotected
MobEntity
(EntityType<? extends MobEntity> type, World world) -
Method Summary
Modifier and TypeMethodDescriptionvoid
attachLeash
(Entity entity, boolean sendPacket) void
baseTick()
boolean
canBeLeashedBy
(PlayerEntity player) boolean
boolean
boolean
canImmediatelyDespawn
(double distanceSquared) boolean
Returns if this entity can jump to the next node in path given the type of the node.static boolean
canMobSpawn
(EntityType<? extends MobEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) boolean
boolean
boolean
canPickupItem
(ItemStack stack) boolean
boolean
canSpawn
(WorldAccess world, SpawnReason spawnReason) boolean
boolean
canTarget
(EntityType<?> type) boolean
canUseRangedWeapon
(RangedWeaponItem weapon) private float
changeAngle
(float from, float to, float max) Changes the angle fromfrom
toto
, or bymax
degrees ifto
is too big a change.void
void
void
<T extends MobEntity>
TconvertTo
(EntityType<T> entityType, boolean keepEquipment) Converts this entity to the providedentityType
.protected BodyControl
protected EntityNavigation
createNavigation
(World world) void
detachLeash
(boolean sendPacket, boolean dropItem) private void
disablePlayerShield
(PlayerEntity player, ItemStack mobStack, ItemStack playerStack) protected void
dropEquipment
(DamageSource source, int lootingMultiplier, boolean allowDrops) protected void
dropLoot
(DamageSource source, boolean causedByPlayer) protected void
enchantEquipment
(Random random, float power, EquipmentSlot slot) protected void
enchantMainHandItem
(Random random, float power) protected void
equipLootStack
(EquipmentSlot slot, ItemStack stack) void
equipStack
(EquipmentSlot slot, ItemStack stack) protected @Nullable SoundEvent
protected float
getDropChance
(EquipmentSlot slot) getEquipmentForSlot
(EquipmentSlot equipmentSlot, int equipmentLevel) protected Vec3i
int
protected LootContext.Builder
getLootContextBuilder
(boolean causedByPlayer, DamageSource source) final Identifier
protected Identifier
int
Returns the maximum degrees which the head yaw can differ from the body yaw.int
Returns the maximum degrees which the pitch can change when looking.int
Returns the maximum degrees which the yaw can change when looking.int
float
getPathfindingPenalty
(PathNodeType nodeType) float
int
int
Called when this entity is killed and returns the amount of experience to drop.void
handleStatus
(byte status) boolean
protected void
protected void
initEquipment
(Random random, LocalDifficulty localDifficulty) protected void
initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) final ActionResult
interact
(PlayerEntity player, Hand hand) Called when a player interacts with this entity.protected ActionResult
interactMob
(PlayerEntity player, Hand hand) private ActionResult
interactWithItem
(PlayerEntity player, Hand hand) protected boolean
boolean
boolean
protected boolean
boolean
isInAttackRange
(LivingEntity entity) boolean
boolean
boolean
boolean
boolean
boolean
void
lookAtEntity
(Entity targetEntity, float maxYawChange, float maxPitchChange) protected void
loot
(ItemEntity item) protected void
mobTick()
protected boolean
When true, causes this entity to take over pathfinding for its controlling passenger.void
protected void
onPlayerSpawnedChild
(PlayerEntity player, MobEntity child) void
protected void
playHurtSound
(DamageSource source) void
boolean
prefersNewDamageableItem
(ItemStack newStack, ItemStack oldStack) protected boolean
prefersNewEquipment
(ItemStack newStack, ItemStack oldStack) void
private void
protected void
private void
protected void
void
setAiDisabled
(boolean aiDisabled) void
setAttacking
(boolean attacking) void
setBaby
(boolean baby) void
setCanPickUpLoot
(boolean canPickUpLoot) void
setEquipmentDropChance
(EquipmentSlot slot, float chance) void
setForwardSpeed
(float forwardSpeed) void
setHoldingEntityId
(int id) void
setLeftHanded
(boolean leftHanded) void
setMovementSpeed
(float movementSpeed) void
setPathfindingPenalty
(PathNodeType nodeType, float penalty) void
void
setPositionTarget
(BlockPos target, int range) void
setSidewaysSpeed
(float sidewaysSpeed) void
setTarget
(@Nullable LivingEntity target) void
setUpwardSpeed
(float upwardSpeed) boolean
spawnsTooManyForEachTry
(int count) double
squaredAttackRange
(LivingEntity target) boolean
startRiding
(Entity entity, boolean force) protected void
swimUpward
(TagKey<Fluid> fluid) void
tick()
void
protected final void
boolean
boolean
protected float
turnHead
(float bodyRotation, float headRotation) void
protected void
updateEnchantments
(Random random, LocalDifficulty localDifficulty) protected void
protected void
void
Methods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyEnchantmentsToDamage, applyFluidMovingSpeed, applyMovementEffects, applyMovementInput, attackLivingEntity, blockedByShield, canBeRiddenInWater, canBreatheInWater, canFreeze, canHaveStatusEffect, canSee, canTakeDamage, canTarget, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, collides, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, createSpawnPacket, damage, damageArmor, damageHelmet, damageShield, deserializeBrain, disableExperienceDropping, disablesShield, displaySoulSpeedEffects, drop, dropInventory, dropXp, eatFood, endCombat, enterCombat, fall, getAbsorptionAmount, getActiveEyeHeight, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getArrowType, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getDamageTracker, getDeathSound, getDespawnCounter, getDimensions, getDrinkSound, getEatSound, getEyeHeight, getFallSounds, getGroup, getHandSwingProgress, getHeadYaw, getHealth, getHurtSound, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getLastAttackedTime, getLastAttackTime, getLeaningPitch, getMainHandStack, getMaxHealth, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getRandom, getRecentDamageSource, getRoll, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getSoundVolume, getStackInHand, getStackReference, getStatusEffect, getStatusEffects, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, handleFallDamage, hasNoDrag, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isArmorSlot, isBaby, isBlocking, isClimbing, isDead, isExperienceDroppingDisabled, isFallFlying, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isPartOfGame, isPushable, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lookAt, markEffectsDirty, onAttacking, onDeath, onEquipStack, onKilledBy, onSpawnPacket, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, onTrackedDataSet, playBlockFallSound, playEquipSound, positionInPortal, positionInPortal, processEquippedStack, pushAway, pushAwayFrom, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacker, setAttacking, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setNoDrag, setOnGround, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldDropXp, shouldRemoveSoulSpeedBoost, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickCramming, tickHandSwing, tickInVoid, tickItemStackUsage, tickRiding, tickRiptide, tickStatusEffects, travel, triggerItemPickedUpByEntityCriteria, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUp
Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyDamageEffects, applyMirror, applyRotation, asMessageSender, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, getAir, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHeightOffset, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLeashPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMoveEffect, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPitch, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getX, getY, getYaw, getZ, handleAttack, hasCollidedSoftly, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasPrimaryPassenger, hasVehicle, hasWings, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFrozen, isGlowingLocal, isImmuneToExplosion, isInLava, isInPose, isInRange, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isOnFire, isOnGround, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, method_44329, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playExtinguishSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetNetherPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendMessage, setAir, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setId, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPitch, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setYaw, shouldBroadcastConsoleToOps, shouldEscapePowderSnow, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickNetherPortal, tickNetherPortalCooldown, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbt
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilenced
-
Field Details
-
MOB_FLAGS
- Mappings:
Namespace Name Mixin selector official b
Lbbh;b:Lzr;
intermediary field_6193
Lnet/minecraft/class_1308;field_6193:Lnet/minecraft/class_2940;
named MOB_FLAGS
Lnet/minecraft/entity/mob/MobEntity;MOB_FLAGS:Lnet/minecraft/entity/data/TrackedData;
-
AI_DISABLED_FLAG
private static final int AI_DISABLED_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lbbh;c:I
intermediary field_30088
Lnet/minecraft/class_1308;field_30088:I
named AI_DISABLED_FLAG
Lnet/minecraft/entity/mob/MobEntity;AI_DISABLED_FLAG:I
-
LEFT_HANDED_FLAG
private static final int LEFT_HANDED_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lbbh;d:I
intermediary field_30089
Lnet/minecraft/class_1308;field_30089:I
named LEFT_HANDED_FLAG
Lnet/minecraft/entity/mob/MobEntity;LEFT_HANDED_FLAG:I
-
ATTACKING_FLAG
private static final int ATTACKING_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official e
Lbbh;e:I
intermediary field_30090
Lnet/minecraft/class_1308;field_30090:I
named ATTACKING_FLAG
Lnet/minecraft/entity/mob/MobEntity;ATTACKING_FLAG:I
-
MINIMUM_DROPPED_XP_PER_EQUIPMENT
protected static final int MINIMUM_DROPPED_XP_PER_EQUIPMENTThe minimum additional experience a mob will drop per item of equipment they have.- See Also:
- Mappings:
Namespace Name Mixin selector official f
Lbbh;f:I
intermediary field_30087
Lnet/minecraft/class_1308;field_30087:I
named MINIMUM_DROPPED_XP_PER_EQUIPMENT
Lnet/minecraft/entity/mob/MobEntity;MINIMUM_DROPPED_XP_PER_EQUIPMENT:I
-
ITEM_PICK_UP_RANGE_EXPANDER
- Mappings:
Namespace Name Mixin selector official bW
Lbbh;bW:Lhs;
intermediary field_38386
Lnet/minecraft/class_1308;field_38386:Lnet/minecraft/class_2382;
named ITEM_PICK_UP_RANGE_EXPANDER
Lnet/minecraft/entity/mob/MobEntity;ITEM_PICK_UP_RANGE_EXPANDER:Lnet/minecraft/util/math/Vec3i;
-
BASE_SPAWN_EQUIPMENT_CHANCE
public static final float BASE_SPAWN_EQUIPMENT_CHANCEThe base chance (before applying local difficulty) that this mob will spawn with equipment.- See Also:
- Mappings:
Namespace Name Mixin selector official bE
Lbbh;bE:F
intermediary field_30091
Lnet/minecraft/class_1308;field_30091:F
named BASE_SPAWN_EQUIPMENT_CHANCE
Lnet/minecraft/entity/mob/MobEntity;BASE_SPAWN_EQUIPMENT_CHANCE:F
-
DEFAULT_CAN_PICKUP_LOOT_CHANCE
public static final float DEFAULT_CAN_PICKUP_LOOT_CHANCEUsed by Zombies to control the chance that they spawn with the ability to pick up loot.- See Also:
- Mappings:
Namespace Name Mixin selector official bF
Lbbh;bF:F
intermediary field_30083
Lnet/minecraft/class_1308;field_30083:F
named DEFAULT_CAN_PICKUP_LOOT_CHANCE
Lnet/minecraft/entity/mob/MobEntity;DEFAULT_CAN_PICKUP_LOOT_CHANCE:F
-
BASE_ENCHANTED_ARMOR_CHANCE
public static final float BASE_ENCHANTED_ARMOR_CHANCEThe base chance (before applying difficulty) that a mob's equipped armor can become enchanted.- See Also:
- Mappings:
Namespace Name Mixin selector official bG
Lbbh;bG:F
intermediary field_30084
Lnet/minecraft/class_1308;field_30084:F
named BASE_ENCHANTED_ARMOR_CHANCE
Lnet/minecraft/entity/mob/MobEntity;BASE_ENCHANTED_ARMOR_CHANCE:F
-
BASE_ENCHANTED_MAIN_HAND_EQUIPMENT_CHANCE
public static final float BASE_ENCHANTED_MAIN_HAND_EQUIPMENT_CHANCEThe base chance (before applying difficulty) that a mob's equipped item can become enchanted.- See Also:
- Mappings:
Namespace Name Mixin selector official bH
Lbbh;bH:F
intermediary field_30085
Lnet/minecraft/class_1308;field_30085:F
named BASE_ENCHANTED_MAIN_HAND_EQUIPMENT_CHANCE
Lnet/minecraft/entity/mob/MobEntity;BASE_ENCHANTED_MAIN_HAND_EQUIPMENT_CHANCE:F
-
LEASH_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official bI
Lbbh;bI:Ljava/lang/String;
intermediary field_30086
Lnet/minecraft/class_1308;field_30086:Ljava/lang/String;
named LEASH_KEY
Lnet/minecraft/entity/mob/MobEntity;LEASH_KEY:Ljava/lang/String;
-
DEFAULT_DROP_CHANCE
public static final float DEFAULT_DROP_CHANCE- See Also:
- Mappings:
Namespace Name Mixin selector official bJ
Lbbh;bJ:F
intermediary field_34043
Lnet/minecraft/class_1308;field_34043:F
named DEFAULT_DROP_CHANCE
Lnet/minecraft/entity/mob/MobEntity;DEFAULT_DROP_CHANCE:F
-
field_38932
public static final int field_38932- See Also:
- Mappings:
Namespace Name Mixin selector official bK
Lbbh;bK:I
intermediary field_38932
Lnet/minecraft/class_1308;field_38932:I
named field_38932
Lnet/minecraft/entity/mob/MobEntity;field_38932:I
-
field_35039
public static final int field_35039- See Also:
- Mappings:
Namespace Name Mixin selector official bL
Lbbh;bL:I
intermediary field_35039
Lnet/minecraft/class_1308;field_35039:I
named field_35039
Lnet/minecraft/entity/mob/MobEntity;field_35039:I
-
ambientSoundChance
public int ambientSoundChance- Mappings:
Namespace Name Mixin selector official bM
Lbbh;bM:I
intermediary field_6191
Lnet/minecraft/class_1308;field_6191:I
named ambientSoundChance
Lnet/minecraft/entity/mob/MobEntity;ambientSoundChance:I
-
experiencePoints
protected int experiencePoints- Mappings:
Namespace Name Mixin selector official bN
Lbbh;bN:I
intermediary field_6194
Lnet/minecraft/class_1308;field_6194:I
named experiencePoints
Lnet/minecraft/entity/mob/MobEntity;experiencePoints:I
-
lookControl
- Mappings:
Namespace Name Mixin selector official bO
Lbbh;bO:Lbgu;
intermediary field_6206
Lnet/minecraft/class_1308;field_6206:Lnet/minecraft/class_1333;
named lookControl
Lnet/minecraft/entity/mob/MobEntity;lookControl:Lnet/minecraft/entity/ai/control/LookControl;
-
moveControl
- Mappings:
Namespace Name Mixin selector official bP
Lbbh;bP:Lbgv;
intermediary field_6207
Lnet/minecraft/class_1308;field_6207:Lnet/minecraft/class_1335;
named moveControl
Lnet/minecraft/entity/mob/MobEntity;moveControl:Lnet/minecraft/entity/ai/control/MoveControl;
-
jumpControl
- Mappings:
Namespace Name Mixin selector official bQ
Lbbh;bQ:Lbgt;
intermediary field_6204
Lnet/minecraft/class_1308;field_6204:Lnet/minecraft/class_1334;
named jumpControl
Lnet/minecraft/entity/mob/MobEntity;jumpControl:Lnet/minecraft/entity/ai/control/JumpControl;
-
bodyControl
- Mappings:
Namespace Name Mixin selector official bX
Lbbh;bX:Lbgq;
intermediary field_6188
Lnet/minecraft/class_1308;field_6188:Lnet/minecraft/class_1330;
named bodyControl
Lnet/minecraft/entity/mob/MobEntity;bodyControl:Lnet/minecraft/entity/ai/control/BodyControl;
-
goalSelector
Contains actions the entity can perform. These may consume, for example, the target entity as determined during thetargetSelector
's execution.- Mappings:
Namespace Name Mixin selector official bS
Lbbh;bS:Lbht;
intermediary field_6201
Lnet/minecraft/class_1308;field_6201:Lnet/minecraft/class_1355;
named goalSelector
Lnet/minecraft/entity/mob/MobEntity;goalSelector:Lnet/minecraft/entity/ai/goal/GoalSelector;
-
targetSelector
Contains goals used to select this entity's target. Actions in this queue are executed first so the selected target is available to the rest of the AI's goals.- Mappings:
Namespace Name Mixin selector official bT
Lbbh;bT:Lbht;
intermediary field_6185
Lnet/minecraft/class_1308;field_6185:Lnet/minecraft/class_1355;
named targetSelector
Lnet/minecraft/entity/mob/MobEntity;targetSelector:Lnet/minecraft/entity/ai/goal/GoalSelector;
-
target
- Mappings:
Namespace Name Mixin selector official bY
Lbbh;bY:Lbbf;
intermediary field_6199
Lnet/minecraft/class_1308;field_6199:Lnet/minecraft/class_1309;
named target
Lnet/minecraft/entity/mob/MobEntity;target:Lnet/minecraft/entity/LivingEntity;
-
visibilityCache
- Mappings:
Namespace Name Mixin selector official bZ
Lbbh;bZ:Lbla;
intermediary field_6190
Lnet/minecraft/class_1308;field_6190:Lnet/minecraft/class_1413;
named visibilityCache
Lnet/minecraft/entity/mob/MobEntity;visibilityCache:Lnet/minecraft/entity/mob/MobVisibilityCache;
-
handItems
- Mappings:
Namespace Name Mixin selector official ca
Lbbh;ca:Lhi;
intermediary field_6195
Lnet/minecraft/class_1308;field_6195:Lnet/minecraft/class_2371;
named handItems
Lnet/minecraft/entity/mob/MobEntity;handItems:Lnet/minecraft/util/collection/DefaultedList;
-
handDropChances
protected final float[] handDropChances- Mappings:
Namespace Name Mixin selector official bU
Lbbh;bU:[F
intermediary field_6187
Lnet/minecraft/class_1308;field_6187:[F
named handDropChances
Lnet/minecraft/entity/mob/MobEntity;handDropChances:[F
-
armorItems
- Mappings:
Namespace Name Mixin selector official cb
Lbbh;cb:Lhi;
intermediary field_6205
Lnet/minecraft/class_1308;field_6205:Lnet/minecraft/class_2371;
named armorItems
Lnet/minecraft/entity/mob/MobEntity;armorItems:Lnet/minecraft/util/collection/DefaultedList;
-
armorDropChances
protected final float[] armorDropChances- Mappings:
Namespace Name Mixin selector official bV
Lbbh;bV:[F
intermediary field_6186
Lnet/minecraft/class_1308;field_6186:[F
named armorDropChances
Lnet/minecraft/entity/mob/MobEntity;armorDropChances:[F
-
canPickUpLoot
private boolean canPickUpLoot- Mappings:
Namespace Name Mixin selector official cc
Lbbh;cc:Z
intermediary field_6203
Lnet/minecraft/class_1308;field_6203:Z
named canPickUpLoot
Lnet/minecraft/entity/mob/MobEntity;canPickUpLoot:Z
-
persistent
private boolean persistent- Mappings:
Namespace Name Mixin selector official cd
Lbbh;cd:Z
intermediary field_6200
Lnet/minecraft/class_1308;field_6200:Z
named persistent
Lnet/minecraft/entity/mob/MobEntity;persistent:Z
-
pathfindingPenalties
- Mappings:
Namespace Name Mixin selector official ce
Lbbh;ce:Ljava/util/Map;
intermediary field_6196
Lnet/minecraft/class_1308;field_6196:Ljava/util/Map;
named pathfindingPenalties
Lnet/minecraft/entity/mob/MobEntity;pathfindingPenalties:Ljava/util/Map;
-
lootTable
- Mappings:
Namespace Name Mixin selector official cf
Lbbh;cf:Laaj;
intermediary field_6198
Lnet/minecraft/class_1308;field_6198:Lnet/minecraft/class_2960;
named lootTable
Lnet/minecraft/entity/mob/MobEntity;lootTable:Lnet/minecraft/util/Identifier;
-
lootTableSeed
private long lootTableSeed- Mappings:
Namespace Name Mixin selector official cg
Lbbh;cg:J
intermediary field_6184
Lnet/minecraft/class_1308;field_6184:J
named lootTableSeed
Lnet/minecraft/entity/mob/MobEntity;lootTableSeed:J
-
holdingEntity
- Mappings:
Namespace Name Mixin selector official ch
Lbbh;ch:Lbaq;
intermediary field_6202
Lnet/minecraft/class_1308;field_6202:Lnet/minecraft/class_1297;
named holdingEntity
Lnet/minecraft/entity/mob/MobEntity;holdingEntity:Lnet/minecraft/entity/Entity;
-
holdingEntityId
private int holdingEntityId- Mappings:
Namespace Name Mixin selector official ci
Lbbh;ci:I
intermediary field_18279
Lnet/minecraft/class_1308;field_18279:I
named holdingEntityId
Lnet/minecraft/entity/mob/MobEntity;holdingEntityId:I
-
leashNbt
- Mappings:
Namespace Name Mixin selector official cj
Lbbh;cj:Lpj;
intermediary field_6192
Lnet/minecraft/class_1308;field_6192:Lnet/minecraft/class_2487;
named leashNbt
Lnet/minecraft/entity/mob/MobEntity;leashNbt:Lnet/minecraft/nbt/NbtCompound;
-
positionTarget
- Mappings:
Namespace Name Mixin selector official ck
Lbbh;ck:Lgt;
intermediary field_18074
Lnet/minecraft/class_1308;field_18074:Lnet/minecraft/class_2338;
named positionTarget
Lnet/minecraft/entity/mob/MobEntity;positionTarget:Lnet/minecraft/util/math/BlockPos;
-
positionTargetRange
private float positionTargetRange- Mappings:
Namespace Name Mixin selector official cl
Lbbh;cl:F
intermediary field_18075
Lnet/minecraft/class_1308;field_18075:F
named positionTargetRange
Lnet/minecraft/entity/mob/MobEntity;positionTargetRange:F
-
-
Constructor Details
-
MobEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lbaq;<init>(Lbau;Lcga;)V
intermediary <init>
Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
named <init>
Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
-
Method Details
-
initGoals
protected void initGoals()- Mappings:
Namespace Name Mixin selector official u
Lbbh;u()V
intermediary method_5959
Lnet/minecraft/class_1308;method_5959()V
named initGoals
Lnet/minecraft/entity/mob/MobEntity;initGoals()V
-
createMobAttributes
- Mappings:
Namespace Name Mixin selector official w
Lbbh;w()Lbcf$a;
intermediary method_26828
Lnet/minecraft/class_1308;method_26828()Lnet/minecraft/class_5132$class_5133;
named createMobAttributes
Lnet/minecraft/entity/mob/MobEntity;createMobAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
movesIndependently
protected boolean movesIndependently()When true, causes this entity to take over pathfinding for its controlling passenger.- Mappings:
Namespace Name Mixin selector official x
Lbbh;x()Z
intermediary method_26323
Lnet/minecraft/class_1308;method_26323()Z
named movesIndependently
Lnet/minecraft/entity/mob/MobEntity;movesIndependently()Z
-
getPathfindingPenalty
- Mappings:
Namespace Name Mixin selector official a
Lbbh;a(Ldpj;)F
intermediary method_5944
Lnet/minecraft/class_1308;method_5944(Lnet/minecraft/class_7;)F
named getPathfindingPenalty
Lnet/minecraft/entity/mob/MobEntity;getPathfindingPenalty(Lnet/minecraft/entity/ai/pathing/PathNodeType;)F
-
setPathfindingPenalty
- Mappings:
Namespace Name Mixin selector official a
Lbbh;a(Ldpj;F)V
intermediary method_5941
Lnet/minecraft/class_1308;method_5941(Lnet/minecraft/class_7;F)V
named setPathfindingPenalty
Lnet/minecraft/entity/mob/MobEntity;setPathfindingPenalty(Lnet/minecraft/entity/ai/pathing/PathNodeType;F)V
-
canJumpToNextPathNode
Returns if this entity can jump to the next node in path given the type of the node.- Returns:
- if this entity can jump to the next node in path given the type of the node
- Mappings:
Namespace Name Mixin selector official b
Lbbh;b(Ldpj;)Z
intermediary method_29244
Lnet/minecraft/class_1308;method_29244(Lnet/minecraft/class_7;)Z
named canJumpToNextPathNode
Lnet/minecraft/entity/mob/MobEntity;canJumpToNextPathNode(Lnet/minecraft/entity/ai/pathing/PathNodeType;)Z
-
createBodyControl
- Mappings:
Namespace Name Mixin selector official y
Lbbh;y()Lbgq;
intermediary method_5963
Lnet/minecraft/class_1308;method_5963()Lnet/minecraft/class_1330;
named createBodyControl
Lnet/minecraft/entity/mob/MobEntity;createBodyControl()Lnet/minecraft/entity/ai/control/BodyControl;
-
getLookControl
- Mappings:
Namespace Name Mixin selector official z
Lbbh;z()Lbgu;
intermediary method_5988
Lnet/minecraft/class_1308;method_5988()Lnet/minecraft/class_1333;
named getLookControl
Lnet/minecraft/entity/mob/MobEntity;getLookControl()Lnet/minecraft/entity/ai/control/LookControl;
-
getMoveControl
- Mappings:
Namespace Name Mixin selector official A
Lbbh;A()Lbgv;
intermediary method_5962
Lnet/minecraft/class_1308;method_5962()Lnet/minecraft/class_1335;
named getMoveControl
Lnet/minecraft/entity/mob/MobEntity;getMoveControl()Lnet/minecraft/entity/ai/control/MoveControl;
-
getJumpControl
- Mappings:
Namespace Name Mixin selector official C
Lbbh;C()Lbgt;
intermediary method_5993
Lnet/minecraft/class_1308;method_5993()Lnet/minecraft/class_1334;
named getJumpControl
Lnet/minecraft/entity/mob/MobEntity;getJumpControl()Lnet/minecraft/entity/ai/control/JumpControl;
-
getVisibilityCache
- Mappings:
Namespace Name Mixin selector official E
Lbbh;E()Lbla;
intermediary method_5985
Lnet/minecraft/class_1308;method_5985()Lnet/minecraft/class_1413;
named getVisibilityCache
Lnet/minecraft/entity/mob/MobEntity;getVisibilityCache()Lnet/minecraft/entity/mob/MobVisibilityCache;
-
getTarget
- Mappings:
Namespace Name Mixin selector official G
Lbbh;G()Lbbf;
intermediary method_5968
Lnet/minecraft/class_1308;method_5968()Lnet/minecraft/class_1309;
named getTarget
Lnet/minecraft/entity/mob/MobEntity;getTarget()Lnet/minecraft/entity/LivingEntity;
-
setTarget
- Mappings:
Namespace Name Mixin selector official h
Lbbh;h(Lbbf;)V
intermediary method_5980
Lnet/minecraft/class_1308;method_5980(Lnet/minecraft/class_1309;)V
named setTarget
Lnet/minecraft/entity/mob/MobEntity;setTarget(Lnet/minecraft/entity/LivingEntity;)V
-
canTarget
- Overrides:
canTarget
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Lbbf;a(Lbau;)Z
intermediary method_5973
Lnet/minecraft/class_1309;method_5973(Lnet/minecraft/class_1299;)Z
named canTarget
Lnet/minecraft/entity/LivingEntity;canTarget(Lnet/minecraft/entity/EntityType;)Z
-
canUseRangedWeapon
- Mappings:
Namespace Name Mixin selector official a
Lbbh;a(Lcap;)Z
intermediary method_25938
Lnet/minecraft/class_1308;method_25938(Lnet/minecraft/class_1811;)Z
named canUseRangedWeapon
Lnet/minecraft/entity/mob/MobEntity;canUseRangedWeapon(Lnet/minecraft/item/RangedWeaponItem;)Z
-
onEatingGrass
public void onEatingGrass()- Mappings:
Namespace Name Mixin selector official I
Lbbh;I()V
intermediary method_5983
Lnet/minecraft/class_1308;method_5983()V
named onEatingGrass
Lnet/minecraft/entity/mob/MobEntity;onEatingGrass()V
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTracker
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a_
Lbaq;a_()V
intermediary method_5693
Lnet/minecraft/class_1297;method_5693()V
named initDataTracker
Lnet/minecraft/entity/Entity;initDataTracker()V
-
getMinAmbientSoundDelay
public int getMinAmbientSoundDelay()- Mappings:
Namespace Name Mixin selector official J
Lbbh;J()I
intermediary method_5970
Lnet/minecraft/class_1308;method_5970()I
named getMinAmbientSoundDelay
Lnet/minecraft/entity/mob/MobEntity;getMinAmbientSoundDelay()I
-
playAmbientSound
public void playAmbientSound()- Mappings:
Namespace Name Mixin selector official K
Lbbh;K()V
intermediary method_5966
Lnet/minecraft/class_1308;method_5966()V
named playAmbientSound
Lnet/minecraft/entity/mob/MobEntity;playAmbientSound()V
-
baseTick
public void baseTick()- Overrides:
baseTick
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official an
Lbaq;an()V
intermediary method_5670
Lnet/minecraft/class_1297;method_5670()V
named baseTick
Lnet/minecraft/entity/Entity;baseTick()V
-
playHurtSound
- Overrides:
playHurtSound
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official d
Lbbf;d(Lazz;)V
intermediary method_6013
Lnet/minecraft/class_1309;method_6013(Lnet/minecraft/class_1282;)V
named playHurtSound
Lnet/minecraft/entity/LivingEntity;playHurtSound(Lnet/minecraft/entity/damage/DamageSource;)V
-
resetSoundDelay
private void resetSoundDelay()- Mappings:
Namespace Name Mixin selector official n
Lbbh;n()V
intermediary method_5975
Lnet/minecraft/class_1308;method_5975()V
named resetSoundDelay
Lnet/minecraft/entity/mob/MobEntity;resetSoundDelay()V
-
getXpToDrop
public int getXpToDrop()Called when this entity is killed and returns the amount of experience to drop.- Overrides:
getXpToDrop
in classLivingEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official dP
Lbbf;dP()I
intermediary method_6110
Lnet/minecraft/class_1309;method_6110()I
named getXpToDrop
Lnet/minecraft/entity/LivingEntity;getXpToDrop()I
-
playSpawnEffects
public void playSpawnEffects()- Mappings:
Namespace Name Mixin selector official L
Lbbh;L()V
intermediary method_5990
Lnet/minecraft/class_1308;method_5990()V
named playSpawnEffects
Lnet/minecraft/entity/mob/MobEntity;playSpawnEffects()V
-
handleStatus
public void handleStatus(byte status) - Overrides:
handleStatus
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Lbaq;a(B)V
intermediary method_5711
Lnet/minecraft/class_1297;method_5711(B)V
named handleStatus
Lnet/minecraft/entity/Entity;handleStatus(B)V
-
tick
public void tick()- Overrides:
tick
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official k
Lbaq;k()V
intermediary method_5773
Lnet/minecraft/class_1297;method_5773()V
named tick
Lnet/minecraft/entity/Entity;tick()V
-
updateGoalControls
protected void updateGoalControls()- Mappings:
Namespace Name Mixin selector official M
Lbbh;M()V
intermediary method_20417
Lnet/minecraft/class_1308;method_20417()V
named updateGoalControls
Lnet/minecraft/entity/mob/MobEntity;updateGoalControls()V
-
turnHead
protected float turnHead(float bodyRotation, float headRotation) - Overrides:
turnHead
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official e
Lbbf;e(FF)F
intermediary method_6031
Lnet/minecraft/class_1309;method_6031(FF)F
named turnHead
Lnet/minecraft/entity/LivingEntity;turnHead(FF)F
-
getAmbientSound
- Mappings:
Namespace Name Mixin selector official r
Lbbh;r()Lajd;
intermediary method_5994
Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
named getAmbientSound
Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbt
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official b
Lbaq;b(Lpj;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
named writeCustomDataToNbt
Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbt
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Lbaq;a(Lpj;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
named readCustomDataFromNbt
Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
dropLoot
- Overrides:
dropLoot
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Lbbf;a(Lazz;Z)V
intermediary method_16077
Lnet/minecraft/class_1309;method_16077(Lnet/minecraft/class_1282;Z)V
named dropLoot
Lnet/minecraft/entity/LivingEntity;dropLoot(Lnet/minecraft/entity/damage/DamageSource;Z)V
-
getLootContextBuilder
- Overrides:
getLootContextBuilder
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Lbbf;a(ZLazz;)Ldrf$a;
intermediary method_16079
Lnet/minecraft/class_1309;method_16079(ZLnet/minecraft/class_1282;)Lnet/minecraft/class_47$class_48;
named getLootContextBuilder
Lnet/minecraft/entity/LivingEntity;getLootContextBuilder(ZLnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/loot/context/LootContext$Builder;
-
getLootTable
- Overrides:
getLootTable
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official el
Lbbf;el()Laaj;
intermediary method_5989
Lnet/minecraft/class_1309;method_5989()Lnet/minecraft/class_2960;
named getLootTable
Lnet/minecraft/entity/LivingEntity;getLootTable()Lnet/minecraft/util/Identifier;
-
getLootTableId
- Mappings:
Namespace Name Mixin selector official N
Lbbh;N()Laaj;
intermediary method_5991
Lnet/minecraft/class_1308;method_5991()Lnet/minecraft/class_2960;
named getLootTableId
Lnet/minecraft/entity/mob/MobEntity;getLootTableId()Lnet/minecraft/util/Identifier;
-
setForwardSpeed
public void setForwardSpeed(float forwardSpeed) - Mappings:
Namespace Name Mixin selector official u
Lbbh;u(F)V
intermediary method_5930
Lnet/minecraft/class_1308;method_5930(F)V
named setForwardSpeed
Lnet/minecraft/entity/mob/MobEntity;setForwardSpeed(F)V
-
setUpwardSpeed
public void setUpwardSpeed(float upwardSpeed) - Mappings:
Namespace Name Mixin selector official v
Lbbh;v(F)V
intermediary method_5976
Lnet/minecraft/class_1308;method_5976(F)V
named setUpwardSpeed
Lnet/minecraft/entity/mob/MobEntity;setUpwardSpeed(F)V
-
setSidewaysSpeed
public void setSidewaysSpeed(float sidewaysSpeed) - Mappings:
Namespace Name Mixin selector official w
Lbbh;w(F)V
intermediary method_5938
Lnet/minecraft/class_1308;method_5938(F)V
named setSidewaysSpeed
Lnet/minecraft/entity/mob/MobEntity;setSidewaysSpeed(F)V
-
setMovementSpeed
public void setMovementSpeed(float movementSpeed) - Overrides:
setMovementSpeed
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official r
Lbbf;r(F)V
intermediary method_6125
Lnet/minecraft/class_1309;method_6125(F)V
named setMovementSpeed
Lnet/minecraft/entity/LivingEntity;setMovementSpeed(F)V
-
tickMovement
public void tickMovement()- Overrides:
tickMovement
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official w_
Lbbf;w_()V
intermediary method_6007
Lnet/minecraft/class_1309;method_6007()V
named tickMovement
Lnet/minecraft/entity/LivingEntity;tickMovement()V
-
getItemPickUpRangeExpander
- Mappings:
Namespace Name Mixin selector official O
Lbbh;O()Lhs;
intermediary method_42646
Lnet/minecraft/class_1308;method_42646()Lnet/minecraft/class_2382;
named getItemPickUpRangeExpander
Lnet/minecraft/entity/mob/MobEntity;getItemPickUpRangeExpander()Lnet/minecraft/util/math/Vec3i;
-
loot
- Mappings:
Namespace Name Mixin selector official b
Lbbh;b(Lbpy;)V
intermediary method_5949
Lnet/minecraft/class_1308;method_5949(Lnet/minecraft/class_1542;)V
named loot
Lnet/minecraft/entity/mob/MobEntity;loot(Lnet/minecraft/entity/ItemEntity;)V
-
tryEquip
- Mappings:
Namespace Name Mixin selector official j
Lbbh;j(Lcaa;)Z
intermediary method_24523
Lnet/minecraft/class_1308;method_24523(Lnet/minecraft/class_1799;)Z
named tryEquip
Lnet/minecraft/entity/mob/MobEntity;tryEquip(Lnet/minecraft/item/ItemStack;)Z
-
equipLootStack
- Mappings:
Namespace Name Mixin selector official b
Lbbh;b(Lbav;Lcaa;)V
intermediary method_24834
Lnet/minecraft/class_1308;method_24834(Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;)V
named equipLootStack
Lnet/minecraft/entity/mob/MobEntity;equipLootStack(Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/item/ItemStack;)V
-
updateDropChances
- Mappings:
Namespace Name Mixin selector official e
Lbbh;e(Lbav;)V
intermediary method_25939
Lnet/minecraft/class_1308;method_25939(Lnet/minecraft/class_1304;)V
named updateDropChances
Lnet/minecraft/entity/mob/MobEntity;updateDropChances(Lnet/minecraft/entity/EquipmentSlot;)V
-
prefersNewEquipment
- Mappings:
Namespace Name Mixin selector official a
Lbbh;a(Lcaa;Lcaa;)Z
intermediary method_5955
Lnet/minecraft/class_1308;method_5955(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Z
named prefersNewEquipment
Lnet/minecraft/entity/mob/MobEntity;prefersNewEquipment(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
-
prefersNewDamageableItem
- Mappings:
Namespace Name Mixin selector official b
Lbbh;b(Lcaa;Lcaa;)Z
intermediary method_26320
Lnet/minecraft/class_1308;method_26320(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Z
named prefersNewDamageableItem
Lnet/minecraft/entity/mob/MobEntity;prefersNewDamageableItem(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
-
canPickupItem
- Mappings:
Namespace Name Mixin selector official k
Lbbh;k(Lcaa;)Z
intermediary method_5939
Lnet/minecraft/class_1308;method_5939(Lnet/minecraft/class_1799;)Z
named canPickupItem
Lnet/minecraft/entity/mob/MobEntity;canPickupItem(Lnet/minecraft/item/ItemStack;)Z
-
canGather
- Mappings:
Namespace Name Mixin selector official l
Lbbh;l(Lcaa;)Z
intermediary method_20820
Lnet/minecraft/class_1308;method_20820(Lnet/minecraft/class_1799;)Z
named canGather
Lnet/minecraft/entity/mob/MobEntity;canGather(Lnet/minecraft/item/ItemStack;)Z
-
canImmediatelyDespawn
public boolean canImmediatelyDespawn(double distanceSquared) - Mappings:
Namespace Name Mixin selector official h
Lbbh;h(D)Z
intermediary method_5974
Lnet/minecraft/class_1308;method_5974(D)Z
named canImmediatelyDespawn
Lnet/minecraft/entity/mob/MobEntity;canImmediatelyDespawn(D)Z
-
cannotDespawn
public boolean cannotDespawn()- Mappings:
Namespace Name Mixin selector official P
Lbbh;P()Z
intermediary method_17326
Lnet/minecraft/class_1308;method_17326()Z
named cannotDespawn
Lnet/minecraft/entity/mob/MobEntity;cannotDespawn()Z
-
isDisallowedInPeaceful
protected boolean isDisallowedInPeaceful()- Mappings:
Namespace Name Mixin selector official Q
Lbbh;Q()Z
intermediary method_23734
Lnet/minecraft/class_1308;method_23734()Z
named isDisallowedInPeaceful
Lnet/minecraft/entity/mob/MobEntity;isDisallowedInPeaceful()Z
-
checkDespawn
public void checkDespawn()- Overrides:
checkDespawn
in classEntity
- Mappings:
Namespace Name Mixin selector official dn
Lbaq;dn()V
intermediary method_5982
Lnet/minecraft/class_1297;method_5982()V
named checkDespawn
Lnet/minecraft/entity/Entity;checkDespawn()V
-
tickNewAi
protected final void tickNewAi()- Overrides:
tickNewAi
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official eN
Lbbf;eN()V
intermediary method_6023
Lnet/minecraft/class_1309;method_6023()V
named tickNewAi
Lnet/minecraft/entity/LivingEntity;tickNewAi()V
-
sendAiDebugData
protected void sendAiDebugData()- Mappings:
Namespace Name Mixin selector official R
Lbbh;R()V
intermediary method_18409
Lnet/minecraft/class_1308;method_18409()V
named sendAiDebugData
Lnet/minecraft/entity/mob/MobEntity;sendAiDebugData()V
-
mobTick
protected void mobTick()- Mappings:
Namespace Name Mixin selector official T
Lbbh;T()V
intermediary method_5958
Lnet/minecraft/class_1308;method_5958()V
named mobTick
Lnet/minecraft/entity/mob/MobEntity;mobTick()V
-
getMaxLookPitchChange
public int getMaxLookPitchChange()Returns the maximum degrees which the pitch can change when looking.This is used by the look control.
It can return from
1
for entities that can hardly raise their head, like axolotls or dolphins, or180
for entities that can freely raise and lower their head, like guardians. The default return value is40
.- Returns:
- the maximum degrees which the pitch can change when looking
- Mappings:
Namespace Name Mixin selector official U
Lbbh;U()I
intermediary method_5978
Lnet/minecraft/class_1308;method_5978()I
named getMaxLookPitchChange
Lnet/minecraft/entity/mob/MobEntity;getMaxLookPitchChange()I
-
getMaxHeadRotation
public int getMaxHeadRotation()Returns the maximum degrees which the head yaw can differ from the body yaw.This is used by the body control.
It can return from
1
for entities that can hardly rotate their head, like axolotls or dolphins, or180
for entities that can freely rotate their head, like shulkers. The default return value is75
.- Returns:
- the maximum degrees which the head yaw can differ from the body yaw
- Mappings:
Namespace Name Mixin selector official V
Lbbh;V()I
intermediary method_5986
Lnet/minecraft/class_1308;method_5986()I
named getMaxHeadRotation
Lnet/minecraft/entity/mob/MobEntity;getMaxHeadRotation()I
-
getMaxLookYawChange
public int getMaxLookYawChange()Returns the maximum degrees which the yaw can change when looking.This is used by the look control.
The default return value is
10
.- Returns:
- the maximum degrees which the yaw can change when looking
- Mappings:
Namespace Name Mixin selector official fo
Lbbh;fo()I
intermediary method_20240
Lnet/minecraft/class_1308;method_20240()I
named getMaxLookYawChange
Lnet/minecraft/entity/mob/MobEntity;getMaxLookYawChange()I
-
lookAtEntity
- Mappings:
Namespace Name Mixin selector official a
Lbbh;a(Lbaq;FF)V
intermediary method_5951
Lnet/minecraft/class_1308;method_5951(Lnet/minecraft/class_1297;FF)V
named lookAtEntity
Lnet/minecraft/entity/mob/MobEntity;lookAtEntity(Lnet/minecraft/entity/Entity;FF)V
-
changeAngle
private float changeAngle(float from, float to, float max) Changes the angle fromfrom
toto
, or bymax
degrees ifto
is too big a change.This is the same as
LookControl.changeAngle(float, float, float)
.- Mappings:
Namespace Name Mixin selector official a
Lbbh;a(FFF)F
intermediary method_5960
Lnet/minecraft/class_1308;method_5960(FFF)F
named changeAngle
Lnet/minecraft/entity/mob/MobEntity;changeAngle(FFF)F
-
canMobSpawn
public static boolean canMobSpawn(EntityType<? extends MobEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) - Mappings:
Namespace Name Mixin selector official a
Lbbh;a(Lbau;Lcgb;Lbbj;Lgt;Lalu;)Z
intermediary method_20636
Lnet/minecraft/class_1308;method_20636(Lnet/minecraft/class_1299;Lnet/minecraft/class_1936;Lnet/minecraft/class_3730;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)Z
named canMobSpawn
Lnet/minecraft/entity/mob/MobEntity;canMobSpawn(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)Z
-
canSpawn
- Mappings:
Namespace Name Mixin selector official a
Lbbh;a(Lcgb;Lbbj;)Z
intermediary method_5979
Lnet/minecraft/class_1308;method_5979(Lnet/minecraft/class_1936;Lnet/minecraft/class_3730;)Z
named canSpawn
Lnet/minecraft/entity/mob/MobEntity;canSpawn(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/entity/SpawnReason;)Z
-
canSpawn
- Mappings:
Namespace Name Mixin selector official a
Lbbh;a(Lcgd;)Z
intermediary method_5957
Lnet/minecraft/class_1308;method_5957(Lnet/minecraft/class_4538;)Z
named canSpawn
Lnet/minecraft/entity/mob/MobEntity;canSpawn(Lnet/minecraft/world/WorldView;)Z
-
getLimitPerChunk
public int getLimitPerChunk()- Mappings:
Namespace Name Mixin selector official fp
Lbbh;fp()I
intermediary method_5945
Lnet/minecraft/class_1308;method_5945()I
named getLimitPerChunk
Lnet/minecraft/entity/mob/MobEntity;getLimitPerChunk()I
-
spawnsTooManyForEachTry
public boolean spawnsTooManyForEachTry(int count) - Mappings:
Namespace Name Mixin selector official d
Lbbh;d(I)Z
intermediary method_5969
Lnet/minecraft/class_1308;method_5969(I)Z
named spawnsTooManyForEachTry
Lnet/minecraft/entity/mob/MobEntity;spawnsTooManyForEachTry(I)Z
-
getSafeFallDistance
public int getSafeFallDistance()- Overrides:
getSafeFallDistance
in classEntity
- Mappings:
Namespace Name Mixin selector official cm
Lbaq;cm()I
intermediary method_5850
Lnet/minecraft/class_1297;method_5850()I
named getSafeFallDistance
Lnet/minecraft/entity/Entity;getSafeFallDistance()I
-
getItemsHand
- Overrides:
getItemsHand
in classEntity
- Mappings:
Namespace Name Mixin selector official bF
Lbaq;bF()Ljava/lang/Iterable;
intermediary method_5877
Lnet/minecraft/class_1297;method_5877()Ljava/lang/Iterable;
named getItemsHand
Lnet/minecraft/entity/Entity;getItemsHand()Ljava/lang/Iterable;
-
getArmorItems
- Specified by:
getArmorItems
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official bG
Lbaq;bG()Ljava/lang/Iterable;
intermediary method_5661
Lnet/minecraft/class_1297;method_5661()Ljava/lang/Iterable;
named getArmorItems
Lnet/minecraft/entity/Entity;getArmorItems()Ljava/lang/Iterable;
-
getEquippedStack
- Specified by:
getEquippedStack
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official c
Lbbf;c(Lbav;)Lcaa;
intermediary method_6118
Lnet/minecraft/class_1309;method_6118(Lnet/minecraft/class_1304;)Lnet/minecraft/class_1799;
named getEquippedStack
Lnet/minecraft/entity/LivingEntity;getEquippedStack(Lnet/minecraft/entity/EquipmentSlot;)Lnet/minecraft/item/ItemStack;
-
equipStack
- Specified by:
equipStack
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Lbaq;a(Lbav;Lcaa;)V
intermediary method_5673
Lnet/minecraft/class_1297;method_5673(Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;)V
named equipStack
Lnet/minecraft/entity/Entity;equipStack(Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/item/ItemStack;)V
-
dropEquipment
- Overrides:
dropEquipment
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Lbbf;a(Lazz;IZ)V
intermediary method_6099
Lnet/minecraft/class_1309;method_6099(Lnet/minecraft/class_1282;IZ)V
named dropEquipment
Lnet/minecraft/entity/LivingEntity;dropEquipment(Lnet/minecraft/entity/damage/DamageSource;IZ)V
-
getDropChance
- Mappings:
Namespace Name Mixin selector official f
Lbbh;f(Lbav;)F
intermediary method_5929
Lnet/minecraft/class_1308;method_5929(Lnet/minecraft/class_1304;)F
named getDropChance
Lnet/minecraft/entity/mob/MobEntity;getDropChance(Lnet/minecraft/entity/EquipmentSlot;)F
-
initEquipment
- Mappings:
Namespace Name Mixin selector official a
Lbbh;a(Lalu;Lazk;)V
intermediary method_5964
Lnet/minecraft/class_1308;method_5964(Lnet/minecraft/class_5819;Lnet/minecraft/class_1266;)V
named initEquipment
Lnet/minecraft/entity/mob/MobEntity;initEquipment(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/world/LocalDifficulty;)V
-
getEquipmentForSlot
@Nullable public static @Nullable Item getEquipmentForSlot(EquipmentSlot equipmentSlot, int equipmentLevel) - Mappings:
Namespace Name Mixin selector official a
Lbbh;a(Lbav;I)Lbzw;
intermediary method_5948
Lnet/minecraft/class_1308;method_5948(Lnet/minecraft/class_1304;I)Lnet/minecraft/class_1792;
named getEquipmentForSlot
Lnet/minecraft/entity/mob/MobEntity;getEquipmentForSlot(Lnet/minecraft/entity/EquipmentSlot;I)Lnet/minecraft/item/Item;
-
updateEnchantments
- Mappings:
Namespace Name Mixin selector official b
Lbbh;b(Lalu;Lazk;)V
intermediary method_5984
Lnet/minecraft/class_1308;method_5984(Lnet/minecraft/class_5819;Lnet/minecraft/class_1266;)V
named updateEnchantments
Lnet/minecraft/entity/mob/MobEntity;updateEnchantments(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/world/LocalDifficulty;)V
-
enchantMainHandItem
- Mappings:
Namespace Name Mixin selector official a
Lbbh;a(Lalu;F)V
intermediary method_30759
Lnet/minecraft/class_1308;method_30759(Lnet/minecraft/class_5819;F)V
named enchantMainHandItem
Lnet/minecraft/entity/mob/MobEntity;enchantMainHandItem(Lnet/minecraft/util/math/random/Random;F)V
-
enchantEquipment
- Mappings:
Namespace Name Mixin selector official a
Lbbh;a(Lalu;FLbav;)V
intermediary method_30758
Lnet/minecraft/class_1308;method_30758(Lnet/minecraft/class_5819;FLnet/minecraft/class_1304;)V
named enchantEquipment
Lnet/minecraft/entity/mob/MobEntity;enchantEquipment(Lnet/minecraft/util/math/random/Random;FLnet/minecraft/entity/EquipmentSlot;)V
-
initialize
@Nullable public @Nullable EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData, @Nullable @Nullable NbtCompound entityNbt) - Mappings:
Namespace Name Mixin selector official a
Lbbh;a(Lcgp;Lazk;Lbbj;Lbbx;Lpj;)Lbbx;
intermediary method_5943
Lnet/minecraft/class_1308;method_5943(Lnet/minecraft/class_5425;Lnet/minecraft/class_1266;Lnet/minecraft/class_3730;Lnet/minecraft/class_1315;Lnet/minecraft/class_2487;)Lnet/minecraft/class_1315;
named initialize
Lnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/entity/EntityData;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/entity/EntityData;
-
setPersistent
public void setPersistent()- Mappings:
Namespace Name Mixin selector official fq
Lbbh;fq()V
intermediary method_5971
Lnet/minecraft/class_1308;method_5971()V
named setPersistent
Lnet/minecraft/entity/mob/MobEntity;setPersistent()V
-
setEquipmentDropChance
- Mappings:
Namespace Name Mixin selector official a
Lbbh;a(Lbav;F)V
intermediary method_5946
Lnet/minecraft/class_1308;method_5946(Lnet/minecraft/class_1304;F)V
named setEquipmentDropChance
Lnet/minecraft/entity/mob/MobEntity;setEquipmentDropChance(Lnet/minecraft/entity/EquipmentSlot;F)V
-
canPickUpLoot
public boolean canPickUpLoot()- Mappings:
Namespace Name Mixin selector official fr
Lbbh;fr()Z
intermediary method_5936
Lnet/minecraft/class_1308;method_5936()Z
named canPickUpLoot
Lnet/minecraft/entity/mob/MobEntity;canPickUpLoot()Z
-
setCanPickUpLoot
public void setCanPickUpLoot(boolean canPickUpLoot) - Mappings:
Namespace Name Mixin selector official r
Lbbh;r(Z)V
intermediary method_5952
Lnet/minecraft/class_1308;method_5952(Z)V
named setCanPickUpLoot
Lnet/minecraft/entity/mob/MobEntity;setCanPickUpLoot(Z)V
-
canEquip
- Overrides:
canEquip
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official g
Lbbf;g(Lcaa;)Z
intermediary method_18397
Lnet/minecraft/class_1309;method_18397(Lnet/minecraft/class_1799;)Z
named canEquip
Lnet/minecraft/entity/LivingEntity;canEquip(Lnet/minecraft/item/ItemStack;)Z
-
isPersistent
public boolean isPersistent()- Mappings:
Namespace Name Mixin selector official fs
Lbbh;fs()Z
intermediary method_5947
Lnet/minecraft/class_1308;method_5947()Z
named isPersistent
Lnet/minecraft/entity/mob/MobEntity;isPersistent()Z
-
interact
Called when a player interacts with this entity.- Overrides:
interact
in classEntity
- Parameters:
player
- the playerhand
- the hand the player used to interact with this entity- Mappings:
Namespace Name Mixin selector official a
Lbaq;a(Lbtf;Lazl;)Lazm;
intermediary method_5688
Lnet/minecraft/class_1297;method_5688(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
named interact
Lnet/minecraft/entity/Entity;interact(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
-
interactWithItem
- Mappings:
Namespace Name Mixin selector official c
Lbbh;c(Lbtf;Lazl;)Lazm;
intermediary method_29506
Lnet/minecraft/class_1308;method_29506(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
named interactWithItem
Lnet/minecraft/entity/mob/MobEntity;interactWithItem(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
-
onPlayerSpawnedChild
- Mappings:
Namespace Name Mixin selector official a
Lbbh;a(Lbtf;Lbbh;)V
intermediary method_18249
Lnet/minecraft/class_1308;method_18249(Lnet/minecraft/class_1657;Lnet/minecraft/class_1308;)V
named onPlayerSpawnedChild
Lnet/minecraft/entity/mob/MobEntity;onPlayerSpawnedChild(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/mob/MobEntity;)V
-
interactMob
- Mappings:
Namespace Name Mixin selector official b
Lbbh;b(Lbtf;Lazl;)Lazm;
intermediary method_5992
Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
named interactMob
Lnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
-
isInWalkTargetRange
public boolean isInWalkTargetRange()- Mappings:
Namespace Name Mixin selector official ft
Lbbh;ft()Z
intermediary method_18411
Lnet/minecraft/class_1308;method_18411()Z
named isInWalkTargetRange
Lnet/minecraft/entity/mob/MobEntity;isInWalkTargetRange()Z
-
isInWalkTargetRange
- Mappings:
Namespace Name Mixin selector official a
Lbbh;a(Lgt;)Z
intermediary method_18407
Lnet/minecraft/class_1308;method_18407(Lnet/minecraft/class_2338;)Z
named isInWalkTargetRange
Lnet/minecraft/entity/mob/MobEntity;isInWalkTargetRange(Lnet/minecraft/util/math/BlockPos;)Z
-
setPositionTarget
- Mappings:
Namespace Name Mixin selector official a
Lbbh;a(Lgt;I)V
intermediary method_18408
Lnet/minecraft/class_1308;method_18408(Lnet/minecraft/class_2338;I)V
named setPositionTarget
Lnet/minecraft/entity/mob/MobEntity;setPositionTarget(Lnet/minecraft/util/math/BlockPos;I)V
-
getPositionTarget
- Mappings:
Namespace Name Mixin selector official fu
Lbbh;fu()Lgt;
intermediary method_18412
Lnet/minecraft/class_1308;method_18412()Lnet/minecraft/class_2338;
named getPositionTarget
Lnet/minecraft/entity/mob/MobEntity;getPositionTarget()Lnet/minecraft/util/math/BlockPos;
-
getPositionTargetRange
public float getPositionTargetRange()- Mappings:
Namespace Name Mixin selector official fv
Lbbh;fv()F
intermediary method_18413
Lnet/minecraft/class_1308;method_18413()F
named getPositionTargetRange
Lnet/minecraft/entity/mob/MobEntity;getPositionTargetRange()F
-
clearPositionTarget
public void clearPositionTarget()- Mappings:
Namespace Name Mixin selector official fw
Lbbh;fw()V
intermediary method_35055
Lnet/minecraft/class_1308;method_35055()V
named clearPositionTarget
Lnet/minecraft/entity/mob/MobEntity;clearPositionTarget()V
-
hasPositionTarget
public boolean hasPositionTarget()- Mappings:
Namespace Name Mixin selector official fx
Lbbh;fx()Z
intermediary method_18410
Lnet/minecraft/class_1308;method_18410()Z
named hasPositionTarget
Lnet/minecraft/entity/mob/MobEntity;hasPositionTarget()Z
-
convertTo
Converts this entity to the providedentityType
.The new entity will keep many of the properties set for this entity, including its vehicle, its name and whether it is persistent or not.
If
keepEquipment
istrue
, it will also keep its equipment.- Parameters:
entityType
- the entity type to convert tokeepEquipment
- whether the equipment of this entity should be kept- Mappings:
Namespace Name Mixin selector official a
Lbbh;a(Lbau;Z)Lbbh;
intermediary method_29243
Lnet/minecraft/class_1308;method_29243(Lnet/minecraft/class_1299;Z)Lnet/minecraft/class_1308;
named convertTo
Lnet/minecraft/entity/mob/MobEntity;convertTo(Lnet/minecraft/entity/EntityType;Z)Lnet/minecraft/entity/mob/MobEntity;
-
updateLeash
protected void updateLeash()- Mappings:
Namespace Name Mixin selector official fy
Lbbh;fy()V
intermediary method_5995
Lnet/minecraft/class_1308;method_5995()V
named updateLeash
Lnet/minecraft/entity/mob/MobEntity;updateLeash()V
-
detachLeash
public void detachLeash(boolean sendPacket, boolean dropItem) - Mappings:
Namespace Name Mixin selector official a
Lbbh;a(ZZ)V
intermediary method_5932
Lnet/minecraft/class_1308;method_5932(ZZ)V
named detachLeash
Lnet/minecraft/entity/mob/MobEntity;detachLeash(ZZ)V
-
canBeLeashedBy
- Mappings:
Namespace Name Mixin selector official a
Lbbh;a(Lbtf;)Z
intermediary method_5931
Lnet/minecraft/class_1308;method_5931(Lnet/minecraft/class_1657;)Z
named canBeLeashedBy
Lnet/minecraft/entity/mob/MobEntity;canBeLeashedBy(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
isLeashed
public boolean isLeashed()- Mappings:
Namespace Name Mixin selector official fz
Lbbh;fz()Z
intermediary method_5934
Lnet/minecraft/class_1308;method_5934()Z
named isLeashed
Lnet/minecraft/entity/mob/MobEntity;isLeashed()Z
-
getHoldingEntity
- Mappings:
Namespace Name Mixin selector official fA
Lbbh;fA()Lbaq;
intermediary method_5933
Lnet/minecraft/class_1308;method_5933()Lnet/minecraft/class_1297;
named getHoldingEntity
Lnet/minecraft/entity/mob/MobEntity;getHoldingEntity()Lnet/minecraft/entity/Entity;
-
attachLeash
- Mappings:
Namespace Name Mixin selector official b
Lbbh;b(Lbaq;Z)V
intermediary method_5954
Lnet/minecraft/class_1308;method_5954(Lnet/minecraft/class_1297;Z)V
named attachLeash
Lnet/minecraft/entity/mob/MobEntity;attachLeash(Lnet/minecraft/entity/Entity;Z)V
-
setHoldingEntityId
public void setHoldingEntityId(int id) - Mappings:
Namespace Name Mixin selector official r
Lbbh;r(I)V
intermediary method_18810
Lnet/minecraft/class_1308;method_18810(I)V
named setHoldingEntityId
Lnet/minecraft/entity/mob/MobEntity;setHoldingEntityId(I)V
-
startRiding
- Overrides:
startRiding
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Lbaq;a(Lbaq;Z)Z
intermediary method_5873
Lnet/minecraft/class_1297;method_5873(Lnet/minecraft/class_1297;Z)Z
named startRiding
Lnet/minecraft/entity/Entity;startRiding(Lnet/minecraft/entity/Entity;Z)Z
-
readLeashNbt
private void readLeashNbt()- Mappings:
Namespace Name Mixin selector official fH
Lbbh;fH()V
intermediary method_5940
Lnet/minecraft/class_1308;method_5940()V
named readLeashNbt
Lnet/minecraft/entity/mob/MobEntity;readLeashNbt()V
-
isLogicalSideForUpdatingMovement
public boolean isLogicalSideForUpdatingMovement()- Overrides:
isLogicalSideForUpdatingMovement
in classEntity
- Mappings:
Namespace Name Mixin selector official cQ
Lbaq;cQ()Z
intermediary method_5787
Lnet/minecraft/class_1297;method_5787()Z
named isLogicalSideForUpdatingMovement
Lnet/minecraft/entity/Entity;isLogicalSideForUpdatingMovement()Z
-
canMoveVoluntarily
public boolean canMoveVoluntarily()- Overrides:
canMoveVoluntarily
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official eQ
Lbbf;eQ()Z
intermediary method_6034
Lnet/minecraft/class_1309;method_6034()Z
named canMoveVoluntarily
Lnet/minecraft/entity/LivingEntity;canMoveVoluntarily()Z
-
setAiDisabled
public void setAiDisabled(boolean aiDisabled) - Mappings:
Namespace Name Mixin selector official s
Lbbh;s(Z)V
intermediary method_5977
Lnet/minecraft/class_1308;method_5977(Z)V
named setAiDisabled
Lnet/minecraft/entity/mob/MobEntity;setAiDisabled(Z)V
-
setLeftHanded
public void setLeftHanded(boolean leftHanded) - Mappings:
Namespace Name Mixin selector official t
Lbbh;t(Z)V
intermediary method_5937
Lnet/minecraft/class_1308;method_5937(Z)V
named setLeftHanded
Lnet/minecraft/entity/mob/MobEntity;setLeftHanded(Z)V
-
setAttacking
public void setAttacking(boolean attacking) - Mappings:
Namespace Name Mixin selector official u
Lbbh;u(Z)V
intermediary method_19540
Lnet/minecraft/class_1308;method_19540(Z)V
named setAttacking
Lnet/minecraft/entity/mob/MobEntity;setAttacking(Z)V
-
isAiDisabled
public boolean isAiDisabled()- Mappings:
Namespace Name Mixin selector official fB
Lbbh;fB()Z
intermediary method_5987
Lnet/minecraft/class_1308;method_5987()Z
named isAiDisabled
Lnet/minecraft/entity/mob/MobEntity;isAiDisabled()Z
-
isLeftHanded
public boolean isLeftHanded()- Mappings:
Namespace Name Mixin selector official fC
Lbbh;fC()Z
intermediary method_5961
Lnet/minecraft/class_1308;method_5961()Z
named isLeftHanded
Lnet/minecraft/entity/mob/MobEntity;isLeftHanded()Z
-
isAttacking
public boolean isAttacking()- Mappings:
Namespace Name Mixin selector official fD
Lbbh;fD()Z
intermediary method_6510
Lnet/minecraft/class_1308;method_6510()Z
named isAttacking
Lnet/minecraft/entity/mob/MobEntity;isAttacking()Z
-
setBaby
public void setBaby(boolean baby) - Mappings:
Namespace Name Mixin selector official a
Lbbh;a(Z)V
intermediary method_7217
Lnet/minecraft/class_1308;method_7217(Z)V
named setBaby
Lnet/minecraft/entity/mob/MobEntity;setBaby(Z)V
-
getMainArm
- Specified by:
getMainArm
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official eT
Lbbf;eT()Lbba;
intermediary method_6068
Lnet/minecraft/class_1309;method_6068()Lnet/minecraft/class_1306;
named getMainArm
Lnet/minecraft/entity/LivingEntity;getMainArm()Lnet/minecraft/util/Arm;
-
squaredAttackRange
- Mappings:
Namespace Name Mixin selector official i
Lbbh;i(Lbbf;)D
intermediary method_33191
Lnet/minecraft/class_1308;method_33191(Lnet/minecraft/class_1309;)D
named squaredAttackRange
Lnet/minecraft/entity/mob/MobEntity;squaredAttackRange(Lnet/minecraft/entity/LivingEntity;)D
-
isInAttackRange
- Mappings:
Namespace Name Mixin selector official j
Lbbh;j(Lbbf;)Z
intermediary method_42150
Lnet/minecraft/class_1308;method_42150(Lnet/minecraft/class_1309;)Z
named isInAttackRange
Lnet/minecraft/entity/mob/MobEntity;isInAttackRange(Lnet/minecraft/entity/LivingEntity;)Z
-
tryAttack
- Overrides:
tryAttack
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official z
Lbbf;z(Lbaq;)Z
intermediary method_6121
Lnet/minecraft/class_1309;method_6121(Lnet/minecraft/class_1297;)Z
named tryAttack
Lnet/minecraft/entity/LivingEntity;tryAttack(Lnet/minecraft/entity/Entity;)Z
-
disablePlayerShield
- Mappings:
Namespace Name Mixin selector official a
Lbbh;a(Lbtf;Lcaa;Lcaa;)V
intermediary method_24521
Lnet/minecraft/class_1308;method_24521(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)V
named disablePlayerShield
Lnet/minecraft/entity/mob/MobEntity;disablePlayerShield(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)V
-
isAffectedByDaylight
protected boolean isAffectedByDaylight()- Mappings:
Namespace Name Mixin selector official fE
Lbbh;fE()Z
intermediary method_5972
Lnet/minecraft/class_1308;method_5972()Z
named isAffectedByDaylight
Lnet/minecraft/entity/mob/MobEntity;isAffectedByDaylight()Z
-
swimUpward
- Overrides:
swimUpward
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official c
Lbbf;c(Lakh;)V
intermediary method_6010
Lnet/minecraft/class_1309;method_6010(Lnet/minecraft/class_6862;)V
named swimUpward
Lnet/minecraft/entity/LivingEntity;swimUpward(Lnet/minecraft/tag/TagKey;)V
-
clearGoalsAndTasks
public void clearGoalsAndTasks()- Mappings:
Namespace Name Mixin selector official fF
Lbbh;fF()V
intermediary method_35056
Lnet/minecraft/class_1308;method_35056()V
named clearGoalsAndTasks
Lnet/minecraft/entity/mob/MobEntity;clearGoalsAndTasks()V
-
removeFromDimension
protected void removeFromDimension()- Overrides:
removeFromDimension
in classEntity
- Mappings:
Namespace Name Mixin selector official ck
Lbaq;ck()V
intermediary method_30076
Lnet/minecraft/class_1297;method_30076()V
named removeFromDimension
Lnet/minecraft/entity/Entity;removeFromDimension()V
-
getPickBlockStack
- Overrides:
getPickBlockStack
in classEntity
- Mappings:
Namespace Name Mixin selector official do
Lbaq;do()Lcaa;
intermediary method_31480
Lnet/minecraft/class_1297;method_31480()Lnet/minecraft/class_1799;
named getPickBlockStack
Lnet/minecraft/entity/Entity;getPickBlockStack()Lnet/minecraft/item/ItemStack;
-
method_44330
- Mappings:
Namespace Name Mixin selector official fG
Lbbh;fG()Ljava/lang/Iterable;
intermediary method_44330
Lnet/minecraft/class_1308;method_44330()Ljava/lang/Iterable;
named method_44330
Lnet/minecraft/entity/mob/MobEntity;method_44330()Ljava/lang/Iterable;
-