Package net.minecraft.entity.mob
Class PiglinBruteBrain
java.lang.Object
net.minecraft.entity.mob.PiglinBruteBrain
- Mappings:
Namespace Name official bxg
intermediary net/minecraft/class_5420
named net/minecraft/entity/mob/PiglinBruteBrain
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private static final double
private static final int
private static final int
private static final float
private static final int
private static final int
private static final int
private static final double
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
addCoreActivities
(PiglinBruteEntity piglinBrute, Brain<PiglinBruteEntity> brain) private static void
addFightActivities
(PiglinBruteEntity piglinBrute, Brain<PiglinBruteEntity> brain) private static void
addIdleActivities
(PiglinBruteEntity piglinBrute, Brain<PiglinBruteEntity> brain) protected static Brain<?>
create
(PiglinBruteEntity piglinBrute, Brain<PiglinBruteEntity> brain) private static RandomTask<PiglinBruteEntity>
private static RandomTask<PiglinBruteEntity>
private static Optional<? extends LivingEntity>
getTarget
(AbstractPiglinEntity piglin) private static Optional<? extends LivingEntity>
getTargetIfInRange
(AbstractPiglinEntity piglin, MemoryModuleType<? extends LivingEntity> targetMemoryModule) private static boolean
isTarget
(AbstractPiglinEntity piglin, LivingEntity entity) private static void
playSoundIfAngry
(PiglinBruteEntity piglinBrute) protected static void
playSoundRandomly
(PiglinBruteEntity piglinBrute) protected static void
setCurrentPosAsHome
(PiglinBruteEntity piglinBrute) protected static void
setTarget
(PiglinBruteEntity piglinBrute, LivingEntity target) protected static void
tick
(PiglinBruteEntity piglinBrute) protected static void
tryRevenge
(PiglinBruteEntity piglinBrute, LivingEntity target)
-
Field Details
-
field_30589
private static final int field_30589- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbxg;a:I
intermediary field_30589
Lnet/minecraft/class_5420;field_30589:I
named field_30589
Lnet/minecraft/entity/mob/PiglinBruteBrain;field_30589:I
-
field_30590
private static final int field_30590- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lbxg;b:I
intermediary field_30590
Lnet/minecraft/class_5420;field_30590:I
named field_30590
Lnet/minecraft/entity/mob/PiglinBruteBrain;field_30590:I
-
field_30591
private static final double field_30591- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lbxg;c:D
intermediary field_30591
Lnet/minecraft/class_5420;field_30591:D
named field_30591
Lnet/minecraft/entity/mob/PiglinBruteBrain;field_30591:D
-
field_30592
private static final int field_30592- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lbxg;d:I
intermediary field_30592
Lnet/minecraft/class_5420;field_30592:I
named field_30592
Lnet/minecraft/entity/mob/PiglinBruteBrain;field_30592:I
-
field_30593
private static final int field_30593- See Also:
- Mappings:
Namespace Name Mixin selector official e
Lbxg;e:I
intermediary field_30593
Lnet/minecraft/class_5420;field_30593:I
named field_30593
Lnet/minecraft/entity/mob/PiglinBruteBrain;field_30593:I
-
TARGET_RANGE
private static final double TARGET_RANGE- See Also:
- Mappings:
Namespace Name Mixin selector official f
Lbxg;f:D
intermediary field_30594
Lnet/minecraft/class_5420;field_30594:D
named TARGET_RANGE
Lnet/minecraft/entity/mob/PiglinBruteBrain;TARGET_RANGE:D
-
field_30595
private static final float field_30595- See Also:
- Mappings:
Namespace Name Mixin selector official g
Lbxg;g:F
intermediary field_30595
Lnet/minecraft/class_5420;field_30595:F
named field_30595
Lnet/minecraft/entity/mob/PiglinBruteBrain;field_30595:F
-
field_30596
private static final int field_30596- See Also:
- Mappings:
Namespace Name Mixin selector official h
Lbxg;h:I
intermediary field_30596
Lnet/minecraft/class_5420;field_30596:I
named field_30596
Lnet/minecraft/entity/mob/PiglinBruteBrain;field_30596:I
-
field_30597
private static final int field_30597- See Also:
- Mappings:
Namespace Name Mixin selector official i
Lbxg;i:I
intermediary field_30597
Lnet/minecraft/class_5420;field_30597:I
named field_30597
Lnet/minecraft/entity/mob/PiglinBruteBrain;field_30597:I
-
field_30598
private static final int field_30598- See Also:
- Mappings:
Namespace Name Mixin selector official j
Lbxg;j:I
intermediary field_30598
Lnet/minecraft/class_5420;field_30598:I
named field_30598
Lnet/minecraft/entity/mob/PiglinBruteBrain;field_30598:I
-
-
Constructor Details
-
PiglinBruteBrain
public PiglinBruteBrain()
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official a
Lbxg;a(Lbxf;Lbgy;)Lbgy;
intermediary method_30252
Lnet/minecraft/class_5420;method_30252(Lnet/minecraft/class_5419;Lnet/minecraft/class_4095;)Lnet/minecraft/class_4095;
named create
Lnet/minecraft/entity/mob/PiglinBruteBrain;create(Lnet/minecraft/entity/mob/PiglinBruteEntity;Lnet/minecraft/entity/ai/brain/Brain;)Lnet/minecraft/entity/ai/brain/Brain;
-
setCurrentPosAsHome
- Mappings:
Namespace Name Mixin selector official a
Lbxg;a(Lbxf;)V
intermediary method_30250
Lnet/minecraft/class_5420;method_30250(Lnet/minecraft/class_5419;)V
named setCurrentPosAsHome
Lnet/minecraft/entity/mob/PiglinBruteBrain;setCurrentPosAsHome(Lnet/minecraft/entity/mob/PiglinBruteEntity;)V
-
addCoreActivities
private static void addCoreActivities(PiglinBruteEntity piglinBrute, Brain<PiglinBruteEntity> brain) - Mappings:
Namespace Name Mixin selector official b
Lbxg;b(Lbxf;Lbgy;)V
intermediary method_30257
Lnet/minecraft/class_5420;method_30257(Lnet/minecraft/class_5419;Lnet/minecraft/class_4095;)V
named addCoreActivities
Lnet/minecraft/entity/mob/PiglinBruteBrain;addCoreActivities(Lnet/minecraft/entity/mob/PiglinBruteEntity;Lnet/minecraft/entity/ai/brain/Brain;)V
-
addIdleActivities
private static void addIdleActivities(PiglinBruteEntity piglinBrute, Brain<PiglinBruteEntity> brain) - Mappings:
Namespace Name Mixin selector official c
Lbxg;c(Lbxf;Lbgy;)V
intermediary method_30260
Lnet/minecraft/class_5420;method_30260(Lnet/minecraft/class_5419;Lnet/minecraft/class_4095;)V
named addIdleActivities
Lnet/minecraft/entity/mob/PiglinBruteBrain;addIdleActivities(Lnet/minecraft/entity/mob/PiglinBruteEntity;Lnet/minecraft/entity/ai/brain/Brain;)V
-
addFightActivities
private static void addFightActivities(PiglinBruteEntity piglinBrute, Brain<PiglinBruteEntity> brain) - Mappings:
Namespace Name Mixin selector official d
Lbxg;d(Lbxf;Lbgy;)V
intermediary method_30262
Lnet/minecraft/class_5420;method_30262(Lnet/minecraft/class_5419;Lnet/minecraft/class_4095;)V
named addFightActivities
Lnet/minecraft/entity/mob/PiglinBruteBrain;addFightActivities(Lnet/minecraft/entity/mob/PiglinBruteEntity;Lnet/minecraft/entity/ai/brain/Brain;)V
-
getFollowTasks
- Mappings:
Namespace Name Mixin selector official a
Lbxg;a()Lbjl;
intermediary method_30244
Lnet/minecraft/class_5420;method_30244()Lnet/minecraft/class_4118;
named getFollowTasks
Lnet/minecraft/entity/mob/PiglinBruteBrain;getFollowTasks()Lnet/minecraft/entity/ai/brain/task/RandomTask;
-
getIdleTasks
- Mappings:
Namespace Name Mixin selector official b
Lbxg;b()Lbjl;
intermediary method_30254
Lnet/minecraft/class_5420;method_30254()Lnet/minecraft/class_4118;
named getIdleTasks
Lnet/minecraft/entity/mob/PiglinBruteBrain;getIdleTasks()Lnet/minecraft/entity/ai/brain/task/RandomTask;
-
tick
- Mappings:
Namespace Name Mixin selector official b
Lbxg;b(Lbxf;)V
intermediary method_30256
Lnet/minecraft/class_5420;method_30256(Lnet/minecraft/class_5419;)V
named tick
Lnet/minecraft/entity/mob/PiglinBruteBrain;tick(Lnet/minecraft/entity/mob/PiglinBruteEntity;)V
-
isTarget
- Mappings:
Namespace Name Mixin selector official a
Lbxg;a(Lbxb;Lbfx;)Z
intermediary method_30248
Lnet/minecraft/class_5420;method_30248(Lnet/minecraft/class_5418;Lnet/minecraft/class_1309;)Z
named isTarget
Lnet/minecraft/entity/mob/PiglinBruteBrain;isTarget(Lnet/minecraft/entity/mob/AbstractPiglinEntity;Lnet/minecraft/entity/LivingEntity;)Z
-
getTarget
- Mappings:
Namespace Name Mixin selector official a
Lbxg;a(Lbxb;)Ljava/util/Optional;
intermediary method_30247
Lnet/minecraft/class_5420;method_30247(Lnet/minecraft/class_5418;)Ljava/util/Optional;
named getTarget
Lnet/minecraft/entity/mob/PiglinBruteBrain;getTarget(Lnet/minecraft/entity/mob/AbstractPiglinEntity;)Ljava/util/Optional;
-
getTargetIfInRange
private static Optional<? extends LivingEntity> getTargetIfInRange(AbstractPiglinEntity piglin, MemoryModuleType<? extends LivingEntity> targetMemoryModule) - Mappings:
Namespace Name Mixin selector official a
Lbxg;a(Lbxb;Lboz;)Ljava/util/Optional;
intermediary method_30249
Lnet/minecraft/class_5420;method_30249(Lnet/minecraft/class_5418;Lnet/minecraft/class_4140;)Ljava/util/Optional;
named getTargetIfInRange
Lnet/minecraft/entity/mob/PiglinBruteBrain;getTargetIfInRange(Lnet/minecraft/entity/mob/AbstractPiglinEntity;Lnet/minecraft/entity/ai/brain/MemoryModuleType;)Ljava/util/Optional;
-
tryRevenge
- Mappings:
Namespace Name Mixin selector official a
Lbxg;a(Lbxf;Lbfx;)V
intermediary method_30251
Lnet/minecraft/class_5420;method_30251(Lnet/minecraft/class_5419;Lnet/minecraft/class_1309;)V
named tryRevenge
Lnet/minecraft/entity/mob/PiglinBruteBrain;tryRevenge(Lnet/minecraft/entity/mob/PiglinBruteEntity;Lnet/minecraft/entity/LivingEntity;)V
-
setTarget
- Mappings:
Namespace Name Mixin selector official b
Lbxg;b(Lbxf;Lbfx;)V
intermediary method_35198
Lnet/minecraft/class_5420;method_35198(Lnet/minecraft/class_5419;Lnet/minecraft/class_1309;)V
named setTarget
Lnet/minecraft/entity/mob/PiglinBruteBrain;setTarget(Lnet/minecraft/entity/mob/PiglinBruteEntity;Lnet/minecraft/entity/LivingEntity;)V
-
playSoundRandomly
- Mappings:
Namespace Name Mixin selector official c
Lbxg;c(Lbxf;)V
intermediary method_30258
Lnet/minecraft/class_5420;method_30258(Lnet/minecraft/class_5419;)V
named playSoundRandomly
Lnet/minecraft/entity/mob/PiglinBruteBrain;playSoundRandomly(Lnet/minecraft/entity/mob/PiglinBruteEntity;)V
-
playSoundIfAngry
- Mappings:
Namespace Name Mixin selector official d
Lbxg;d(Lbxf;)V
intermediary method_30261
Lnet/minecraft/class_5420;method_30261(Lnet/minecraft/class_5419;)V
named playSoundIfAngry
Lnet/minecraft/entity/mob/PiglinBruteBrain;playSoundIfAngry(Lnet/minecraft/entity/mob/PiglinBruteEntity;)V
-