Uses of Class
net.minecraft.world.entity.Mob
Package
Description
-
Uses of Mob in net.minecraft.client.model
Modifier and TypeClassDescriptionclass
HoglinModel<T extends Mob & HoglinBase>
class
PiglinModel<T extends Mob>
class
SkeletonModel<T extends Mob & RangedAttackMob>
Modifier and TypeMethodDescriptionstatic <T extends Mob>
voidAnimationUtils.swingWeaponDown(ModelPart p_102092_, ModelPart p_102093_, T p_102094_, float p_102095_, float p_102096_)
-
Uses of Mob in net.minecraft.client.renderer.entity
Modifier and TypeClassDescriptionclass
HumanoidMobRenderer<T extends Mob,M extends HumanoidModel<T>>
class
MobRenderer<T extends Mob,M extends EntityModel<T>>
Modifier and TypeMethodDescriptionprivate static PiglinModel<Mob>
PiglinRenderer.createModel(EntityModelSet p_174350_, ModelLayerLocation p_174351_, boolean p_174352_)
Modifier and TypeMethodDescriptionPiglinRenderer.getTextureLocation(Mob p_115708_)
protected boolean
-
Uses of Mob in net.minecraft.client.renderer.entity.layers
Modifier and TypeClassDescriptionclass
StrayClothingLayer<T extends Mob & RangedAttackMob,M extends EntityModel<T>>
-
Uses of Mob in net.minecraft.gametest.framework
Modifier and TypeMethodDescription<E extends Mob>
EGameTestHelper.spawnWithNoFreeWill(EntityType<E> p_177317_, float p_177318_, float p_177319_, float p_177320_)
<E extends Mob>
EGameTestHelper.spawnWithNoFreeWill(EntityType<E> p_177322_, int p_177323_, int p_177324_, int p_177325_)
<E extends Mob>
EGameTestHelper.spawnWithNoFreeWill(EntityType<E> p_177330_, BlockPos p_177331_)
<E extends Mob>
EGameTestHelper.spawnWithNoFreeWill(EntityType<E> p_177327_, Vec3 p_177328_)
Modifier and TypeMethodDescription -
Uses of Mob in net.minecraft.network.protocol.game
Modifier and TypeMethodDescriptionstatic void
DebugPackets.sendGoalSelector(Level p_133700_, Mob p_133701_, GoalSelector p_133702_)
static void
DebugPackets.sendPathFindingPacket(Level p_133704_, Mob p_133705_, Path p_133706_, float p_133707_)
-
Uses of Mob in net.minecraft.server.level
-
Uses of Mob in net.minecraft.world.entity
Modifier and TypeClassDescriptionclass
class
class
class
class
Modifier and TypeMethodDescription<T extends Mob>
TMob.convertTo(EntityType<T> p_21407_, boolean p_21408_)
static <T extends Mob>
voidSpawnPlacements.register(EntityType<T> p_21755_, SpawnPlacements.Type p_21756_, Heightmap.Types p_21757_, SpawnPlacements.SpawnPredicate<T> p_21758_)
Modifier and TypeMethodDescriptionprotected void
Mob.onOffspringSpawnedFromEgg(Player p_21422_, Mob p_21423_)
default boolean
ItemSteerable.travel(Mob p_20855_, ItemBasedSteering p_20856_, Vec3 p_20857_)
Modifier and TypeMethodDescriptionstatic boolean
Mob.checkMobSpawnRules(EntityType<? extends Mob> p_21401_, LevelAccessor p_21402_, MobSpawnType p_21403_, BlockPos p_21404_, Random p_21405_)
static SpawnPlacements.Type
SpawnPlacements.Type.create(String name, TriPredicate<LevelReader,BlockPos,EntityType<? extends Mob>> predicate)
-
Uses of Mob in net.minecraft.world.entity.ai.behavior
Modifier and TypeClassDescriptionclass
BackUpIfTooClose<E extends Mob>
class
CopyMemoryWithExpiry<E extends Mob,T>
class
CrossbowAttack<E extends Mob & CrossbowAttackMob,T extends LivingEntity>
class
GoToCelebrateLocation<E extends Mob>
class
LongJumpToRandomPos<E extends Mob>
class
StartAttacking<E extends Mob>
class
StopAttackingIfTargetInvalid<E extends Mob>
class
StopBeingAngryIfTargetDead<E extends Mob>
Modifier and TypeMethodDescriptionLongJumpToRandomPos.calculateJumpVectorForAngle(Mob p_147660_, Vec3 p_147661_, int p_147662_)
LongJumpToRandomPos.calculateOptimalJumpVector(Mob p_147657_, Vec3 p_147658_)
protected boolean
JumpOnBed.canStillUse(ServerLevel p_23383_, Mob p_23384_, long p_23385_)
protected boolean
LongJumpMidJump.canStillUse(ServerLevel p_147603_, Mob p_147604_, long p_147605_)
protected boolean
LongJumpToRandomPos.canStillUse(ServerLevel p_147653_, Mob p_147654_, long p_147655_)
protected boolean
LookAtTargetSink.canStillUse(ServerLevel p_23481_, Mob p_23482_, long p_23483_)
protected boolean
MoveToTargetSink.canStillUse(ServerLevel p_23586_, Mob p_23587_, long p_23588_)
protected boolean
Swim.canStillUse(ServerLevel p_24391_, Mob p_24392_, long p_24393_)
protected boolean
JumpOnBed.checkExtraStartConditions(ServerLevel p_23346_, Mob p_23347_)
protected boolean
LongJumpToRandomPos.checkExtraStartConditions(ServerLevel p_147650_, Mob p_147651_)
protected boolean
MeleeAttack.checkExtraStartConditions(ServerLevel p_23521_, Mob p_23522_)
protected boolean
MoveToTargetSink.checkExtraStartConditions(ServerLevel p_23583_, Mob p_23584_)
protected boolean
Swim.checkExtraStartConditions(ServerLevel p_24388_, Mob p_24389_)
private LivingEntity
MeleeAttack.getAttackTarget(Mob p_23533_)
private static BlockPos
GoToCelebrateLocation.getCelebrateLocation(Mob p_23068_)
private static BlockPos
GoToCelebrateLocation.getNearbyPos(Mob p_23070_, BlockPos p_23071_)
JumpOnBed.getNearestBed(Mob p_23360_)
private boolean
LongJumpToRandomPos.isClearTransition(Mob p_147664_, Vec3 p_147665_, Vec3 p_147666_)
private boolean
MeleeAttack.isHoldingUsableProjectileWeapon(Mob p_23528_)
static boolean
BehaviorUtils.isWithinAttackRange(Mob p_22633_, LivingEntity p_22634_, int p_22635_)
static boolean
BehaviorUtils.isWithinMeleeAttackRange(Mob p_147442_, LivingEntity p_147443_)
private void
CrossbowAttack.lookAtTarget(Mob p_22798_, LivingEntity p_22799_)
private boolean
JumpOnBed.nearBed(ServerLevel p_23369_, Mob p_23370_)
private boolean
JumpOnBed.onBedSurface(ServerLevel p_23391_, Mob p_23392_)
private boolean
JumpOnBed.onOrOverBed(ServerLevel p_23380_, Mob p_23381_)
private boolean
MoveToTargetSink.reachedTarget(Mob p_23590_, WalkTarget p_23591_)
protected void
GoToCelebrateLocation.start(ServerLevel p_23064_, Mob p_23065_, long p_23066_)
protected void
JumpOnBed.start(ServerLevel p_23349_, Mob p_23350_, long p_23351_)
protected void
LongJumpMidJump.start(ServerLevel p_147611_, Mob p_147612_, long p_147613_)
protected void
LongJumpToRandomPos.start(ServerLevel p_147676_, Mob p_147677_, long p_147678_)
protected void
MeleeAttack.start(ServerLevel p_23524_, Mob p_23525_, long p_23526_)
protected void
MoveToTargetSink.start(ServerLevel p_23609_, Mob p_23610_, long p_23611_)
protected void
SetWalkTargetFromAttackTargetIfTargetOutOfReach.start(ServerLevel p_24032_, Mob p_24033_, long p_24034_)
private void
JumpOnBed.startWalkingTowardsBed(Mob p_23362_, BlockPos p_23363_)
protected void
JumpOnBed.stop(ServerLevel p_23372_, Mob p_23373_, long p_23374_)
protected void
LongJumpMidJump.stop(ServerLevel p_147619_, Mob p_147620_, long p_147621_)
protected void
LookAtTargetSink.stop(ServerLevel p_23492_, Mob p_23493_, long p_23494_)
protected void
MoveToTargetSink.stop(ServerLevel p_23601_, Mob p_23602_, long p_23603_)
protected void
JumpOnBed.tick(ServerLevel p_23394_, Mob p_23395_, long p_23396_)
protected void
LookAtTargetSink.tick(ServerLevel p_23503_, Mob p_23504_, long p_23505_)
protected void
MoveToTargetSink.tick(ServerLevel p_23617_, Mob p_23618_, long p_23619_)
protected void
Swim.tick(ServerLevel p_24399_, Mob p_24400_, long p_24401_)
private boolean
JumpOnBed.tiredOfJumping(ServerLevel p_23401_, Mob p_23402_)
private boolean
JumpOnBed.tiredOfWalking(ServerLevel p_23398_, Mob p_23399_)
private boolean
MoveToTargetSink.tryComputePath(Mob p_23593_, WalkTarget p_23594_, long p_23595_)
-
Uses of Mob in net.minecraft.world.entity.ai.control
Modifier and TypeFieldDescriptionprivate Mob
BodyRotationControl.mob
private Mob
JumpControl.mob
protected Mob
LookControl.mob
protected Mob
MoveControl.mob
ModifierConstructorDescriptionBodyRotationControl(Mob p_24879_)
FlyingMoveControl(Mob p_24893_, int p_24894_, boolean p_24895_)
JumpControl(Mob p_24900_)
LookControl(Mob p_24945_)
MoveControl(Mob p_24983_)
SmoothSwimmingLookControl(Mob p_148061_, int p_148062_)
SmoothSwimmingMoveControl(Mob p_148070_, int p_148071_, int p_148072_, float p_148073_, float p_148074_, boolean p_148075_)
-
Uses of Mob in net.minecraft.world.entity.ai.goal
Modifier and TypeClassDescriptionclass
RangedBowAttackGoal<T extends Mob & RangedAttackMob>
class
UseItemGoal<T extends Mob>
Modifier and TypeFieldDescriptionprivate Mob
FollowMobGoal.followingMob
protected Mob
DoorInteractGoal.mob
private Mob
EatBlockGoal.mob
private Mob
FloatGoal.mob
private Mob
FollowMobGoal.mob
private Mob
LeapAtTargetGoal.mob
protected Mob
LookAtPlayerGoal.mob
private Mob
OcelotAttackGoal.mob
private Mob
RandomLookAroundGoal.mob
private Mob
RangedAttackGoal.mob
private T
RangedBowAttackGoal.mob
private T
UseItemGoal.mob
private Mob
RemoveBlockGoal.removerMob
ModifierConstructorDescriptionBreakDoorGoal(Mob p_25087_, int p_25088_, Predicate<Difficulty> p_25089_)
BreakDoorGoal(Mob p_25091_, Predicate<Difficulty> p_25092_)
DoorInteractGoal(Mob p_25193_)
EatBlockGoal(Mob p_25207_)
FollowMobGoal(Mob p_25271_, double p_25272_, float p_25273_, float p_25274_)
InteractGoal(Mob p_148111_, Class<? extends LivingEntity> p_148112_, float p_148113_)
InteractGoal(Mob p_25415_, Class<? extends LivingEntity> p_25416_, float p_25417_, float p_25418_)
LeapAtTargetGoal(Mob p_25492_, float p_25493_)
LookAtPlayerGoal(Mob p_25520_, Class<? extends LivingEntity> p_25521_, float p_25522_)
LookAtPlayerGoal(Mob p_25524_, Class<? extends LivingEntity> p_25525_, float p_25526_, float p_25527_)
LookAtPlayerGoal(Mob p_148118_, Class<? extends LivingEntity> p_148119_, float p_148120_, float p_148121_, boolean p_148122_)
OcelotAttackGoal(Mob p_25658_)
OpenDoorGoal(Mob p_25678_, boolean p_25679_)
RandomLookAroundGoal(Mob p_25720_)
-
Uses of Mob in net.minecraft.world.entity.ai.goal.target
Modifier and TypeFieldDescriptionprivate T
ResetUniversalAngerTargetGoal.mob
protected Mob
TargetGoal.mob
Modifier and TypeMethodDescriptionprotected void
HurtByTargetGoal.alertOther(Mob p_26042_, LivingEntity p_26043_)
ModifierConstructorDescriptionNearestAttackableTargetGoal(Mob p_26060_, Class<T> p_26061_, boolean p_26062_)
NearestAttackableTargetGoal(Mob p_26064_, Class<T> p_26065_, boolean p_26066_, boolean p_26067_)
NearestAttackableTargetGoal(Mob p_26053_, Class<T> p_26054_, int p_26055_, boolean p_26056_, boolean p_26057_, Predicate<LivingEntity> p_26058_)
TargetGoal(Mob p_26140_, boolean p_26141_)
TargetGoal(Mob p_26143_, boolean p_26144_, boolean p_26145_)
-
Uses of Mob in net.minecraft.world.entity.ai.memory
Modifier and TypeFieldDescriptionstatic MemoryModuleType<Mob>
MemoryModuleType.NEAREST_VISIBLE_NEMESIS
-
Uses of Mob in net.minecraft.world.entity.ai.sensing
Modifier and TypeMethodDescriptionprotected void
NearestBedSensor.doTick(ServerLevel p_26685_, Mob p_26686_)
protected void
NearestItemSensor.doTick(ServerLevel p_26697_, Mob p_26698_)
-
Uses of Mob in net.minecraft.world.entity.ai.util
Modifier and TypeMethodDescriptionstatic boolean
GoalUtils.hasGroundPathNavigation(Mob p_26895_)
-
Uses of Mob in net.minecraft.world.entity.ambient
-
Uses of Mob in net.minecraft.world.entity.animal
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeMethodDescriptionprotected void
Bee.BeeHurtByOtherGoal.alertOther(Mob p_28035_, LivingEntity p_28036_)
protected void
Panda.PandaHurtByTargetGoal.alertOther(Mob p_29295_, LivingEntity p_29296_)
protected void
PolarBear.PolarBearHurtByTargetGoal.alertOther(Mob p_29580_, LivingEntity p_29581_)
static void
Bucketable.loadDefaultDataFromBucketTag(Mob p_148826_, CompoundTag p_148827_)
Deprecated.protected void
Fox.onOffspringSpawnedFromEgg(Player p_28481_, Mob p_28482_)
static void
Bucketable.saveDefaultDataToBucketTag(Mob p_148823_, ItemStack p_148824_)
Deprecated.private void
ModifierConstructorDescription(package private)
BeeLookControl(Mob p_28059_)
FoxLookAtPlayerGoal(Mob p_28707_, Class<? extends LivingEntity> p_28708_, float p_28709_)
-
Uses of Mob in net.minecraft.world.entity.animal.axolotl
-
Uses of Mob in net.minecraft.world.entity.animal.goat
-
Uses of Mob in net.minecraft.world.entity.animal.horse
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
-
Uses of Mob in net.minecraft.world.entity.boss.enderdragon
-
Uses of Mob in net.minecraft.world.entity.boss.wither
-
Uses of Mob in net.minecraft.world.entity.monster
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeMethodDescriptionvoid
private SpawnGroupData
Strider.spawnJockey(ServerLevelAccessor p_33882_, DifficultyInstance p_33883_, Mob p_33884_, SpawnGroupData p_33885_)
ModifierConstructorDescriptionPhantomBodyRotationControl(Mob p_33216_)
PhantomLookControl(Mob p_33235_)
PhantomMoveControl(Mob p_33241_)
RavagerNavigation(Mob p_33379_, Level p_33380_)
ShulkerBodyRotationControl(Mob p_149816_)
ShulkerLookControl(Mob p_149820_)
VindicatorBreakDoorGoal(Mob p_34112_)
-
Uses of Mob in net.minecraft.world.entity.monster.hoglin
-
Uses of Mob in net.minecraft.world.entity.monster.piglin
-
Uses of Mob in net.minecraft.world.entity.npc
-
Uses of Mob in net.minecraft.world.entity.raid
-
Uses of Mob in net.minecraft.world.item
Modifier and TypeFieldDescriptionprivate static Map<EntityType<? extends Mob>,SpawnEggItem>
SpawnEggItem.BY_ID
Modifier and TypeMethodDescriptionSpawnEggItem.spawnOffspringFromSpawnEgg(Player p_43216_, Mob p_43217_, EntityType<? extends Mob> p_43218_, ServerLevel p_43219_, Vec3 p_43220_, ItemStack p_43221_)
Modifier and TypeMethodDescriptionSpawnEggItem.spawnOffspringFromSpawnEgg(Player p_43216_, Mob p_43217_, EntityType<? extends Mob> p_43218_, ServerLevel p_43219_, Vec3 p_43220_, ItemStack p_43221_)
Modifier and TypeMethodDescriptionSpawnEggItem.spawnOffspringFromSpawnEgg(Player p_43216_, Mob p_43217_, EntityType<? extends Mob> p_43218_, ServerLevel p_43219_, Vec3 p_43220_, ItemStack p_43221_)
ModifierConstructorDescriptionSpawnEggItem(EntityType<? extends Mob> p_43207_, int p_43208_, int p_43209_, Item.Properties p_43210_)
Deprecated. -
Uses of Mob in net.minecraft.world.level
Modifier and TypeMethodDescriptionprivate static Mob
NaturalSpawner.getMobForSpawn(ServerLevel p_46989_, EntityType<?> p_46990_)
Modifier and TypeMethodDescriptionprivate void
NaturalSpawner.SpawnState.afterSpawn(Mob p_47132_, ChunkAccess p_47133_)
private static boolean
NaturalSpawner.isValidPositionForMob(ServerLevel p_46992_, Mob p_46993_, double p_46994_)
void
NaturalSpawner.AfterSpawnCallback.run(Mob p_47101_, ChunkAccess p_47102_)
-
Uses of Mob in net.minecraft.world.level.pathfinder
Modifier and TypeMethodDescriptionPathFinder.findPath(PathNavigationRegion p_77428_, Mob p_77429_, Set<BlockPos> p_77430_, float p_77431_, int p_77432_, float p_77433_)
FlyNodeEvaluator.getBlockPathType(BlockGetter p_77250_, int p_77251_, int p_77252_, int p_77253_, Mob p_77254_, int p_77255_, int p_77256_, int p_77257_, boolean p_77258_, boolean p_77259_)
abstract BlockPathTypes
NodeEvaluator.getBlockPathType(BlockGetter p_77337_, int p_77338_, int p_77339_, int p_77340_, Mob p_77341_, int p_77342_, int p_77343_, int p_77344_, boolean p_77345_, boolean p_77346_)
SwimNodeEvaluator.getBlockPathType(BlockGetter p_77472_, int p_77473_, int p_77474_, int p_77475_, Mob p_77476_, int p_77477_, int p_77478_, int p_77479_, boolean p_77480_, boolean p_77481_)
private BlockPathTypes
WalkNodeEvaluator.getBlockPathType(Mob p_77573_, BlockPos p_77574_)
WalkNodeEvaluator.getBlockPathType(BlockGetter p_77594_, int p_77595_, int p_77596_, int p_77597_, Mob p_77598_, int p_77599_, int p_77600_, int p_77601_, boolean p_77602_, boolean p_77603_)
protected BlockPathTypes
WalkNodeEvaluator.getCachedBlockType(Mob p_77568_, int p_77569_, int p_77570_, int p_77571_)
void
AmphibiousNodeEvaluator.prepare(PathNavigationRegion p_164671_, Mob p_164672_)
void
FlyNodeEvaluator.prepare(PathNavigationRegion p_77261_, Mob p_77262_)
void
NodeEvaluator.prepare(PathNavigationRegion p_77347_, Mob p_77348_)
void
WalkNodeEvaluator.prepare(PathNavigationRegion p_77620_, Mob p_77621_)
-
Uses of Mob in net.minecraftforge.common
Modifier and TypeFieldDescriptionprivate static Map<EntityType<? extends Mob>,ForgeSpawnEggItem>
ForgeSpawnEggItem.TYPE_MAP
private Supplier<? extends EntityType<? extends Mob>>
ForgeSpawnEggItem.typeSupplier
Modifier and TypeMethodDescriptionstatic int
ForgeHooks.canEntitySpawn(Mob entity, LevelAccessor world, double x, double y, double z, BaseSpawner spawner, MobSpawnType spawnReason)
ModifierConstructorDescriptionForgeSpawnEggItem(Supplier<? extends EntityType<? extends Mob>> type, int backgroundColor, int highlightColor, Item.Properties props)
-
Uses of Mob in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault BlockPathTypes
IForgeBlock.getAiPathNodeType(BlockState state, BlockGetter world, BlockPos pos, Mob entity)
Get thePathNodeType
for this block.default BlockPathTypes
IForgeBlockState.getAiPathNodeType(BlockGetter world, BlockPos pos, Mob entity)
Get thePathNodeType
for this block.default void
IForgeItem.onHorseArmorTick(ItemStack stack, Level world, Mob horse)
Called every tick fromHorse#playGallopSound(SoundEvent)
on the item in the armor slot.default void
IForgeItemStack.onHorseArmorTick(Level world, Mob horse)
Called every tick fromHorse#playGallopSound(SoundEvent)
on the item in the armor slot. -
Uses of Mob in net.minecraftforge.debug.entity
-
Uses of Mob in net.minecraftforge.event
Modifier and TypeMethodDescriptionstatic net.minecraftforge.eventbus.api.Event.Result
ForgeEventFactory.canEntityDespawn(Mob entity)
static net.minecraftforge.eventbus.api.Event.Result
ForgeEventFactory.canEntitySpawn(Mob entity, LevelAccessor world, double x, double y, double z, BaseSpawner spawner, MobSpawnType spawnReason)
static boolean
ForgeEventFactory.canEntitySpawnSpawner(Mob entity, Level world, float x, float y, float z, BaseSpawner spawner)
static boolean
ForgeEventFactory.doSpecialSpawn(Mob entity, Level world, float x, float y, float z, BaseSpawner spawner, MobSpawnType spawnReason)
static int
ForgeEventFactory.getMaxSpawnPackSize(Mob entity)
-
Uses of Mob in net.minecraftforge.event.entity.living
Modifier and TypeFieldDescriptionprivate Mob
BabyEntitySpawnEvent.parentA
private Mob
BabyEntitySpawnEvent.parentB
Modifier and TypeMethodDescriptionBabyEntitySpawnEvent.getParentA()
BabyEntitySpawnEvent.getParentB()
ModifierConstructorDescriptionAllowDespawn(Mob entity)
BabyEntitySpawnEvent(Mob parentA, Mob parentB, AgeableMob proposedChild)
CheckSpawn(Mob entity, LevelAccessor world, double x, double y, double z, BaseSpawner spawner, MobSpawnType spawnReason)
CheckSpawn is fired when an Entity is about to be spawned.LivingPackSizeEvent(Mob entity)
LivingSpawnEvent(Mob entity, LevelAccessor world, double x, double y, double z)
SpecialSpawn(Mob entity, Level world, double x, double y, double z, BaseSpawner spawner, MobSpawnType spawnReason)
ForgeSpawnEggItem
instead for suppliers