Package net.minecraft.entity.mob
Class EndermanEntity.PlaceBlockGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.mob.EndermanEntity.PlaceBlockGoal
- Enclosing class:
- EndermanEntity
static class EndermanEntity.PlaceBlockGoal extends Goal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields Modifier and Type Field Description private EndermanEntity
enderman
-
Constructor Summary
Constructors Constructor Description PlaceBlockGoal(EndermanEntity enderman)
-
Method Summary
Modifier and Type Method Description private boolean
canPlaceOn(World world, BlockPos posAbove, BlockState carriedState, BlockState stateAbove, BlockState state, BlockPos pos)
boolean
canStart()
void
tick()
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, shouldContinue, start, stop, toString
-
Field Details
-
enderman
-
-
Constructor Details
-
PlaceBlockGoal
-
-
Method Details
-
canStart
public boolean canStart() -
tick
public void tick() -
canPlaceOn
private boolean canPlaceOn(World world, BlockPos posAbove, BlockState carriedState, BlockState stateAbove, BlockState state, BlockPos pos)
-