Uses of Class
net.minecraft.world.entity.Mob
Packages that use Mob
Package
Description
-
Uses of Mob in net.minecraft.client.model
Classes in net.minecraft.client.model with type parameters of type MobModifier and TypeClassDescriptionclassHoglinModel<T extends Mob & HoglinBase>classPiglinModel<T extends Mob>classSkeletonModel<T extends Mob & RangedAttackMob>Methods in net.minecraft.client.model with type parameters of type MobModifier 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
Classes in net.minecraft.client.renderer.entity with type parameters of type MobModifier and TypeClassDescriptionclassHumanoidMobRenderer<T extends Mob,M extends HumanoidModel<T>> classMobRenderer<T extends Mob,M extends EntityModel<T>> Methods in net.minecraft.client.renderer.entity that return types with arguments of type MobModifier and TypeMethodDescriptionprivate static PiglinModel<Mob> PiglinRenderer.createModel(EntityModelSet p_174350_, ModelLayerLocation p_174351_, boolean p_174352_) Methods in net.minecraft.client.renderer.entity with parameters of type MobModifier and TypeMethodDescriptionPiglinRenderer.getTextureLocation(Mob p_115708_) protected boolean -
Uses of Mob in net.minecraft.client.renderer.entity.layers
Classes in net.minecraft.client.renderer.entity.layers with type parameters of type MobModifier and TypeClassDescriptionclassSkeletonClothingLayer<T extends Mob & RangedAttackMob,M extends EntityModel<T>> -
Uses of Mob in net.minecraft.gametest.framework
Methods in net.minecraft.gametest.framework with type parameters of type MobModifier 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_) Methods in net.minecraft.gametest.framework with parameters of type Mob -
Uses of Mob in net.minecraft.network.protocol.game
Methods in net.minecraft.network.protocol.game with parameters of type MobModifier and TypeMethodDescriptionstatic voidDebugPackets.sendGoalSelector(Level p_133700_, Mob p_133701_, GoalSelector p_133702_) static voidDebugPackets.sendPathFindingPacket(Level p_133704_, Mob p_133705_, Path p_133706_, float p_133707_) -
Uses of Mob in net.minecraft.server.level
Fields in net.minecraft.server.level with type parameters of type Mob -
Uses of Mob in net.minecraft.util
Methods in net.minecraft.util with type parameters of type MobModifier and TypeMethodDescriptionSpawnUtil.trySpawnMob(EntityType<T> p_216404_, MobSpawnType p_216405_, ServerLevel p_216406_, BlockPos p_216407_, int p_216408_, int p_216409_, int p_216410_, SpawnUtil.Strategy p_216411_) -
Uses of Mob in net.minecraft.world.entity
Subclasses of Mob in net.minecraft.world.entityModifier and TypeClassDescriptionclassclassclassclassclassMethods in net.minecraft.world.entity with type parameters of type MobModifier and TypeMethodDescription<T extends Mob>
TMob.convertTo(EntityType<T> p_21407_, boolean p_21408_) private static <T extends Mob>
voidSpawnPlacements.register(EntityType<T> p_21755_, SpawnPlacementType p_321847_, Heightmap.Types p_21757_, SpawnPlacements.SpawnPredicate<T> p_21758_) Methods in net.minecraft.world.entity with parameters of type MobModifier and TypeMethodDescriptionprotected voidMob.onOffspringSpawnedFromEgg(Player p_21422_, Mob p_21423_) Method parameters in net.minecraft.world.entity with type arguments of type MobModifier and TypeMethodDescriptionstatic booleanMob.checkMobSpawnRules(EntityType<? extends Mob> p_217058_, LevelAccessor p_217059_, MobSpawnType p_217060_, BlockPos p_217061_, RandomSource p_217062_) Constructor parameters in net.minecraft.world.entity with type arguments of type Mob -
Uses of Mob in net.minecraft.world.entity.ai.behavior
Classes in net.minecraft.world.entity.ai.behavior with type parameters of type MobModifier and TypeClassDescriptionclassCrossbowAttack<E extends Mob & CrossbowAttackMob,T extends LivingEntity> classLongJumpToPreferredBlock<E extends Mob>classLongJumpToRandomPos<E extends Mob>Methods in net.minecraft.world.entity.ai.behavior with type parameters of type MobModifier and TypeMethodDescriptionGoToTargetLocation.create(MemoryModuleType<BlockPos> p_259938_, int p_259740_, float p_259957_) static <E extends Mob>
BehaviorControl<E> StartAttacking.create(Function<E, Optional<? extends LivingEntity>> p_259868_) static <E extends Mob>
BehaviorControl<E> StartAttacking.create(Predicate<E> p_259618_, Function<E, Optional<? extends LivingEntity>> p_259435_) static <E extends Mob>
BehaviorControl<E> StopAttackingIfTargetInvalid.create()static <E extends Mob>
BehaviorControl<E> StopAttackingIfTargetInvalid.create(BiConsumer<E, LivingEntity> p_260165_) static <E extends Mob>
BehaviorControl<E> StopAttackingIfTargetInvalid.create(Predicate<LivingEntity> p_259762_) static <E extends Mob>
BehaviorControl<E> StopAttackingIfTargetInvalid.create(Predicate<LivingEntity> p_260357_, BiConsumer<E, LivingEntity> p_259568_, boolean p_260319_) static <E extends Mob>
booleanLongJumpToRandomPos.defaultAcceptableLandingSpot(E p_251540_, BlockPos p_248879_) Methods in net.minecraft.world.entity.ai.behavior that return types with arguments of type MobModifier and TypeMethodDescriptionBackUpIfTooClose.create(int p_259782_, float p_259071_) MeleeAttack.create(int p_259758_) static BehaviorControl<Mob> SetWalkTargetFromAttackTargetIfTargetOutOfReach.create(float p_259228_) static BehaviorControl<Mob> SetWalkTargetFromAttackTargetIfTargetOutOfReach.create(Function<LivingEntity, Float> p_259507_) Methods in net.minecraft.world.entity.ai.behavior with parameters of type MobModifier and TypeMethodDescriptionLongJumpUtil.calculateJumpVectorForAngle(Mob p_311799_, Vec3 p_312876_, float p_312407_, int p_311991_, boolean p_312784_) protected Vec3LongJumpToRandomPos.calculateOptimalJumpVector(Mob p_217304_, Vec3 p_217305_) protected booleanJumpOnBed.canStillUse(ServerLevel p_23383_, Mob p_23384_, long p_23385_) protected booleanLongJumpMidJump.canStillUse(ServerLevel p_147603_, Mob p_147604_, long p_147605_) protected booleanLongJumpToRandomPos.canStillUse(ServerLevel p_147653_, Mob p_147654_, long p_147655_) protected booleanLookAtTargetSink.canStillUse(ServerLevel p_23481_, Mob p_23482_, long p_23483_) protected booleanMoveToTargetSink.canStillUse(ServerLevel p_23586_, Mob p_23587_, long p_23588_) protected booleanSwim.canStillUse(ServerLevel p_24391_, Mob p_24392_, long p_24393_) protected booleanJumpOnBed.checkExtraStartConditions(ServerLevel p_23346_, Mob p_23347_) protected booleanLongJumpToRandomPos.checkExtraStartConditions(ServerLevel p_147650_, Mob p_147651_) protected booleanMoveToTargetSink.checkExtraStartConditions(ServerLevel p_23583_, Mob p_23584_) protected booleanSwim.checkExtraStartConditions(ServerLevel p_24388_, Mob p_24389_) static PathAcquirePoi.findPathToPois(Mob p_217098_, Set<com.mojang.datafixers.util.Pair<Holder<PoiType>, BlockPos>> p_217099_) private static BlockPosGoToTargetLocation.getNearbyPos(Mob p_217251_, BlockPos p_217252_) JumpOnBed.getNearestBed(Mob p_23360_) private static booleanLongJumpUtil.isClearTransition(Mob p_312910_, EntityDimensions p_312734_, Vec3 p_311995_, Vec3 p_312896_) private static booleanMeleeAttack.isHoldingUsableProjectileWeapon(Mob p_23528_) static booleanBehaviorUtils.isWithinAttackRange(Mob p_22633_, LivingEntity p_22634_, int p_22635_) private voidCrossbowAttack.lookAtTarget(Mob p_22798_, LivingEntity p_22799_) private booleanJumpOnBed.nearBed(ServerLevel p_23369_, Mob p_23370_) private booleanJumpOnBed.onBedSurface(ServerLevel p_23391_, Mob p_23392_) private booleanJumpOnBed.onOrOverBed(ServerLevel p_23380_, Mob p_23381_) private booleanMoveToTargetSink.reachedTarget(Mob p_23590_, WalkTarget p_23591_) static booleanSwim.shouldSwim(Mob p_316787_) protected voidJumpOnBed.start(ServerLevel p_23349_, Mob p_23350_, long p_23351_) protected voidLongJumpMidJump.start(ServerLevel p_147611_, Mob p_147612_, long p_147613_) protected voidMoveToTargetSink.start(ServerLevel p_23609_, Mob p_23610_, long p_23611_) protected voidRandomLookAround.start(ServerLevel p_250941_, Mob p_248765_, long p_251801_) private voidJumpOnBed.startWalkingTowardsBed(Mob p_23362_, BlockPos p_23363_) protected voidJumpOnBed.stop(ServerLevel p_23372_, Mob p_23373_, long p_23374_) protected voidLongJumpMidJump.stop(ServerLevel p_147619_, Mob p_147620_, long p_147621_) protected voidLookAtTargetSink.stop(ServerLevel p_23492_, Mob p_23493_, long p_23494_) protected voidMoveToTargetSink.stop(ServerLevel p_23601_, Mob p_23602_, long p_23603_) protected voidJumpOnBed.tick(ServerLevel p_23394_, Mob p_23395_, long p_23396_) protected voidLookAtTargetSink.tick(ServerLevel p_23503_, Mob p_23504_, long p_23505_) protected voidMoveToTargetSink.tick(ServerLevel p_23617_, Mob p_23618_, long p_23619_) protected voidSwim.tick(ServerLevel p_24399_, Mob p_24400_, long p_24401_) private booleanJumpOnBed.tiredOfJumping(ServerLevel p_23401_, Mob p_23402_) private booleanJumpOnBed.tiredOfWalking(ServerLevel p_23398_, Mob p_23399_) private booleanMoveToTargetSink.tryComputePath(Mob p_23593_, WalkTarget p_23594_, long p_23595_) -
Uses of Mob in net.minecraft.world.entity.ai.control
Fields in net.minecraft.world.entity.ai.control declared as MobModifier and TypeFieldDescriptionprivate final MobBodyRotationControl.mobprivate final MobJumpControl.mobprotected final MobLookControl.mobprotected final MobMoveControl.mobConstructors in net.minecraft.world.entity.ai.control with parameters of type MobModifierConstructorDescriptionBodyRotationControl(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
Classes in net.minecraft.world.entity.ai.goal with type parameters of type MobModifier and TypeClassDescriptionclassRangedBowAttackGoal<T extends Mob & RangedAttackMob>classRangedCrossbowAttackGoal<T extends Mob & CrossbowAttackMob>classUseItemGoal<T extends Mob>Fields in net.minecraft.world.entity.ai.goal declared as MobModifier and TypeFieldDescriptionprivate MobFollowMobGoal.followingMobprivate final MobClimbOnTopOfPowderSnowGoal.mobprotected MobDoorInteractGoal.mobprivate final MobEatBlockGoal.mobprivate final MobFloatGoal.mobprivate final MobFollowMobGoal.mobprivate final MobLeapAtTargetGoal.mobprotected final MobLookAtPlayerGoal.mobprivate final MobOcelotAttackGoal.mobprivate final MobRandomLookAroundGoal.mobprivate final MobRangedAttackGoal.mobprivate final TRangedBowAttackGoal.mobprivate final TRangedCrossbowAttackGoal.mobprivate final TUseItemGoal.mobprivate final MobRemoveBlockGoal.removerMobFields in net.minecraft.world.entity.ai.goal with type parameters of type MobConstructors in net.minecraft.world.entity.ai.goal with parameters of type MobModifierConstructorDescriptionBreakDoorGoal(Mob p_25087_, int p_25088_, Predicate<Difficulty> p_25089_) BreakDoorGoal(Mob p_25091_, Predicate<Difficulty> p_25092_) ClimbOnTopOfPowderSnowGoal(Mob p_204055_, Level p_204056_) 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
Classes in net.minecraft.world.entity.ai.goal.target with type parameters of type MobFields in net.minecraft.world.entity.ai.goal.target declared as MobModifier and TypeFieldDescriptionprivate final TResetUniversalAngerTargetGoal.mobprotected final MobTargetGoal.mobMethods in net.minecraft.world.entity.ai.goal.target that return types with arguments of type MobMethods in net.minecraft.world.entity.ai.goal.target with parameters of type MobModifier and TypeMethodDescriptionprotected voidHurtByTargetGoal.alertOther(Mob p_26042_, LivingEntity p_26043_) Constructors in net.minecraft.world.entity.ai.goal.target with parameters of type MobModifierConstructorDescriptionNearestAttackableTargetGoal(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_199891_, Class<T> p_199892_, boolean p_199893_, Predicate<LivingEntity> p_199894_) 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
Fields in net.minecraft.world.entity.ai.memory with type parameters of type MobModifier and TypeFieldDescriptionstatic final MemoryModuleType<Mob> MemoryModuleType.NEAREST_VISIBLE_NEMESIS -
Uses of Mob in net.minecraft.world.entity.ai.sensing
Fields in net.minecraft.world.entity.ai.sensing declared as MobMethods in net.minecraft.world.entity.ai.sensing with parameters of type MobModifier and TypeMethodDescriptionprotected voidNearestBedSensor.doTick(ServerLevel p_26685_, Mob p_26686_) protected voidNearestItemSensor.doTick(ServerLevel p_26697_, Mob p_26698_) Constructors in net.minecraft.world.entity.ai.sensing with parameters of type Mob -
Uses of Mob in net.minecraft.world.entity.ai.util
Methods in net.minecraft.world.entity.ai.util with parameters of type Mob -
Uses of Mob in net.minecraft.world.entity.ambient
Subclasses of Mob in net.minecraft.world.entity.ambient -
Uses of Mob in net.minecraft.world.entity.animal
Subclasses of Mob in net.minecraft.world.entity.animalModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassFields in net.minecraft.world.entity.animal with type parameters of type MobMethods in net.minecraft.world.entity.animal with parameters of type MobModifier and TypeMethodDescriptionprotected voidBee.BeeHurtByOtherGoal.alertOther(Mob p_28035_, LivingEntity p_28036_) protected voidPanda.PandaHurtByTargetGoal.alertOther(Mob p_29295_, LivingEntity p_29296_) protected voidPolarBear.PolarBearHurtByTargetGoal.alertOther(Mob p_29580_, LivingEntity p_29581_) static voidBucketable.loadDefaultDataFromBucketTag(Mob p_148826_, CompoundTag p_148827_) Deprecated.protected voidFox.onOffspringSpawnedFromEgg(Player p_28481_, Mob p_28482_) static voidBucketable.saveDefaultDataToBucketTag(Mob p_148823_, ItemStack p_148824_) Deprecated.private voidConstructors in net.minecraft.world.entity.animal with parameters of type MobModifierConstructorDescription(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.allay
Subclasses of Mob in net.minecraft.world.entity.animal.allay -
Uses of Mob in net.minecraft.world.entity.animal.armadillo
Subclasses of Mob in net.minecraft.world.entity.animal.armadillo -
Uses of Mob in net.minecraft.world.entity.animal.axolotl
Subclasses of Mob in net.minecraft.world.entity.animal.axolotl -
Uses of Mob in net.minecraft.world.entity.animal.camel
Subclasses of Mob in net.minecraft.world.entity.animal.camel -
Uses of Mob in net.minecraft.world.entity.animal.frog
Subclasses of Mob in net.minecraft.world.entity.animal.frogMethods in net.minecraft.world.entity.animal.frog with type parameters of type MobModifier and TypeMethodDescriptionprivate static <E extends Mob>
booleanFrogAi.isAcceptableLandingSpot(E p_249699_, BlockPos p_250057_) Constructors in net.minecraft.world.entity.animal.frog with parameters of type Mob -
Uses of Mob in net.minecraft.world.entity.animal.goat
Subclasses of Mob in net.minecraft.world.entity.animal.goat -
Uses of Mob in net.minecraft.world.entity.animal.horse
Subclasses of Mob in net.minecraft.world.entity.animal.horseModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclass -
Uses of Mob in net.minecraft.world.entity.animal.sniffer
Subclasses of Mob in net.minecraft.world.entity.animal.sniffer -
Uses of Mob in net.minecraft.world.entity.boss.enderdragon
Subclasses of Mob in net.minecraft.world.entity.boss.enderdragon -
Uses of Mob in net.minecraft.world.entity.boss.wither
Subclasses of Mob in net.minecraft.world.entity.boss.wither -
Uses of Mob in net.minecraft.world.entity.monster
Subclasses of Mob in net.minecraft.world.entity.monsterModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassFields in net.minecraft.world.entity.monster declared as MobMethods in net.minecraft.world.entity.monster that return MobMethods in net.minecraft.world.entity.monster with parameters of type MobModifier and TypeMethodDescriptionvoidprivate SpawnGroupDataStrider.spawnJockey(ServerLevelAccessor p_33882_, DifficultyInstance p_33883_, Mob p_33884_, SpawnGroupData p_33885_) Constructors in net.minecraft.world.entity.monster with parameters of type MobModifierConstructorDescriptionPhantomBodyRotationControl(Mob p_33216_) PhantomLookControl(Mob p_33235_) PhantomMoveControl(Mob p_33241_) ShulkerBodyRotationControl(Mob p_149816_) ShulkerLookControl(Mob p_149820_) VindicatorBreakDoorGoal(Mob p_34112_) -
Uses of Mob in net.minecraft.world.entity.monster.breeze
Subclasses of Mob in net.minecraft.world.entity.monster.breezeMethods in net.minecraft.world.entity.monster.breeze with parameters of type MobModifier and TypeMethodDescriptionprotected voidBreezeAi.SlideToTargetSink.start(ServerLevel p_312732_, Mob p_312543_, long p_312612_) protected voidBreezeAi.SlideToTargetSink.stop(ServerLevel p_312932_, Mob p_311871_, long p_312594_) -
Uses of Mob in net.minecraft.world.entity.monster.hoglin
Subclasses of Mob in net.minecraft.world.entity.monster.hoglin -
Uses of Mob in net.minecraft.world.entity.monster.piglin
Subclasses of Mob in net.minecraft.world.entity.monster.piglin -
Uses of Mob in net.minecraft.world.entity.monster.warden
Subclasses of Mob in net.minecraft.world.entity.monster.warden -
Uses of Mob in net.minecraft.world.entity.npc
Subclasses of Mob in net.minecraft.world.entity.npcMethods in net.minecraft.world.entity.npc with parameters of type MobModifier and TypeMethodDescriptionstatic voidInventoryCarrier.pickUpItem(Mob p_219612_, InventoryCarrier p_219613_, ItemEntity p_219614_) -
Uses of Mob in net.minecraft.world.entity.raid
Subclasses of Mob in net.minecraft.world.entity.raid -
Uses of Mob in net.minecraft.world.item
Fields in net.minecraft.world.item with type parameters of type MobModifier and TypeFieldDescriptionprivate static final Map<EntityType<? extends Mob>, SpawnEggItem> SpawnEggItem.BY_IDMethods in net.minecraft.world.item that return types with arguments of type MobModifier and TypeMethodDescriptionSpawnEggItem.spawnOffspringFromSpawnEgg(Player p_43216_, Mob p_43217_, EntityType<? extends Mob> p_43218_, ServerLevel p_43219_, Vec3 p_43220_, ItemStack p_43221_) Methods in net.minecraft.world.item with parameters of type MobModifier and TypeMethodDescriptionSpawnEggItem.spawnOffspringFromSpawnEgg(Player p_43216_, Mob p_43217_, EntityType<? extends Mob> p_43218_, ServerLevel p_43219_, Vec3 p_43220_, ItemStack p_43221_) Method parameters in net.minecraft.world.item with type arguments of type MobModifier and TypeMethodDescriptionSpawnEggItem.spawnOffspringFromSpawnEgg(Player p_43216_, Mob p_43217_, EntityType<? extends Mob> p_43218_, ServerLevel p_43219_, Vec3 p_43220_, ItemStack p_43221_) Constructor parameters in net.minecraft.world.item with type arguments of type MobModifierConstructorDescriptionSpawnEggItem(EntityType<? extends Mob> p_43207_, int p_43208_, int p_43209_, Item.Properties p_43210_) Deprecated. -
Uses of Mob in net.minecraft.world.level
Methods in net.minecraft.world.level that return MobModifier and TypeMethodDescriptionprivate static MobNaturalSpawner.getMobForSpawn(ServerLevel p_46989_, EntityType<?> p_46990_) Methods in net.minecraft.world.level with parameters of type MobModifier and TypeMethodDescriptionprivate voidNaturalSpawner.SpawnState.afterSpawn(Mob p_47132_, ChunkAccess p_47133_) private static booleanNaturalSpawner.isValidPositionForMob(ServerLevel p_46992_, Mob p_46993_, double p_46994_) voidNaturalSpawner.AfterSpawnCallback.run(Mob p_47101_, ChunkAccess p_47102_) -
Uses of Mob in net.minecraft.world.level.pathfinder
Fields in net.minecraft.world.level.pathfinder declared as MobMethods in net.minecraft.world.level.pathfinder with parameters of type MobModifier and TypeMethodDescriptionPathFinder.findPath(PathNavigationRegion p_77428_, Mob p_77429_, Set<BlockPos> p_77430_, float p_77431_, int p_77432_, float p_77433_) NodeEvaluator.getPathType(Mob p_331317_, BlockPos p_331263_) abstract PathTypeNodeEvaluator.getPathTypeOfMob(PathfindingContext p_330720_, int p_326783_, int p_326930_, int p_326884_, Mob p_326798_) SwimNodeEvaluator.getPathTypeOfMob(PathfindingContext p_330584_, int p_77473_, int p_77474_, int p_77475_, Mob p_77476_) WalkNodeEvaluator.getPathTypeOfMob(PathfindingContext p_330551_, int p_326939_, int p_326943_, int p_326876_, Mob p_326786_) static PathTypeWalkNodeEvaluator.getPathTypeStatic(Mob p_332010_, BlockPos p_330520_) FlyNodeEvaluator.iteratePathfindingStartNodeCandidatePositions(Mob p_263108_) voidAmphibiousNodeEvaluator.prepare(PathNavigationRegion p_164671_, Mob p_164672_) voidFlyNodeEvaluator.prepare(PathNavigationRegion p_77261_, Mob p_77262_) voidNodeEvaluator.prepare(PathNavigationRegion p_77347_, Mob p_77348_) voidSwimNodeEvaluator.prepare(PathNavigationRegion p_192959_, Mob p_192960_) voidWalkNodeEvaluator.prepare(PathNavigationRegion p_77620_, Mob p_77621_) Constructors in net.minecraft.world.level.pathfinder with parameters of type Mob -
Uses of Mob in net.neoforged.neoforge.common
Fields in net.neoforged.neoforge.common with type parameters of type MobModifier and TypeFieldDescriptionprivate static final Map<EntityType<? extends Mob>, DeferredSpawnEggItem> DeferredSpawnEggItem.TYPE_MAPprivate final Supplier<? extends EntityType<? extends Mob>> DeferredSpawnEggItem.typeSupplierConstructor parameters in net.neoforged.neoforge.common with type arguments of type MobModifierConstructorDescriptionDeferredSpawnEggItem(Supplier<? extends EntityType<? extends Mob>> type, int backgroundColor, int highlightColor, Item.Properties props) -
Uses of Mob in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions with parameters of type MobModifier and TypeMethodDescriptiondefault @Nullable PathTypeIBlockExtension.getAdjacentBlockPathType(BlockState state, BlockGetter level, BlockPos pos, @Nullable Mob mob, PathType originalType) Gets the path type of the adjacent block to a pathfinding entity.default @Nullable PathTypeIBlockStateExtension.getAdjacentBlockPathType(BlockGetter level, BlockPos pos, @Nullable Mob mob, PathType originalType) Gets the path type of the adjacent block to a pathfinding entity.default @Nullable PathTypeIFluidExtension.getAdjacentBlockPathType(FluidState state, BlockGetter level, BlockPos pos, @Nullable Mob mob, PathType originalType) Gets the path type of the adjacent fluid to a pathfinding entity.default @Nullable PathTypeIFluidStateExtension.getAdjacentBlockPathType(BlockGetter level, BlockPos pos, @Nullable Mob mob, PathType originalType) Gets the path type of the adjacent fluid to a pathfinding entity.default @Nullable PathTypeIBlockExtension.getBlockPathType(BlockState state, BlockGetter level, BlockPos pos, @Nullable Mob mob) Gets the path type of this block when an entity is pathfinding.default @Nullable PathTypeIBlockStateExtension.getBlockPathType(BlockGetter level, BlockPos pos, @Nullable Mob mob) Gets the path type of this block when an entity is pathfinding.default @Nullable PathTypeIFluidExtension.getBlockPathType(FluidState state, BlockGetter level, BlockPos pos, @Nullable Mob mob, boolean canFluidLog) Gets the path type of this fluid when an entity is pathfinding.default @Nullable PathTypeIFluidStateExtension.getBlockPathType(BlockGetter level, BlockPos pos, @Nullable Mob mob, boolean canFluidLog) Gets the path type of this fluid when an entity is pathfinding.default voidIItemExtension.onAnimalArmorTick(ItemStack stack, Level level, Mob horse) Called every tick when this item is equipped as an armor item by a horse.invalid reference
that can wear armor
default voidIItemStackExtension.onAnimalArmorTick(Level level, Mob horse) Called every tick when this item is equipped as an armor item by a horsethat can wear armor}.invalid reference
Mob#canWearBodyArmor()
-
Uses of Mob in net.neoforged.neoforge.event
Methods in net.neoforged.neoforge.event with parameters of type MobModifier and TypeMethodDescriptionstatic booleanEventHooks.checkMobDespawn(Mob mob) FiresMobDespawnEventand returns true if the default logic should be ignored.static booleanEventHooks.checkSpawnPosition(Mob mob, ServerLevelAccessor level, MobSpawnType spawnType) Checks if the current position of the passed mob is valid for spawning, by firingMobSpawnEvent.PositionCheck.
The default check is to perform the logical and ofcheckSpawnRules(net.minecraft.world.level.LevelAccessor, net.minecraft.world.entity.MobSpawnType)andcheckSpawnObstruction(net.minecraft.world.level.LevelReader).static booleanEventHooks.checkSpawnPositionSpawner(Mob mob, ServerLevelAccessor level, MobSpawnType spawnType, SpawnData spawnData, BaseSpawner spawner) Specialized variant ofEventHooks.checkSpawnPosition(net.minecraft.world.entity.Mob, net.minecraft.world.level.ServerLevelAccessor, net.minecraft.world.entity.MobSpawnType)for spawners, as they have slightly different checks, and pass through theBaseSpawnerto the event.static @Nullable SpawnGroupDataEventHooks.finalizeMobSpawn(Mob mob, ServerLevelAccessor level, DifficultyInstance difficulty, MobSpawnType spawnType, @Nullable SpawnGroupData spawnData) Finalizes the spawn of a mob by firing theFinalizeSpawnEventand callingfinalizeSpawn(net.minecraft.world.level.ServerLevelAccessor, net.minecraft.world.DifficultyInstance, net.minecraft.world.entity.MobSpawnType, net.minecraft.world.entity.SpawnGroupData)with the result.static FinalizeSpawnEventEventHooks.finalizeMobSpawnSpawner(Mob mob, ServerLevelAccessor level, DifficultyInstance difficulty, MobSpawnType spawnType, @Nullable SpawnGroupData spawnData, IOwnedSpawner spawner, boolean def) Finalizes the spawn of a mob by firing theFinalizeSpawnEventand callingfinalizeSpawn(net.minecraft.world.level.ServerLevelAccessor, net.minecraft.world.DifficultyInstance, net.minecraft.world.entity.MobSpawnType, net.minecraft.world.entity.SpawnGroupData)with the result.static intEventHooks.getMaxSpawnClusterSize(Mob entity) FiresSpawnClusterSizeEventand returns the size as a result of the event.static MobSplitEventEventHooks.onMobSplit(Mob parent, List<Mob> children) Fires the mob split event.Method parameters in net.neoforged.neoforge.event with type arguments of type MobModifier and TypeMethodDescriptionstatic MobSplitEventEventHooks.onMobSplit(Mob parent, List<Mob> children) Fires the mob split event. -
Uses of Mob in net.neoforged.neoforge.event.entity.living
Fields in net.neoforged.neoforge.event.entity.living declared as MobModifier and TypeFieldDescriptionprotected final MobMobSplitEvent.parentprivate final MobBabyEntitySpawnEvent.parentAprivate final MobBabyEntitySpawnEvent.parentBFields in net.neoforged.neoforge.event.entity.living with type parameters of type MobMethods in net.neoforged.neoforge.event.entity.living that return MobModifier and TypeMethodDescriptionMobSpawnEvent.getEntity()SpawnClusterSizeEvent.getEntity()MobSplitEvent.getParent()Returns the parent mob, which is in the process of being removed.BabyEntitySpawnEvent.getParentA()BabyEntitySpawnEvent.getParentB()Methods in net.neoforged.neoforge.event.entity.living that return types with arguments of type MobModifier and TypeMethodDescriptionMobSplitEvent.getChildren()Returns the mutable list of all children.Constructors in net.neoforged.neoforge.event.entity.living with parameters of type MobModifierConstructorDescriptionBabyEntitySpawnEvent(Mob parentA, Mob parentB, @Nullable AgeableMob proposedChild) FinalizeSpawnEvent(Mob entity, ServerLevelAccessor level, double x, double y, double z, DifficultyInstance difficulty, MobSpawnType spawnType, @Nullable SpawnGroupData spawnData, @Nullable com.mojang.datafixers.util.Either<BlockEntity, Entity> spawner) MobDespawnEvent(Mob mob, ServerLevelAccessor level) Fire viaEventHooks.checkMobDespawn(Mob)protectedMobSpawnEvent(Mob mob, ServerLevelAccessor level, double x, double y, double z) MobSplitEvent(Mob parent, List<Mob> children) PositionCheck(Mob mob, ServerLevelAccessor level, MobSpawnType spawnType, @Nullable BaseSpawner spawner) SpawnClusterSizeEvent(Mob entity) Constructor parameters in net.neoforged.neoforge.event.entity.living with type arguments of type Mob -
Uses of Mob in net.neoforged.neoforge.fluids
Methods in net.neoforged.neoforge.fluids with parameters of type MobModifier and TypeMethodDescription@Nullable PathTypeFluidType.getAdjacentBlockPathType(FluidState state, BlockGetter level, BlockPos pos, @Nullable Mob mob, PathType originalType) Gets the path type of the adjacent fluid to a pathfinding entity.@Nullable PathTypeFluidType.getBlockPathType(FluidState state, BlockGetter level, BlockPos pos, @Nullable Mob mob, boolean canFluidLog) Gets the path type of this fluid when an entity is pathfinding. -
Uses of Mob in net.neoforged.neoforge.oldtest.entity
Subclasses of Mob in net.neoforged.neoforge.oldtest.entity
DeferredSpawnEggIteminstead for suppliers