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
-
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 booleancanStart()booleanshouldContinue()voidstart()voidstop()Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, tick, toString