Class PowderSnowJumpGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.PowderSnowJumpGoal

public class PowderSnowJumpGoal extends Goal
Mappings:
Namespace Name
official bpq
intermediary net/minecraft/class_6868
named net/minecraft/entity/ai/goal/PowderSnowJumpGoal
  • Field Details

    • entity

      private final MobEntity entity
      Mappings:
      Namespace Name Mixin selector
      official a Lbpq;a:Lbji;
      intermediary field_36399 Lnet/minecraft/class_6868;field_36399:Lnet/minecraft/class_1308;
      named entity Lnet/minecraft/entity/ai/goal/PowderSnowJumpGoal;entity:Lnet/minecraft/entity/mob/MobEntity;
    • world

      private final World world
      Mappings:
      Namespace Name Mixin selector
      official b Lbpq;b:Lcpv;
      intermediary field_36400 Lnet/minecraft/class_6868;field_36400:Lnet/minecraft/class_1937;
      named world Lnet/minecraft/entity/ai/goal/PowderSnowJumpGoal;world:Lnet/minecraft/world/World;
  • Constructor Details

    • PowderSnowJumpGoal

      public PowderSnowJumpGoal(MobEntity entity, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbpq;<init>(Lbji;Lcpv;)V
      intermediary <init> Lnet/minecraft/class_6868;<init>(Lnet/minecraft/class_1308;Lnet/minecraft/class_1937;)V
      named <init> Lnet/minecraft/entity/ai/goal/PowderSnowJumpGoal;<init>(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/world/World;)V
  • Method Details

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
      Mappings:
      Namespace Name Mixin selector
      official a Lbqb;a()Z
      intermediary method_6264 Lnet/minecraft/class_1352;method_6264()Z
      named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
    • 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 class Goal
      Returns:
      if the goal should run every tick or not
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official Q_ Lbqb;Q_()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()
      Overrides:
      tick in class Goal
      Mappings:
      Namespace Name Mixin selector
      official e Lbqb;e()V
      intermediary method_6268 Lnet/minecraft/class_1352;method_6268()V
      named tick Lnet/minecraft/entity/ai/goal/Goal;tick()V