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$bintermediary net/minecraft/class_1422$class_1424named 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 FishEntityfishFields 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 booleancanStart()Methods inherited from class net.minecraft.entity.ai.goal.SwimAroundGoal
getWanderTargetMethods inherited from class net.minecraft.entity.ai.goal.WanderAroundGoal
ignoreChanceOnce, setChance, shouldContinue, start, stopMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, tick, toString
-
Field Details
-
fish
- Mappings:
Namespace Name Mixin selector official hLbbg$b;h:Lbbg;intermediary field_6732Lnet/minecraft/class_1422$class_1424;field_6732:Lnet/minecraft/class_1422;named fishLnet/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;)Vintermediary <init>Lnet/minecraft/class_1422$class_1424;<init>(Lnet/minecraft/class_1422;)Vnamed <init>Lnet/minecraft/entity/passive/FishEntity$SwimToRandomPlaceGoal;<init>(Lnet/minecraft/entity/passive/FishEntity;)V
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStartin classWanderAroundGoal- Mappings:
Namespace Name Mixin selector official aLawx;a()Zintermediary method_6264Lnet/minecraft/class_1352;method_6264()Znamed canStartLnet/minecraft/entity/ai/goal/Goal;canStart()Z
-