History - net.minecraft.entity.mob.MobEntity

26.3-snapshot-3

Names

Fields

Constructors

Methods

26.3-snapshot-2

Names

Fields

Constructors

Methods

26.3-snapshot-1

Names

Fields

Constructors

Methods

26.2

Names

Fields

String: TAG_PERSISTENCE_REQUIRED, field_1_6260, PERSISTENCE_REQUIRED_KEY

Constructors

Methods

void (ItemStack): setBodyArmorItem, method_56678, equipBodyArmor

DamageSource (): lambda$doHurtTarget$0, method_75129, method_75129

boolean (PlayerEntity, Hand, ItemStack): attemptToShearEquipment, method_1_3953, tryRemoveEquipmentByShearing

void (PlayerEntity, Hand, ItemStack, EquipmentSlot, ItemStack): shearItem, method_1_3955, removeEquipmentByShearing

GoalSelector (): getGoalSelector, method_1_3954, getGoalSelector

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

Fields

Constructors

Methods

boolean (EntityType<?>): canAttackType, method_5973, canTarget

ActionResult (PlayerEntity, Hand): interact, method_5688, interact

BrainDebugData (ServerWorld): lambda$registerDebugValues$8, method_74661, method_74661

BrainDebugData (ServerWorld): lambda$registerDebugValues$3, method_74661, method_74661

GoalSelectorDebugData (): lambda$registerDebugValues$7, method_74659, method_74659

GoalSelectorDebugData (): lambda$registerDebugValues$1, method_74659, method_74659

void (List, PrioritizedGoal): lambda$registerDebugValues$6, method_74658, method_74658

void (List, PrioritizedGoal): lambda$registerDebugValues$2, method_74658, method_74658

EntityPathDebugData (): lambda$registerDebugValues$5, method_74660, method_74660

EntityPathDebugData (): lambda$registerDebugValues$0, method_74660, method_74660

boolean (Goal): lambda$removeFreeWill$4, method_47824, method_47824

boolean (Goal): lambda$removeFreeWill$0, method_47824, method_47824

DamageSource (): lambda$doHurtTarget$3, method_75129, method_75129

DamageSource (): lambda$doHurtTarget$0, method_75129, method_75129

void (PlayerEntity, MobEntity): lambda$checkAndHandleImportantInteractions$2, method_24522, method_24522

void (PlayerEntity, MobEntity): lambda$checkAndHandleImportantInteractions$0, method_24522, method_24522

boolean (ItemStack): lambda$dropPreservedEquipment$1, method_60974, method_60974

boolean (ItemStack): lambda$dropPreservedEquipment$0, method_60974, method_60974

LivingEntity (): getTargetUnchecked, method_1_837, getRawTarget

LivingEntity (LivingEntity): asValidTarget, method_1_370, filterTarget

boolean (LivingEntity): canAttack, method_18395, canTarget

ActionResult (PlayerEntity, Hand, Vec3d): interact, method_5688, interact

1.21.11_unobfuscated

Names

net.minecraft.world.entity.Mob

net.minecraft.class_1308

net.minecraft.entity.mob.MobEntity

Fields

TrackedData<Byte>: DATA_MOB_FLAGS_ID, field_6193, MOB_FLAGS

int: MOB_FLAG_NO_AI, field_30088, AI_DISABLED_FLAG

int: MOB_FLAG_LEFTHANDED, field_30089, LEFT_HANDED_FLAG

int: MOB_FLAG_AGGRESSIVE, field_30090, ATTACKING_FLAG

int: PICKUP_REACH, field_30087, MINIMUM_DROPPED_EXPERIENCE_PER_EQUIPMENT

Vec3i: ITEM_PICKUP_REACH, field_38386, ITEM_PICK_UP_RANGE_EXPANDER

List<EquipmentSlot>: EQUIPMENT_POPULATION_ORDER, field_52448, EQUIPMENT_INIT_ORDER

float: MAX_WEARING_ARMOR_CHANCE, field_30091, BASE_SPAWN_EQUIPMENT_CHANCE

float: WEARING_ARMOR_UPGRADE_MATERIAL_CHANCE, field_62909, ARMOR_UPGRADE_CHANCE

float: WEARING_ARMOR_UPGRADE_MATERIAL_ATTEMPTS, field_62910, ARMOR_UPGRADE_ROLLS

float: MAX_PICKUP_LOOT_CHANCE, field_30083, DEFAULT_CAN_PICKUP_LOOT_CHANCE

float: MAX_ENCHANTED_ARMOR_CHANCE, field_30084, BASE_ENCHANTED_ARMOR_CHANCE

float: MAX_ENCHANTED_WEAPON_CHANCE, field_30085, BASE_ENCHANTED_MAIN_HAND_EQUIPMENT_CHANCE

int: UPDATE_GOAL_SELECTOR_EVERY_N_TICKS, field_35039, field_35039

double: DEFAULT_ATTACK_REACH, field_45969, ATTACK_RANGE

boolean: DEFAULT_CAN_PICK_UP_LOOT, field_57591, DEFAULT_CAN_PICK_UP_LOOT

boolean: DEFAULT_PERSISTENCE_REQUIRED, field_57592, DEFAULT_PERSISTENCE_REQUIRED

boolean: DEFAULT_LEFT_HANDED, field_57593, DEFAULT_LEFT_HANDED

boolean: DEFAULT_NO_AI, field_57594, DEFAULT_NO_AI

Identifier: RANDOM_SPAWN_BONUS_ID, field_51997, RANDOM_SPAWN_BONUS_MODIFIER_ID

String: TAG_DROP_CHANCES, field_60545, DROP_CHANCES_KEY

String: TAG_LEFT_HANDED, field_60546, LEFT_HANDED_KEY

String: TAG_CAN_PICK_UP_LOOT, field_60547, CAN_PICK_UP_LOOT_KEY

String: TAG_NO_AI, field_60548, NO_AI_KEY

int: ambientSoundTime, field_6191, ambientSoundChance

int: xpReward, field_6194, experiencePoints

LookControl: lookControl, field_6206, lookControl

MoveControl: moveControl, field_6207, moveControl

JumpControl: jumpControl, field_6204, jumpControl

BodyControl: bodyRotationControl, field_6188, bodyControl

EntityNavigation: navigation, field_6189, navigation

GoalSelector: goalSelector, field_6201, goalSelector

GoalSelector: targetSelector, field_6185, targetSelector

LivingEntity: target, field_6199, target

MobVisibilityCache: sensing, field_6190, visibilityCache

EquipmentDropChances: dropChances, field_55677, equipmentDropChances

boolean: canPickUpLoot, field_6203, canPickUpLoot

boolean: persistenceRequired, field_6200, persistent

Map<PathNodeType, Float>: pathfindingMalus, field_6196, pathfindingPenalties

Optional<RegistryKey<LootTable>>: lootTable, field_6198, lootTable

long: lootTableSeed, field_6184, lootTableSeed

Leashable$LeashData: leashData, field_52221, leashData

BlockPos: homePosition, field_18074, positionTarget

int: homeRadius, field_18075, positionTargetRange

Constructors

(EntityType<? extends MobEntity>, World)

Methods

void (): registerGoals, method_5959, initGoals

DefaultAttributeContainer$Builder (): createMobAttributes, method_26828, createMobAttributes

EntityNavigation (World): createNavigation, method_5965, createNavigation

boolean (): shouldPassengersInheritMalus, method_26323, movesIndependently

float (PathNodeType): getPathfindingMalus, method_5944, getPathfindingPenalty

void (PathNodeType, float): setPathfindingMalus, method_5941, setPathfindingPenalty

void (): onPathfindingStart, method_51504, onStartPathfinding

void (): onPathfindingDone, method_51503, onFinishPathfinding

BodyControl (): createBodyControl, method_5963, createBodyControl

LookControl (): getLookControl, method_5988, getLookControl

MoveControl (): getMoveControl, method_5962, getMoveControl

JumpControl (): getJumpControl, method_5993, getJumpControl

EntityNavigation (): getNavigation, method_5942, getNavigation

LivingEntity (): getControllingPassenger, method_5642, getControllingPassenger

MobVisibilityCache (): getSensing, method_5985, getVisibilityCache

LivingEntity (): getTarget, method_5968, getTarget

LivingEntity (): getTargetFromBrain, method_59664, getTargetInBrain

void (LivingEntity): setTarget, method_5980, setTarget

boolean (EntityType<?>): canAttackType, method_5973, canTarget

boolean (ItemStack): canUseNonMeleeWeapon, method_76695, canUseRangedWeapon

void (): ate, method_5983, onEatingGrass

void (DataTracker$Builder): defineSynchedData, method_5693, initDataTracker

int (): getAmbientSoundInterval, method_5970, getMinAmbientSoundDelay

void (): playAmbientSound, method_5966, playAmbientSound

void (): baseTick, method_5670, baseTick

void (DamageSource): playHurtSound, method_6013, playHurtSound

void (): resetAmbientSoundTime, method_5975, resetSoundDelay

int (ServerWorld): getBaseExperienceReward, method_6110, getExperienceToDrop

void (): spawnAnim, method_5990, playSpawnEffects

void (byte): handleEntityEvent, method_5711, handleStatus

void (): tick, method_5773, tick

void (): updateControlFlags, method_20417, updateGoalControls

void (float): tickHeadTurn, method_6031, turnHead

SoundEvent (): getAmbientSound, method_5994, getAmbientSound

void (WriteView): addAdditionalSaveData, method_5652, writeCustomData

void (ReadView): readAdditionalSaveData, method_5749, readCustomData

void (ServerWorld, DamageSource, boolean): dropFromLootTable, method_16077, dropLoot

Optional<RegistryKey<LootTable>> (): getLootTable, method_5991, getLootTableKey

long (): getLootTableSeed, method_51851, getLootTableSeed

void (float): setZza, method_5930, setForwardSpeed

void (float): setYya, method_5976, setUpwardSpeed

void (float): setXxa, method_5938, setSidewaysSpeed

void (float): setSpeed, method_6125, setMovementSpeed

void (): stopInPlace, method_55695, stopMovement

void (): aiStep, method_6007, tickMovement

EquipmentSlot (): sunProtectionSlot, method_75127, getDaylightProtectionSlot

void (): burnUndead, method_75128, tickBurnInDaylight

boolean (): isSunBurnTick, method_5972, isAffectedByDaylight

Vec3i (): getPickupReach, method_42646, getItemPickUpRangeExpander

void (ServerWorld, ItemEntity): pickUpItem, method_5949, loot

ItemStack (ServerWorld, ItemStack): equipItemIfPossible, method_24523, tryEquip

void (EquipmentSlot, ItemStack): setItemSlotAndDropWhenKilled, method_24834, equipLootStack

boolean (PlayerEntity): canShearEquipment, method_71768, canRemoveSaddle

void (EquipmentSlot): setGuaranteedDrop, method_25939, setDropGuaranteed

boolean (ItemStack, ItemStack, EquipmentSlot): canReplaceCurrentItem, method_5955, prefersNewEquipment

boolean (ItemStack, ItemStack, EquipmentSlot): compareArmor, method_65346, prefersNewArmor

boolean (ItemStack, ItemStack, EquipmentSlot): compareWeapons, method_65347, prefersNewWeapon

double (ItemStack, RegistryEntry<EntityAttribute>, EquipmentSlot): getApproximateAttributeWith, method_63632, getAttributeValueWithStack

boolean (ItemStack, ItemStack): canReplaceEqualItem, method_26320, prefersNewDamageableItem

boolean (ItemStack): canHoldItem, method_5939, canPickupItem

boolean (ServerWorld, ItemStack): wantsToPickUp, method_20820, canGather

TagKey<Item> (): getPreferredWeaponType, method_65345, getPreferredWeapons

boolean (double): removeWhenFarAway, method_5974, canImmediatelyDespawn

boolean (): requiresCustomPersistence, method_17326, cannotDespawn

void (): checkDespawn, method_5982, checkDespawn

void (): serverAiStep, method_6023, tickNewAi

void (ServerWorld): customServerAiStep, method_5958, mobTick

int (): getMaxHeadXRot, method_5978, getMaxLookPitchChange

int (): getMaxHeadYRot, method_5986, getMaxHeadRotation

void (): clampHeadRotationToBody, method_56080, clampHeadYaw

int (): getHeadRotSpeed, method_20240, getMaxLookYawChange

void (Entity, float, float): lookAt, method_5951, lookAtEntity

float (float, float, float): rotlerp, method_5960, changeAngle

boolean (EntityType<? extends MobEntity>, WorldAccess, SpawnReason, BlockPos, Random): checkMobSpawnRules, method_20636, canMobSpawn

boolean (WorldAccess, SpawnReason): checkSpawnRules, method_5979, canSpawn

boolean (WorldView): checkSpawnObstruction, method_5957, canSpawn

int (): getMaxSpawnClusterSize, method_5945, getLimitPerChunk

boolean (int): isMaxGroupSizeReached, method_5969, spawnsTooManyForEachTry

int (): getMaxFallDistance, method_5850, getSafeFallDistance

ItemStack (): getBodyArmorItem, method_56676, getBodyArmor

boolean (): isSaddled, method_66672, hasSaddleEquipped

boolean (): isWearingBodyArmor, method_56677, isWearingBodyArmor

boolean (EquipmentSlot): hasValidEquippableItemForSlot, method_71148, isWearing

void (ItemStack): setBodyArmorItem, method_56678, equipBodyArmor

Inventory (EquipmentSlot): createEquipmentSlotContainer, method_66674, createEquipmentInventory

void (ServerWorld, DamageSource, boolean): dropCustomDeathLoot, method_6099, dropEquipment

EquipmentDropChances (): getDropChances, method_66286, getEquipmentDropChances

void (ServerWorld): dropPreservedEquipment, method_60973, dropAllForeignEquipment

Set<EquipmentSlot> (ServerWorld, Predicate<ItemStack>): dropPreservedEquipment, method_60972, dropForeignEquipment

LootWorldContext (ServerWorld): createEquipmentParams, method_58635, createEquipmentLootParameters

void (EquipmentTable): equip, method_58634, setEquipmentFromTable

void (RegistryKey<LootTable>, Map<EquipmentSlot, Float>): equip, method_59665, setEquipmentFromTable

void (Random, LocalDifficulty): populateDefaultEquipmentSlots, method_5964, initEquipment

Item (EquipmentSlot, int): getEquipmentForSlot, method_5948, getEquipmentForSlot

void (ServerWorldAccess, Random, LocalDifficulty): populateDefaultEquipmentEnchantments, method_5984, updateEnchantments

void (ServerWorldAccess, Random, LocalDifficulty): enchantSpawnedWeapon, method_30759, enchantMainHandItem

void (ServerWorldAccess, Random, EquipmentSlot, LocalDifficulty): enchantSpawnedArmor, method_30758, enchantEquipment

void (ServerWorldAccess, EquipmentSlot, Random, float, LocalDifficulty): enchantSpawnedEquipment, method_59927, enchantEquipment

EntityData (ServerWorldAccess, LocalDifficulty, SpawnReason, EntityData): finalizeSpawn, method_5943, initialize

void (): setPersistenceRequired, method_5971, setPersistent

void (EquipmentSlot, float): setDropChance, method_5946, setEquipmentDropChance

boolean (): canPickUpLoot, method_5936, canPickUpLoot

void (boolean): setCanPickUpLoot, method_5952, setCanPickUpLoot

boolean (EquipmentSlot): canDispenserEquipIntoSlot, method_63626, canDispenserEquipSlot

boolean (): isPersistenceRequired, method_5947, isPersistent

ActionResult (PlayerEntity, Hand): interact, method_5688, interact

ActionResult (PlayerEntity, Hand): checkAndHandleImportantInteractions, method_29506, interactWithItem

void (PlayerEntity, MobEntity): onOffspringSpawnedFromEgg, method_18249, onPlayerSpawnedChild

ActionResult (PlayerEntity, Hand): mobInteract, method_5992, interactMob

void (PlayerEntity, Hand, ItemStack): usePlayerItem, method_6475, eat

boolean (): isWithinHome, method_18411, isInPositionTargetRange

boolean (BlockPos): isWithinHome, method_18407, isInPositionTargetRange

boolean (Vec3d): isWithinHome, method_70676, isInPositionTargetRange

void (BlockPos, int): setHomeTo, method_18408, setPositionTarget

BlockPos (): getHomePosition, method_18412, getPositionTarget

int (): getHomeRadius, method_18413, getPositionTargetRange

void (): clearHome, method_35055, clearPositionTarget

boolean (): hasHome, method_18410, hasPositionTarget

<T extends MobEntity> T (EntityType<T>, EntityConversionContext, SpawnReason, EntityConversionContext$Finalizer<T>): convertTo, method_63631, convertTo

<T extends MobEntity> T (EntityType<T>, EntityConversionContext, EntityConversionContext$Finalizer<T>): convertTo, method_29243, convertTo

Leashable$LeashData (): getLeashData, method_60955, getLeashData

void (): resetAngularLeashMomentum, method_71614, resetLeashMomentum

void (Leashable$LeashData): setLeashData, method_60960, setLeashData

void (): onLeashRemoved, method_65895, onLeashRemoved

void (): leashTooFarBehaviour, method_60970, snapLongLeash

boolean (): canBeLeashed, method_5931, canBeLeashed

boolean (Entity, boolean, boolean): startRiding, method_5873, startRiding

boolean (): isEffectiveAi, method_6034, canActVoluntarily

void (boolean): setNoAi, method_5977, setAiDisabled

void (boolean): setLeftHanded, method_5937, setLeftHanded

void (boolean): setAggressive, method_19540, setAttacking

boolean (): isNoAi, method_5987, isAiDisabled

boolean (): isLeftHanded, method_5961, isLeftHanded

boolean (): isAggressive, method_6510, isAttacking

void (boolean): setBaby, method_7217, setBaby

Arm (): getMainArm, method_6068, getMainArm

boolean (LivingEntity): isWithinMeleeAttackRange, method_42150, isInAttackRange

Box (double): getAttackBoundingBox, method_53511, getAttackBox

boolean (ServerWorld, Entity): doHurtTarget, method_6121, tryAttack

void (TagKey<Fluid>): jumpInLiquid, method_6010, swimUpward

void (): removeFreeWill, method_35056, clearGoalsAndTasks

void (Predicate<Goal>): removeAllGoals, method_47825, clearGoals

void (): removeAfterChangingDimensions, method_30076, removeFromDimension

ItemStack (): getPickResult, method_31480, getPickBlockStack

void (RegistryEntry<EntityAttribute>): onAttributeUpdated, method_52540, updateAttribute

void (ServerWorld, DebugTrackable$Tracker): registerDebugValues, method_74589, registerTracking

float (): chargeSpeedModifier, method_76091, getRiderChargingSpeedMultiplier

BrainDebugData (ServerWorld): lambda$registerDebugValues$8, method_74661, method_74661

GoalSelectorDebugData (): lambda$registerDebugValues$7, method_74659, method_74659

void (List, PrioritizedGoal): lambda$registerDebugValues$6, method_74658, method_74658

EntityPathDebugData (): lambda$registerDebugValues$5, method_74660, method_74660

boolean (Goal): lambda$removeFreeWill$4, method_47824, method_47824

DamageSource (): lambda$doHurtTarget$3, method_75129, method_75129

void (PlayerEntity, MobEntity): lambda$checkAndHandleImportantInteractions$2, method_24522, method_24522

boolean (ItemStack): lambda$dropPreservedEquipment$1, method_60974, method_60974

void (WriteView, RegistryKey): lambda$addAdditionalSaveData$0, method_67651, method_67651