Package net.minecraft.entity.ai.goal
Class WolfBegGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.WolfBegGoal
- Mappings:
Namespace Name named net/minecraft/entity/ai/goal/WolfBegGoal
intermediary net/minecraft/class_1337
official bzw
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Modifier and TypeFieldDescriptionprivate final float
private @Nullable PlayerEntity
private int
private final TargetPredicate
private final WolfEntity
private final World
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canStart()
private boolean
isAttractive
(PlayerEntity player) boolean
void
start()
void
stop()
void
tick()
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, getTickCount, setControls, shouldRunEveryTick, toGoalTicks, toString
-
Field Details
-
wolf
- Mappings:
Namespace Name Mixin selector named wolf
Lnet/minecraft/entity/ai/goal/WolfBegGoal;wolf:Lnet/minecraft/entity/passive/WolfEntity;
intermediary field_6384
Lnet/minecraft/class_1337;field_6384:Lnet/minecraft/class_1493;
official a
Lbzw;a:Lcgj;
-
begFrom
- Mappings:
Namespace Name Mixin selector named begFrom
Lnet/minecraft/entity/ai/goal/WolfBegGoal;begFrom:Lnet/minecraft/entity/player/PlayerEntity;
intermediary field_6383
Lnet/minecraft/class_1337;field_6383:Lnet/minecraft/class_1657;
official b
Lbzw;b:Lcmy;
-
world
- Mappings:
Namespace Name Mixin selector named world
Lnet/minecraft/entity/ai/goal/WolfBegGoal;world:Lnet/minecraft/world/World;
intermediary field_6381
Lnet/minecraft/class_1337;field_6381:Lnet/minecraft/class_1937;
official c
Lbzw;c:Ldbz;
-
begDistance
private final float begDistance- Mappings:
Namespace Name Mixin selector named begDistance
Lnet/minecraft/entity/ai/goal/WolfBegGoal;begDistance:F
intermediary field_6380
Lnet/minecraft/class_1337;field_6380:F
official d
Lbzw;d:F
-
timer
private int timer- Mappings:
Namespace Name Mixin selector named timer
Lnet/minecraft/entity/ai/goal/WolfBegGoal;timer:I
intermediary field_6382
Lnet/minecraft/class_1337;field_6382:I
official e
Lbzw;e:I
-
validPlayerPredicate
- Mappings:
Namespace Name Mixin selector named validPlayerPredicate
Lnet/minecraft/entity/ai/goal/WolfBegGoal;validPlayerPredicate:Lnet/minecraft/entity/ai/TargetPredicate;
intermediary field_18085
Lnet/minecraft/class_1337;field_18085:Lnet/minecraft/class_4051;
official f
Lbzw;f:Lceh;
-
-
Constructor Details
-
WolfBegGoal
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/ai/goal/WolfBegGoal;<init>(Lnet/minecraft/entity/passive/WolfEntity;F)V
intermediary <init>
Lnet/minecraft/class_1337;<init>(Lnet/minecraft/class_1493;F)V
official <init>
Lbzw;<init>(Lcgj;F)V
-
-
Method Details
-
canStart
public boolean canStart() -
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classGoal
- Mappings:
Namespace Name Mixin selector named shouldContinue
Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
intermediary method_6266
Lnet/minecraft/class_1352;method_6266()Z
official b
Lcao;b()Z
-
start
public void start() -
stop
public void stop() -
tick
public void tick() -
isAttractive
- Mappings:
Namespace Name Mixin selector named isAttractive
Lnet/minecraft/entity/ai/goal/WolfBegGoal;isAttractive(Lnet/minecraft/entity/player/PlayerEntity;)Z
intermediary method_6244
Lnet/minecraft/class_1337;method_6244(Lnet/minecraft/class_1657;)Z
official a
Lbzw;a(Lcmy;)Z
-