Package net.minecraft.entity.mob
Class ShulkerEntity.ShootBulletGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.mob.ShulkerEntity.ShootBulletGoal
- Enclosing class:
ShulkerEntity
- Mappings:
Namespace Name named net/minecraft/entity/mob/ShulkerEntity$ShootBulletGoal
intermediary net/minecraft/class_1606$class_1607
official cnc$a
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, castToServerWorld, getControls, getServerWorld, getTickCount, setControls, shouldContinue, toGoalTicks, toString
-
Field Details
-
counter
private int counter- Mappings:
Namespace Name Mixin selector named counter
Lnet/minecraft/entity/mob/ShulkerEntity$ShootBulletGoal;counter:I
intermediary field_7347
Lnet/minecraft/class_1606$class_1607;field_7347:I
official b
Lcnc$a;b:I
-
-
Constructor Details
-
ShootBulletGoal
public ShootBulletGoal()
-
-
Method Details
-
canStart
public boolean canStart() -
start
public void start() -
stop
public void stop() -
shouldRunEveryTick
public boolean shouldRunEveryTick()Returns if the goal should run every tick or not.This returns
false
by default. If this returns false, the goal will tick once after the entity is spawned, and will tick every other tick.- Overrides:
shouldRunEveryTick
in classGoal
- Returns:
- if the goal should run every tick or not
- See Also:
- Mappings:
Namespace Name Mixin selector named shouldRunEveryTick
Lnet/minecraft/entity/ai/goal/Goal;shouldRunEveryTick()Z
intermediary method_38846
Lnet/minecraft/class_1352;method_38846()Z
official V_
Lcdd;V_()Z
-
tick
public void tick()
-