Uses of Class
net.minecraft.entity.mob.HoglinEntity
Package
Description
This and its subpackages make up the brain system used by some modern Minecraft entities,
such as villagers, piglins, and axolotls.
-
Uses of HoglinEntity in net.minecraft.client.render.entity
Modifier and TypeMethodDescriptionvoid
HoglinEntityRenderer.updateRenderState
(HoglinEntity hoglinEntity, HoglinEntityRenderState hoglinEntityRenderState, float float2) -
Uses of HoglinEntity in net.minecraft.entity
-
Uses of HoglinEntity in net.minecraft.entity.ai.brain
Modifier and TypeFieldDescriptionstatic final MemoryModuleType
<List<HoglinEntity>> MemoryModuleType.NEAREST_VISIBLE_ADULT_HOGLINS
static final MemoryModuleType
<HoglinEntity> MemoryModuleType.NEAREST_VISIBLE_BABY_HOGLIN
static final MemoryModuleType
<HoglinEntity> MemoryModuleType.NEAREST_VISIBLE_HUNTABLE_HOGLIN
-
Uses of HoglinEntity in net.minecraft.entity.ai.brain.sensor
Modifier and TypeMethodDescriptionHoglinSpecificSensor.findNearestWarpedFungus
(ServerWorld world, HoglinEntity hoglin) protected void
HoglinSpecificSensor.sense
(ServerWorld serverWorld, HoglinEntity hoglinEntity) -
Uses of HoglinEntity in net.minecraft.entity.mob
Modifier and TypeFieldDescriptionprotected static final ImmutableList
<? extends SensorType<? extends Sensor<? super HoglinEntity>>> HoglinEntity.SENSOR_TYPES
Modifier and TypeMethodDescriptionprotected Brain.Profile
<HoglinEntity> HoglinEntity.createBrainProfile()
private static List
<HoglinEntity> HoglinBrain.getAdultHoglinsAround
(HoglinEntity hoglin) HoglinEntity.getBrain()
private static RandomTask
<HoglinEntity> HoglinBrain.makeRandomWalkTask()
Modifier and TypeMethodDescriptionprivate static void
HoglinBrain.askAdultsForHelp
(HoglinEntity hoglin, LivingEntity target) private static void
HoglinBrain.askAdultsToAvoid
(HoglinEntity hoglin, LivingEntity target) private static void
HoglinBrain.avoid
(HoglinEntity hoglin, LivingEntity target) private static void
HoglinBrain.avoidEnemy
(HoglinEntity hoglin, LivingEntity target) private static List
<HoglinEntity> HoglinBrain.getAdultHoglinsAround
(HoglinEntity hoglin) private static Optional
<? extends LivingEntity> HoglinBrain.getNearestVisibleTargetablePlayer
(ServerWorld world, HoglinEntity hoglin) static Optional
<SoundEvent> HoglinBrain.getSoundEvent
(HoglinEntity hoglin) private static SoundEvent
HoglinBrain.getSoundEvent
(HoglinEntity hoglin, Activity activity) private static boolean
HoglinBrain.hasBreedTarget
(HoglinEntity hoglin) private static boolean
HoglinBrain.hasMoreHoglinsAround
(HoglinEntity hoglin) private static boolean
HoglinBrain.hasNearestRepellent
(HoglinEntity hoglin) private static boolean
HoglinBrain.isLoneAdult
(HoglinEntity hoglin) protected static boolean
HoglinBrain.isNearPlayer
(HoglinEntity hoglin) (package private) static boolean
HoglinBrain.isWarpedFungusAround
(HoglinEntity hoglin, BlockPos pos) protected static void
HoglinBrain.onAttacked
(ServerWorld world, HoglinEntity hoglin, LivingEntity attacker) protected static void
HoglinBrain.onAttacking
(HoglinEntity hoglin, LivingEntity target) protected static void
HoglinBrain.refreshActivities
(HoglinEntity hoglin) private static void
HoglinBrain.setAttackTarget
(HoglinEntity hoglin, LivingEntity target) private static void
HoglinBrain.setAttackTargetIfCloser
(HoglinEntity hoglin, LivingEntity targetCandidate) private static void
HoglinBrain.targetEnemy
(ServerWorld world, HoglinEntity hoglin, LivingEntity target) Modifier and TypeMethodDescriptionprivate static void
HoglinBrain.addAvoidTasks
(Brain<HoglinEntity> brain) private static void
HoglinBrain.addCoreTasks
(Brain<HoglinEntity> brain) private static void
HoglinBrain.addFightTasks
(Brain<HoglinEntity> brain) private static void
HoglinBrain.addIdleTasks
(Brain<HoglinEntity> brain) static boolean
HoglinEntity.canSpawn
(EntityType<HoglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) protected static Brain
<?> HoglinBrain.create
(Brain<HoglinEntity> brain)