Uses of Class
net.minecraft.world.entity.monster.hoglin.Hoglin
Packages that use Hoglin
Package
Description
-
Uses of Hoglin in net.minecraft.client.renderer.entity
Methods in net.minecraft.client.renderer.entity with parameters of type HoglinModifier and TypeMethodDescriptionHoglinRenderer.getTextureLocation
(Hoglin entity) Returns the location of an entity's texture.protected boolean
-
Uses of Hoglin in net.minecraft.world.entity
Fields in net.minecraft.world.entity with type parameters of type Hoglin -
Uses of Hoglin in net.minecraft.world.entity.ai.memory
Fields in net.minecraft.world.entity.ai.memory with type parameters of type HoglinModifier and TypeFieldDescriptionstatic final MemoryModuleType
<List<Hoglin>> MemoryModuleType.NEAREST_VISIBLE_ADULT_HOGLINS
static final MemoryModuleType
<Hoglin> MemoryModuleType.NEAREST_VISIBLE_BABY_HOGLIN
static final MemoryModuleType
<Hoglin> MemoryModuleType.NEAREST_VISIBLE_HUNTABLE_HOGLIN
-
Uses of Hoglin in net.minecraft.world.entity.ai.sensing
Methods in net.minecraft.world.entity.ai.sensing with parameters of type HoglinModifier and TypeMethodDescriptionprotected void
HoglinSpecificSensor.doTick
(ServerLevel level, Hoglin entity) HoglinSpecificSensor.findNearestRepellent
(ServerLevel level, Hoglin hoglin) -
Uses of Hoglin in net.minecraft.world.entity.monster.hoglin
Fields in net.minecraft.world.entity.monster.hoglin with type parameters of type HoglinModifier and TypeFieldDescriptionprotected static final com.google.common.collect.ImmutableList
<? extends SensorType<? extends Sensor<? super Hoglin>>> Hoglin.SENSOR_TYPES
Methods in net.minecraft.world.entity.monster.hoglin that return types with arguments of type HoglinModifier and TypeMethodDescriptionprotected Brain.Provider
<Hoglin> Hoglin.brainProvider()
HoglinAi.createIdleMovementBehaviors()
Hoglin.getBrain()
HoglinAi.getVisibleAdultHoglins
(Hoglin hoglin) Methods in net.minecraft.world.entity.monster.hoglin with parameters of type HoglinModifier and TypeMethodDescriptionprivate static void
HoglinAi.broadcastAttackTarget
(Hoglin hoglin, LivingEntity target) private static void
HoglinAi.broadcastRetreat
(Hoglin hoglin, LivingEntity target) private static Optional
<? extends LivingEntity> HoglinAi.findNearestValidAttackTarget
(Hoglin hoglin) private static SoundEvent
HoglinAi.getSoundForActivity
(Hoglin hoglin, Activity activity) static Optional
<SoundEvent> HoglinAi.getSoundForCurrentActivity
(Hoglin hoglin) HoglinAi.getVisibleAdultHoglins
(Hoglin hoglin) private static boolean
HoglinAi.isBreeding
(Hoglin hoglin) private static boolean
HoglinAi.isNearRepellent
(Hoglin hoglin) protected static boolean
HoglinAi.isPacified
(Hoglin hoglin) (package private) static boolean
HoglinAi.isPosNearNearestRepellent
(Hoglin hoglin, BlockPos pos) private static void
HoglinAi.maybeRetaliate
(Hoglin hoglin, LivingEntity livingEntity) protected static void
HoglinAi.onHitTarget
(Hoglin hoglin, LivingEntity target) private static boolean
HoglinAi.piglinsOutnumberHoglins
(Hoglin hoglin) private static void
HoglinAi.retreatFromNearestTarget
(Hoglin hoglin, LivingEntity target) private static void
HoglinAi.setAttackTarget
(Hoglin hoglin, LivingEntity target) private static void
HoglinAi.setAttackTargetIfCloserThanCurrent
(Hoglin hoglin, LivingEntity target) private static void
HoglinAi.setAvoidTarget
(Hoglin hoglin, LivingEntity target) protected static void
HoglinAi.updateActivity
(Hoglin hoglin) private static boolean
HoglinAi.wantsToStopFleeing
(Hoglin hoglin) protected static void
HoglinAi.wasHurtBy
(Hoglin hoglin, LivingEntity livingEntity) Method parameters in net.minecraft.world.entity.monster.hoglin with type arguments of type HoglinModifier and TypeMethodDescriptionstatic boolean
Hoglin.checkHoglinSpawnRules
(EntityType<Hoglin> hoglin, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) private static void
HoglinAi.initCoreActivity
(Brain<Hoglin> brain) private static void
HoglinAi.initFightActivity
(Brain<Hoglin> brain) private static void
HoglinAi.initIdleActivity
(Brain<Hoglin> brain) private static void
HoglinAi.initRetreatActivity
(Brain<Hoglin> brain) protected static Brain
<?> Constructor parameters in net.minecraft.world.entity.monster.hoglin with type arguments of type Hoglin