Uses of Class
net.minecraft.entity.mob.HoglinEntity
Packages that use 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
Methods in net.minecraft.client.render.entity with parameters of type HoglinEntityModifier and TypeMethodDescriptionHoglinEntityRenderer.getTexture
(HoglinEntity hoglinEntity) protected boolean
HoglinEntityRenderer.isShaking
(HoglinEntity hoglinEntity) -
Uses of HoglinEntity in net.minecraft.entity
Fields in net.minecraft.entity with type parameters of type HoglinEntity -
Uses of HoglinEntity in net.minecraft.entity.ai.brain
Fields in net.minecraft.entity.ai.brain with type parameters of type HoglinEntityModifier 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
Methods in net.minecraft.entity.ai.brain.sensor with parameters of type HoglinEntityModifier and TypeMethodDescriptionHoglinSpecificSensor.findNearestWarpedFungus
(ServerWorld world, HoglinEntity hoglin) protected void
HoglinSpecificSensor.sense
(ServerWorld serverWorld, HoglinEntity hoglinEntity) -
Uses of HoglinEntity in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob with type parameters of type HoglinEntityModifier and TypeFieldDescriptionprotected static final ImmutableList
<? extends SensorType<? extends Sensor<? super HoglinEntity>>> HoglinEntity.SENSOR_TYPES
Methods in net.minecraft.entity.mob that return types with arguments of type HoglinEntityModifier and TypeMethodDescriptionprotected Brain.Profile
<HoglinEntity> HoglinEntity.createBrainProfile()
private static List
<HoglinEntity> HoglinBrain.getAdultHoglinsAround
(HoglinEntity hoglin) HoglinEntity.getBrain()
private static RandomTask
<HoglinEntity> HoglinBrain.makeRandomWalkTask()
Methods in net.minecraft.entity.mob with parameters of type HoglinEntityModifier 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
(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
(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
(HoglinEntity hoglin, LivingEntity target) Method parameters in net.minecraft.entity.mob with type arguments of type HoglinEntityModifier 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) Constructor parameters in net.minecraft.entity.mob with type arguments of type HoglinEntity