Class DoorInteractGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.DoorInteractGoal
Direct Known Subclasses:
BreakDoorGoal, LongDoorInteractGoal

public abstract class DoorInteractGoal
extends Goal
Mappings:
Namespace Name
official awo
intermediary net/minecraft/class_1343
named net/minecraft/entity/ai/goal/DoorInteractGoal
  • Field Details

    • mob

      protected MobEntity mob
      Mappings:
      Namespace Name Mixin selector
      official d Lawo;d:Larj;
      intermediary field_6413 Lnet/minecraft/class_1343;field_6413:Lnet/minecraft/class_1308;
      named mob Lnet/minecraft/entity/ai/goal/DoorInteractGoal;mob:Lnet/minecraft/entity/mob/MobEntity;
    • doorPos

      protected BlockPos doorPos
      Mappings:
      Namespace Name Mixin selector
      official e Lawo;e:Lfx;
      intermediary field_6414 Lnet/minecraft/class_1343;field_6414:Lnet/minecraft/class_2338;
      named doorPos Lnet/minecraft/entity/ai/goal/DoorInteractGoal;doorPos:Lnet/minecraft/util/math/BlockPos;
    • doorValid

      protected boolean doorValid
      Mappings:
      Namespace Name Mixin selector
      official f Lawo;f:Z
      intermediary field_6412 Lnet/minecraft/class_1343;field_6412:Z
      named doorValid Lnet/minecraft/entity/ai/goal/DoorInteractGoal;doorValid:Z
    • shouldStop

      private boolean shouldStop
      Mappings:
      Namespace Name Mixin selector
      official a Lawo;a:Z
      intermediary field_6411 Lnet/minecraft/class_1343;field_6411:Z
      named shouldStop Lnet/minecraft/entity/ai/goal/DoorInteractGoal;shouldStop:Z
    • xOffset

      private float xOffset
      Mappings:
      Namespace Name Mixin selector
      official b Lawo;b:F
      intermediary field_6410 Lnet/minecraft/class_1343;field_6410:F
      named xOffset Lnet/minecraft/entity/ai/goal/DoorInteractGoal;xOffset:F
    • zOffset

      private float zOffset
      Mappings:
      Namespace Name Mixin selector
      official c Lawo;c:F
      intermediary field_6409 Lnet/minecraft/class_1343;field_6409:F
      named zOffset Lnet/minecraft/entity/ai/goal/DoorInteractGoal;zOffset:F
  • Constructor Details

    • DoorInteractGoal

      public DoorInteractGoal​(MobEntity mob)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lawo;<init>(Larj;)V
      intermediary <init> Lnet/minecraft/class_1343;<init>(Lnet/minecraft/class_1308;)V
      named <init> Lnet/minecraft/entity/ai/goal/DoorInteractGoal;<init>(Lnet/minecraft/entity/mob/MobEntity;)V
  • Method Details

    • isDoorOpen

      protected boolean isDoorOpen()
      Mappings:
      Namespace Name Mixin selector
      official g Lawo;g()Z
      intermediary method_6256 Lnet/minecraft/class_1343;method_6256()Z
      named isDoorOpen Lnet/minecraft/entity/ai/goal/DoorInteractGoal;isDoorOpen()Z
    • setDoorOpen

      protected void setDoorOpen​(boolean open)
      Mappings:
      Namespace Name Mixin selector
      official a Lawo;a(Z)V
      intermediary method_19995 Lnet/minecraft/class_1343;method_19995(Z)V
      named setDoorOpen Lnet/minecraft/entity/ai/goal/DoorInteractGoal;setDoorOpen(Z)V
    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
      Mappings:
      Namespace Name Mixin selector
      official a Lawx;a()Z
      intermediary method_6264 Lnet/minecraft/class_1352;method_6264()Z
      named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
    • shouldContinue

      public boolean shouldContinue()
      Overrides:
      shouldContinue in class Goal
      Mappings:
      Namespace Name Mixin selector
      official b Lawx;b()Z
      intermediary method_6266 Lnet/minecraft/class_1352;method_6266()Z
      named shouldContinue Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
    • start

      public void start()
      Overrides:
      start in class Goal
      Mappings:
      Namespace Name Mixin selector
      official c Lawx;c()V
      intermediary method_6269 Lnet/minecraft/class_1352;method_6269()V
      named start Lnet/minecraft/entity/ai/goal/Goal;start()V
    • tick

      public void tick()
      Overrides:
      tick in class Goal
      Mappings:
      Namespace Name Mixin selector
      official e Lawx;e()V
      intermediary method_6268 Lnet/minecraft/class_1352;method_6268()V
      named tick Lnet/minecraft/entity/ai/goal/Goal;tick()V