Class SubtitleOverlay.Subtitle

java.lang.Object
net.minecraft.client.gui.components.SubtitleOverlay.Subtitle
Enclosing class:
SubtitleOverlay

public static class SubtitleOverlay.Subtitle extends Object
  • Field Details

    • text

      private final Component text
    • range

      private final float range
    • time

      private long time
    • location

      private Vec3 location
  • Constructor Details

    • Subtitle

      public Subtitle(Component p_169072_, float p_312799_, Vec3 p_169073_)
  • Method Details

    • getText

      public Component getText()
    • getTime

      public long getTime()
    • getLocation

      public Vec3 getLocation()
    • refresh

      public void refresh(Vec3 p_94657_)
    • isAudibleFrom

      public boolean isAudibleFrom(Vec3 p_313169_)