Package net.minecraft.entity.mob
Class GhastEntity.ShootFireballGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.mob.GhastEntity.ShootFireballGoal
- Enclosing class:
GhastEntity
- Mappings:
Namespace Name official ccj$c
intermediary net/minecraft/class_1571$class_1574
named net/minecraft/entity/mob/GhastEntity$ShootFireballGoal
-
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, getControls, getTickCount, setControls, shouldContinue, toGoalTicks, toString
-
Field Details
-
ghast
- Mappings:
Namespace Name Mixin selector official b
Lccj$c;b:Lccj;
intermediary field_7277
Lnet/minecraft/class_1571$class_1574;field_7277:Lnet/minecraft/class_1571;
named ghast
Lnet/minecraft/entity/mob/GhastEntity$ShootFireballGoal;ghast:Lnet/minecraft/entity/mob/GhastEntity;
-
cooldown
public int cooldown- Mappings:
Namespace Name Mixin selector official a
Lccj$c;a:I
intermediary field_7278
Lnet/minecraft/class_1571$class_1574;field_7278:I
named cooldown
Lnet/minecraft/entity/mob/GhastEntity$ShootFireballGoal;cooldown:I
-
-
Constructor Details
-
ShootFireballGoal
- Mappings:
Namespace Name Mixin selector official <init>
Lccj$c;<init>(Lccj;)V
intermediary <init>
Lnet/minecraft/class_1571$class_1574;<init>(Lnet/minecraft/class_1571;)V
named <init>
Lnet/minecraft/entity/mob/GhastEntity$ShootFireballGoal;<init>(Lnet/minecraft/entity/mob/GhastEntity;)V
-
-
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 official T_
Lbth;T_()Z
intermediary method_38846
Lnet/minecraft/class_1352;method_38846()Z
named shouldRunEveryTick
Lnet/minecraft/entity/ai/goal/Goal;shouldRunEveryTick()Z
-
tick
public void tick()
-