Class SubtitlesHud.SubtitleEntry

java.lang.Object
net.minecraft.client.gui.hud.SubtitlesHud.SubtitleEntry
Enclosing class:
SubtitlesHud

@Environment(CLIENT) static class SubtitlesHud.SubtitleEntry extends Object
Mappings:
Namespace Name
named net/minecraft/client/gui/hud/SubtitlesHud$SubtitleEntry
intermediary net/minecraft/class_359$class_360
official fpn$b
  • Field Details

    • text

      private final Text text
      Mappings:
      Namespace Name Mixin selector
      named text Lnet/minecraft/client/gui/hud/SubtitlesHud$SubtitleEntry;text:Lnet/minecraft/text/Text;
      intermediary field_2188 Lnet/minecraft/class_359$class_360;field_2188:Lnet/minecraft/class_2561;
      official a Lfpn$b;a:Lxv;
    • range

      private final float range
      Mappings:
      Namespace Name Mixin selector
      named range Lnet/minecraft/client/gui/hud/SubtitlesHud$SubtitleEntry;range:F
      intermediary field_47673 Lnet/minecraft/class_359$class_360;field_47673:F
      official b Lfpn$b;b:F
    • sounds

      private final List<SubtitlesHud.SoundEntry> sounds
      Mappings:
      Namespace Name Mixin selector
      named sounds Lnet/minecraft/client/gui/hud/SubtitlesHud$SubtitleEntry;sounds:Ljava/util/List;
      intermediary field_51913 Lnet/minecraft/class_359$class_360;field_51913:Ljava/util/List;
      official c Lfpn$b;c:Ljava/util/List;
  • Constructor Details

    • SubtitleEntry

      public SubtitleEntry(Text text, float range, Vec3d pos)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/hud/SubtitlesHud$SubtitleEntry;<init>(Lnet/minecraft/text/Text;FLnet/minecraft/util/math/Vec3d;)V
      intermediary <init> Lnet/minecraft/class_359$class_360;<init>(Lnet/minecraft/class_2561;FLnet/minecraft/class_243;)V
      official <init> Lfpn$b;<init>(Lxv;FLfbx;)V
  • Method Details

    • getText

      public Text getText()
      Mappings:
      Namespace Name Mixin selector
      named getText Lnet/minecraft/client/gui/hud/SubtitlesHud$SubtitleEntry;getText()Lnet/minecraft/text/Text;
      intermediary method_1960 Lnet/minecraft/class_359$class_360;method_1960()Lnet/minecraft/class_2561;
      official a Lfpn$b;a()Lxv;
    • getNearestSound

      @Nullable public @Nullable SubtitlesHud.SoundEntry getNearestSound(Vec3d pos)
      Mappings:
      Namespace Name Mixin selector
      named getNearestSound Lnet/minecraft/client/gui/hud/SubtitlesHud$SubtitleEntry;getNearestSound(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/client/gui/hud/SubtitlesHud$SoundEntry;
      intermediary method_60572 Lnet/minecraft/class_359$class_360;method_60572(Lnet/minecraft/class_243;)Lnet/minecraft/class_359$class_9772;
      official a Lfpn$b;a(Lfbx;)Lfpn$a;
    • reset

      public void reset(Vec3d pos)
      Mappings:
      Namespace Name Mixin selector
      named reset Lnet/minecraft/client/gui/hud/SubtitlesHud$SubtitleEntry;reset(Lnet/minecraft/util/math/Vec3d;)V
      intermediary method_1958 Lnet/minecraft/class_359$class_360;method_1958(Lnet/minecraft/class_243;)V
      official b Lfpn$b;b(Lfbx;)V
    • canHearFrom

      public boolean canHearFrom(Vec3d pos)
      Mappings:
      Namespace Name Mixin selector
      named canHearFrom Lnet/minecraft/client/gui/hud/SubtitlesHud$SubtitleEntry;canHearFrom(Lnet/minecraft/util/math/Vec3d;)Z
      intermediary method_55589 Lnet/minecraft/class_359$class_360;method_55589(Lnet/minecraft/class_243;)Z
      official c Lfpn$b;c(Lfbx;)Z
    • removeExpired

      public void removeExpired(double expiry)
      Mappings:
      Namespace Name Mixin selector
      named removeExpired Lnet/minecraft/client/gui/hud/SubtitlesHud$SubtitleEntry;removeExpired(D)V
      intermediary method_60570 Lnet/minecraft/class_359$class_360;method_60570(D)V
      official a Lfpn$b;a(D)V
    • hasSounds

      public boolean hasSounds()
      Mappings:
      Namespace Name Mixin selector
      named hasSounds Lnet/minecraft/client/gui/hud/SubtitlesHud$SubtitleEntry;hasSounds()Z
      intermediary method_60574 Lnet/minecraft/class_359$class_360;method_60574()Z
      official b Lfpn$b;b()Z