public class BreakDoorGoal extends InteractDoorGoal
Modifier and Type | Field and Description |
---|---|
protected int |
breakingTime |
protected int |
field_220698_c |
private java.util.function.Predicate<Difficulty> |
field_220699_g |
protected int |
previousBreakProgress |
doorInteract, doorPosition, entity
Constructor and Description |
---|
BreakDoorGoal(MobEntity p_i50333_1_,
int p_i50333_2_,
java.util.function.Predicate<Difficulty> p_i50333_3_) |
BreakDoorGoal(MobEntity p_i50332_1_,
java.util.function.Predicate<Difficulty> p_i50332_2_) |
Modifier and Type | Method and Description |
---|---|
private boolean |
func_220696_a(Difficulty p_220696_1_) |
protected int |
func_220697_f() |
void |
resetTask() |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
void |
tick() |
canDestroy, canOpenDoor, toggleDoor
getMutexFlags, isPreemptible, setMutexFlags, toString
private final java.util.function.Predicate<Difficulty> field_220699_g
protected int breakingTime
protected int previousBreakProgress
protected int field_220698_c
public BreakDoorGoal(MobEntity p_i50332_1_, java.util.function.Predicate<Difficulty> p_i50332_2_)
public BreakDoorGoal(MobEntity p_i50333_1_, int p_i50333_2_, java.util.function.Predicate<Difficulty> p_i50333_3_)
protected int func_220697_f()
public boolean shouldExecute()
shouldExecute
in class InteractDoorGoal
public void startExecuting()
startExecuting
in class InteractDoorGoal
public boolean shouldContinueExecuting()
shouldContinueExecuting
in class InteractDoorGoal
public void tick()
tick
in class InteractDoorGoal
private boolean func_220696_a(Difficulty p_220696_1_)