Package net.minecraft.entity.ai.goal
Class WolfBegGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.WolfBegGoal
public class WolfBegGoal extends Goal
- Mappings:
Namespace Name official awg
intermediary net/minecraft/class_1337
named net/minecraft/entity/ai/goal/WolfBegGoal
-
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 float
begDistance
private PlayerEntity
begFrom
private int
timer
private TargetPredicate
validPlayerPredicate
private WolfEntity
wolf
private World
world
-
Constructor Summary
Constructors Constructor Description WolfBegGoal(WolfEntity wolf, float begDistance)
-
Method Summary
Modifier and Type Method Description boolean
canStart()
private boolean
isAttractive(PlayerEntity player)
boolean
shouldContinue()
void
start()
void
stop()
void
tick()
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Field Details
-
wolf
- Mappings:
Namespace Name Mixin selector official a
Lawg;a:Lbck;
intermediary field_6384
Lnet/minecraft/class_1337;field_6384:Lnet/minecraft/class_1493;
named wolf
Lnet/minecraft/entity/ai/goal/WolfBegGoal;wolf:Lnet/minecraft/entity/passive/WolfEntity;
-
begFrom
- Mappings:
Namespace Name Mixin selector official b
Lawg;b:Lbhl;
intermediary field_6383
Lnet/minecraft/class_1337;field_6383:Lnet/minecraft/class_1657;
named begFrom
Lnet/minecraft/entity/ai/goal/WolfBegGoal;begFrom:Lnet/minecraft/entity/player/PlayerEntity;
-
world
- Mappings:
Namespace Name Mixin selector official c
Lawg;c:Lbtv;
intermediary field_6381
Lnet/minecraft/class_1337;field_6381:Lnet/minecraft/class_1937;
named world
Lnet/minecraft/entity/ai/goal/WolfBegGoal;world:Lnet/minecraft/world/World;
-
begDistance
private final float begDistance- Mappings:
Namespace Name Mixin selector official d
Lawg;d:F
intermediary field_6380
Lnet/minecraft/class_1337;field_6380:F
named begDistance
Lnet/minecraft/entity/ai/goal/WolfBegGoal;begDistance:F
-
timer
private int timer- Mappings:
Namespace Name Mixin selector official e
Lawg;e:I
intermediary field_6382
Lnet/minecraft/class_1337;field_6382:I
named timer
Lnet/minecraft/entity/ai/goal/WolfBegGoal;timer:I
-
validPlayerPredicate
- Mappings:
Namespace Name Mixin selector official f
Lawg;f:Lbal;
intermediary field_18085
Lnet/minecraft/class_1337;field_18085:Lnet/minecraft/class_4051;
named validPlayerPredicate
Lnet/minecraft/entity/ai/goal/WolfBegGoal;validPlayerPredicate:Lnet/minecraft/entity/ai/TargetPredicate;
-
-
Constructor Details
-
WolfBegGoal
- Mappings:
Namespace Name Mixin selector official <init>
Lawg;<init>(Lbck;F)V
intermediary <init>
Lnet/minecraft/class_1337;<init>(Lnet/minecraft/class_1493;F)V
named <init>
Lnet/minecraft/entity/ai/goal/WolfBegGoal;<init>(Lnet/minecraft/entity/passive/WolfEntity;F)V
-
-
Method Details
-
canStart
public boolean canStart() -
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
-
start
public void start() -
stop
public void stop() -
tick
public void tick() -
isAttractive
- Mappings:
Namespace Name Mixin selector official a
Lawg;a(Lbhl;)Z
intermediary method_6244
Lnet/minecraft/class_1337;method_6244(Lnet/minecraft/class_1657;)Z
named isAttractive
Lnet/minecraft/entity/ai/goal/WolfBegGoal;isAttractive(Lnet/minecraft/entity/player/PlayerEntity;)Z
-