Class BlockPosLookTarget

java.lang.Object
net.minecraft.entity.ai.brain.BlockPosLookTarget
All Implemented Interfaces:
LookTarget

public class BlockPosLookTarget extends Object implements LookTarget
Mappings:
Namespace Name
official bfx
intermediary net/minecraft/class_4099
named net/minecraft/entity/ai/brain/BlockPosLookTarget
  • Field Details

    • blockPos

      private final BlockPos blockPos
      Mappings:
      Namespace Name Mixin selector
      official a Lbfx;a:Lgp;
      intermediary field_18340 Lnet/minecraft/class_4099;field_18340:Lnet/minecraft/class_2338;
      named blockPos Lnet/minecraft/entity/ai/brain/BlockPosLookTarget;blockPos:Lnet/minecraft/util/math/BlockPos;
    • pos

      private final Vec3d pos
      Mappings:
      Namespace Name Mixin selector
      official b Lbfx;b:Leae;
      intermediary field_18341 Lnet/minecraft/class_4099;field_18341:Lnet/minecraft/class_243;
      named pos Lnet/minecraft/entity/ai/brain/BlockPosLookTarget;pos:Lnet/minecraft/util/math/Vec3d;
  • Constructor Details

    • BlockPosLookTarget

      public BlockPosLookTarget(BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbfx;<init>(Lgp;)V
      intermediary <init> Lnet/minecraft/class_4099;<init>(Lnet/minecraft/class_2338;)V
      named <init> Lnet/minecraft/entity/ai/brain/BlockPosLookTarget;<init>(Lnet/minecraft/util/math/BlockPos;)V
    • BlockPosLookTarget

      public BlockPosLookTarget(Vec3d pos)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbfx;<init>(Leae;)V
      intermediary <init> Lnet/minecraft/class_4099;<init>(Lnet/minecraft/class_243;)V
      named <init> Lnet/minecraft/entity/ai/brain/BlockPosLookTarget;<init>(Lnet/minecraft/util/math/Vec3d;)V
  • Method Details

    • getPos

      public Vec3d getPos()
      Specified by:
      getPos in interface LookTarget
      Mappings:
      Namespace Name Mixin selector
      official a Lbhh;a()Leae;
      intermediary method_18991 Lnet/minecraft/class_4115;method_18991()Lnet/minecraft/class_243;
      named getPos Lnet/minecraft/entity/ai/brain/LookTarget;getPos()Lnet/minecraft/util/math/Vec3d;
    • getBlockPos

      public BlockPos getBlockPos()
      Specified by:
      getBlockPos in interface LookTarget
      Mappings:
      Namespace Name Mixin selector
      official b Lbhh;b()Lgp;
      intermediary method_18989 Lnet/minecraft/class_4115;method_18989()Lnet/minecraft/class_2338;
      named getBlockPos Lnet/minecraft/entity/ai/brain/LookTarget;getBlockPos()Lnet/minecraft/util/math/BlockPos;
    • isSeenBy

      public boolean isSeenBy(LivingEntity entity)
      Specified by:
      isSeenBy in interface LookTarget
      Mappings:
      Namespace Name Mixin selector
      official a Lbhh;a(Lbeg;)Z
      intermediary method_18990 Lnet/minecraft/class_4115;method_18990(Lnet/minecraft/class_1309;)Z
      named isSeenBy Lnet/minecraft/entity/ai/brain/LookTarget;isSeenBy(Lnet/minecraft/entity/LivingEntity;)Z
    • toString

      public String toString()
      Overrides:
      toString in class Object