Class EnderMan.EndermanLeaveBlockGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.monster.EnderMan.EndermanLeaveBlockGoal
- Enclosing class:
EnderMan
-
Nested Class Summary
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate booleancanPlaceBlock(Level pLevel, BlockPos pDestinationPos, BlockState pCarriedState, BlockState pDestinationState, BlockState pBelowDestinationState, BlockPos pBelowDestinationPos) booleancanUse()voidtick()Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, canContinueToUse, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, start, stop, toString
-
Field Details
-
enderman
-
-
Constructor Details
-
EndermanLeaveBlockGoal
-
-
Method Details
-
canUse
public boolean canUse() -
tick
public void tick() -
canPlaceBlock
private boolean canPlaceBlock(Level pLevel, BlockPos pDestinationPos, BlockState pCarriedState, BlockState pDestinationState, BlockState pBelowDestinationState, BlockPos pBelowDestinationPos)
-