Package net.minecraft.entity.ai.goal
Class TriggerSkeletonTrapGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.TriggerSkeletonTrapGoal
-
public class TriggerSkeletonTrapGoal extends Goal
-
-
Field Summary
Fields Modifier and Type Field Description private SkeletonHorseEntity
horse
-
Constructor Summary
Constructors Constructor Description TriggerSkeletonTrapGoal(SkeletonHorseEntity p_i46797_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canUse()
private AbstractHorseEntity
createHorse(DifficultyInstance p_188515_1_)
private SkeletonEntity
createSkeleton(DifficultyInstance p_188514_1_, AbstractHorseEntity p_188514_2_)
private ItemStack
disenchant(ItemStack p_242327_1_)
void
tick()
-
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canContinueToUse, getFlags, isInterruptable, setFlags, start, stop, toString
-
-
-
-
Field Detail
-
horse
private final SkeletonHorseEntity horse
-
-
Constructor Detail
-
TriggerSkeletonTrapGoal
public TriggerSkeletonTrapGoal(SkeletonHorseEntity p_i46797_1_)
-
-
Method Detail
-
createHorse
private AbstractHorseEntity createHorse(DifficultyInstance p_188515_1_)
-
createSkeleton
private SkeletonEntity createSkeleton(DifficultyInstance p_188514_1_, AbstractHorseEntity p_188514_2_)
-
-