Package net.minecraft.entity.mob
Class SilverfishEntity.WanderAndInfestGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.WanderAroundGoal
net.minecraft.entity.mob.SilverfishEntity.WanderAndInfestGoal
- Enclosing class:
- SilverfishEntity
static class SilverfishEntity.WanderAndInfestGoal extends WanderAroundGoal
- Mappings:
Namespace Name official bfm$a
intermediary net/minecraft/class_1614$class_1615
named net/minecraft/entity/mob/SilverfishEntity$WanderAndInfestGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.WanderAroundGoal
chance, ignoringChance, mob, speed, targetX, targetY, targetZ
-
Constructor Summary
Constructors Constructor Description WanderAndInfestGoal(SilverfishEntity silverfish)
-
Method Summary
Modifier and Type Method Description boolean
canStart()
boolean
shouldContinue()
void
start()
Methods inherited from class net.minecraft.entity.ai.goal.WanderAroundGoal
getWanderTarget, ignoreChanceOnce, setChance, stop
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, tick, toString
-
Field Details
-
direction
- Mappings:
Namespace Name Mixin selector official h
Lbfm$a;h:Lgc;
intermediary field_7368
Lnet/minecraft/class_1614$class_1615;field_7368:Lnet/minecraft/class_2350;
named direction
Lnet/minecraft/entity/mob/SilverfishEntity$WanderAndInfestGoal;direction:Lnet/minecraft/util/math/Direction;
-
canInfest
private boolean canInfest- Mappings:
Namespace Name Mixin selector official i
Lbfm$a;i:Z
intermediary field_7367
Lnet/minecraft/class_1614$class_1615;field_7367:Z
named canInfest
Lnet/minecraft/entity/mob/SilverfishEntity$WanderAndInfestGoal;canInfest:Z
-
-
Constructor Details
-
WanderAndInfestGoal
- Mappings:
Namespace Name Mixin selector official <init>
Lbfm$a;<init>(Lbfm;)V
intermediary <init>
Lnet/minecraft/class_1614$class_1615;<init>(Lnet/minecraft/class_1614;)V
named <init>
Lnet/minecraft/entity/mob/SilverfishEntity$WanderAndInfestGoal;<init>(Lnet/minecraft/entity/mob/SilverfishEntity;)V
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStart
in classWanderAroundGoal
- Mappings:
Namespace Name Mixin selector official a
Lawx;a()Z
intermediary method_6264
Lnet/minecraft/class_1352;method_6264()Z
named canStart
Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classWanderAroundGoal
- 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
-
start
public void start()- Overrides:
start
in classWanderAroundGoal
- Mappings:
Namespace Name Mixin selector official c
Lawx;c()V
intermediary method_6269
Lnet/minecraft/class_1352;method_6269()V
named start
Lnet/minecraft/entity/ai/goal/Goal;start()V
-