Package net.minecraft.entity.passive
Class FishEntity.SwimToRandomPlaceGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.WanderAroundGoal
net.minecraft.entity.ai.goal.SwimAroundGoal
net.minecraft.entity.passive.FishEntity.SwimToRandomPlaceGoal
- Enclosing class:
- FishEntity
static class FishEntity.SwimToRandomPlaceGoal extends SwimAroundGoal
- Mappings:
Namespace Name official bbg$b
intermediary net/minecraft/class_1422$class_1424
named net/minecraft/entity/passive/FishEntity$SwimToRandomPlaceGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields Modifier and Type Field Description private FishEntity
fish
Fields inherited from class net.minecraft.entity.ai.goal.WanderAroundGoal
chance, ignoringChance, mob, speed, targetX, targetY, targetZ
-
Constructor Summary
Constructors Constructor Description SwimToRandomPlaceGoal(FishEntity fish)
-
Method Summary
Modifier and Type Method Description boolean
canStart()
Methods inherited from class net.minecraft.entity.ai.goal.SwimAroundGoal
getWanderTarget
Methods inherited from class net.minecraft.entity.ai.goal.WanderAroundGoal
ignoreChanceOnce, setChance, shouldContinue, start, stop
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, tick, toString
-
Field Details
-
fish
- Mappings:
Namespace Name Mixin selector official h
Lbbg$b;h:Lbbg;
intermediary field_6732
Lnet/minecraft/class_1422$class_1424;field_6732:Lnet/minecraft/class_1422;
named fish
Lnet/minecraft/entity/passive/FishEntity$SwimToRandomPlaceGoal;fish:Lnet/minecraft/entity/passive/FishEntity;
-
-
Constructor Details
-
SwimToRandomPlaceGoal
- Mappings:
Namespace Name Mixin selector official <init>
Lbbg$b;<init>(Lbbg;)V
intermediary <init>
Lnet/minecraft/class_1422$class_1424;<init>(Lnet/minecraft/class_1422;)V
named <init>
Lnet/minecraft/entity/passive/FishEntity$SwimToRandomPlaceGoal;<init>(Lnet/minecraft/entity/passive/FishEntity;)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
-