Package net.minecraft.entity.ai.goal
Class TriggerSkeletonTrapGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.TriggerSkeletonTrapGoal
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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 Details
-
horse
-
-
Constructor Details
-
TriggerSkeletonTrapGoal
-
-
Method Details
-
canUse
public boolean canUse() -
tick
public void tick() -
createHorse
-
createSkeleton
private SkeletonEntity createSkeleton(DifficultyInstance p_188514_1_, AbstractHorseEntity p_188514_2_) -
disenchant
-