Package net.minecraft.entity.raid
Class RaiderEntity.AttackHomeGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.raid.RaiderEntity.AttackHomeGoal
- Enclosing class:
- RaiderEntity
static class RaiderEntity.AttackHomeGoal extends Goal
- Mappings:
Namespace Name official bir$d
intermediary net/minecraft/class_3763$class_4261
named net/minecraft/entity/raid/RaiderEntity$AttackHomeGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
-
Constructor Summary
Constructors Constructor Description AttackHomeGoal(RaiderEntity raider, double speed, int distance)
-
Method Summary
Modifier and Type Method Description private boolean
canLootHome(BlockPos pos)
boolean
canStart()
private boolean
isRaiding()
private void
purgeMemory()
boolean
shouldContinue()
void
start()
void
stop()
void
tick()
private boolean
tryFindHome()
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Field Details
-
raider
- Mappings:
Namespace Name Mixin selector official a
Lbir$d;a:Lbir;
intermediary field_19035
Lnet/minecraft/class_3763$class_4261;field_19035:Lnet/minecraft/class_3763;
named raider
Lnet/minecraft/entity/raid/RaiderEntity$AttackHomeGoal;raider:Lnet/minecraft/entity/raid/RaiderEntity;
-
speed
private final double speed- Mappings:
Namespace Name Mixin selector official b
Lbir$d;b:D
intermediary field_19036
Lnet/minecraft/class_3763$class_4261;field_19036:D
named speed
Lnet/minecraft/entity/raid/RaiderEntity$AttackHomeGoal;speed:D
-
home
- Mappings:
Namespace Name Mixin selector official c
Lbir$d;c:Lfx;
intermediary field_19037
Lnet/minecraft/class_3763$class_4261;field_19037:Lnet/minecraft/class_2338;
named home
Lnet/minecraft/entity/raid/RaiderEntity$AttackHomeGoal;home:Lnet/minecraft/util/math/BlockPos;
-
lastHomes
- Mappings:
Namespace Name Mixin selector official d
Lbir$d;d:Ljava/util/List;
intermediary field_19038
Lnet/minecraft/class_3763$class_4261;field_19038:Ljava/util/List;
named lastHomes
Lnet/minecraft/entity/raid/RaiderEntity$AttackHomeGoal;lastHomes:Ljava/util/List;
-
distance
private final int distance- Mappings:
Namespace Name Mixin selector official e
Lbir$d;e:I
intermediary field_19039
Lnet/minecraft/class_3763$class_4261;field_19039:I
named distance
Lnet/minecraft/entity/raid/RaiderEntity$AttackHomeGoal;distance:I
-
finished
private boolean finished- Mappings:
Namespace Name Mixin selector official f
Lbir$d;f:Z
intermediary field_19040
Lnet/minecraft/class_3763$class_4261;field_19040:Z
named finished
Lnet/minecraft/entity/raid/RaiderEntity$AttackHomeGoal;finished:Z
-
-
Constructor Details
-
AttackHomeGoal
- Mappings:
Namespace Name Mixin selector official <init>
Lbir$d;<init>(Lbir;DI)V
intermediary <init>
Lnet/minecraft/class_3763$class_4261;<init>(Lnet/minecraft/class_3763;DI)V
named <init>
Lnet/minecraft/entity/raid/RaiderEntity$AttackHomeGoal;<init>(Lnet/minecraft/entity/raid/RaiderEntity;DI)V
-
-
Method Details
-
canStart
public boolean canStart() -
isRaiding
private boolean isRaiding()- Mappings:
Namespace Name Mixin selector official g
Lbir$d;g()Z
intermediary method_20039
Lnet/minecraft/class_3763$class_4261;method_20039()Z
named isRaiding
Lnet/minecraft/entity/raid/RaiderEntity$AttackHomeGoal;isRaiding()Z
-
tryFindHome
private boolean tryFindHome()- Mappings:
Namespace Name Mixin selector official h
Lbir$d;h()Z
intermediary method_20040
Lnet/minecraft/class_3763$class_4261;method_20040()Z
named tryFindHome
Lnet/minecraft/entity/raid/RaiderEntity$AttackHomeGoal;tryFindHome()Z
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classGoal
- Mappings:
Namespace Name Mixin selector official b
Lawx;b()Z
intermediary method_6266
Lnet/minecraft/class_1352;method_6266()Z
named shouldContinue
Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-
stop
public void stop() -
start
public void start() -
tick
public void tick() -
canLootHome
- Mappings:
Namespace Name Mixin selector official a
Lbir$d;a(Lfx;)Z
intermediary method_20038
Lnet/minecraft/class_3763$class_4261;method_20038(Lnet/minecraft/class_2338;)Z
named canLootHome
Lnet/minecraft/entity/raid/RaiderEntity$AttackHomeGoal;canLootHome(Lnet/minecraft/util/math/BlockPos;)Z
-
purgeMemory
private void purgeMemory()- Mappings:
Namespace Name Mixin selector official j
Lbir$d;j()V
intermediary method_20041
Lnet/minecraft/class_3763$class_4261;method_20041()V
named purgeMemory
Lnet/minecraft/entity/raid/RaiderEntity$AttackHomeGoal;purgeMemory()V
-