Package net.minecraft.entity.ai.goal
Class HoldInHandsGoal<T extends MobEntity>
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.HoldInHandsGoal<T>
public class HoldInHandsGoal<T extends MobEntity> extends Goal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
-
Constructor Summary
Constructors Constructor Description HoldInHandsGoal(T actor, ItemStack item, SoundEvent sound, Predicate<? super T> condition)
-
Method Summary
Modifier and Type Method Description boolean
canStart()
boolean
shouldContinue()
void
start()
void
stop()
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, tick, toString
-
Field Details
-
actor
-
item
-
condition
-
sound
-
-
Constructor Details
-
HoldInHandsGoal
-
-
Method Details