Class OverlayInfoToast

java.lang.Object
com.hbm_m.client.overlay.OverlayInfoToast

public class OverlayInfoToast extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
    Дальномер / лазерный детонатор (аналог ID_DETONATOR = 8 в 1.7.10).
    static final int
     
    static final int
     
    static final int
    Режимы кирки / топора / лопаты (аналог ID_TOOLABILITY в 1.7.10).
    static final int
     
    static final net.minecraftforge.client.gui.overlay.IGuiOverlay
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    onClientTick(net.minecraftforge.event.TickEvent.ClientTickEvent event)
     
    static void
    render(net.minecraft.client.gui.GuiGraphics gfx, float partialTick, int screenWidth, int screenHeight)
     
    static int
    rgbFromFormatting(net.minecraft.ChatFormatting formatting)
     
    static void
    show(net.minecraft.network.chat.Component text, int ticks, int id)
     
    static void
    show(net.minecraft.network.chat.Component text, int ticks, int id, int rgb)
    Аналог старого displayTooltip(msg, time, id): id обновляет существующую запись.
    static void
    showToolMode(net.minecraft.network.chat.Component text, net.minecraft.ChatFormatting formatting)
    Сообщение о переключении режима инструмента (60 тиков, один слот по id).

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ID_DASH

      public static final int ID_DASH
      See Also:
    • ID_VATS

      public static final int ID_VATS
      See Also:
    • ID_THERMAL

      public static final int ID_THERMAL
      See Also:
    • ID_FLUID_IDENTIFIER_SWAP

      public static final int ID_FLUID_IDENTIFIER_SWAP
      See Also:
    • ID_TOOL_MODE

      public static final int ID_TOOL_MODE
      Режимы кирки / топора / лопаты (аналог ID_TOOLABILITY в 1.7.10).
      See Also:
    • ID_DETONATOR

      public static final int ID_DETONATOR
      Дальномер / лазерный детонатор (аналог ID_DETONATOR = 8 в 1.7.10).
      See Also:
    • OVERLAY

      public static final net.minecraftforge.client.gui.overlay.IGuiOverlay OVERLAY
  • Constructor Details

    • OverlayInfoToast

      public OverlayInfoToast()
  • Method Details

    • show

      public static void show(net.minecraft.network.chat.Component text, int ticks, int id, int rgb)
      Аналог старого displayTooltip(msg, time, id): id обновляет существующую запись.
    • show

      public static void show(net.minecraft.network.chat.Component text, int ticks, int id)
    • rgbFromFormatting

      public static int rgbFromFormatting(net.minecraft.ChatFormatting formatting)
    • showToolMode

      public static void showToolMode(net.minecraft.network.chat.Component text, net.minecraft.ChatFormatting formatting)
      Сообщение о переключении режима инструмента (60 тиков, один слот по id).
    • onClientTick

      public static void onClientTick(net.minecraftforge.event.TickEvent.ClientTickEvent event)
    • render

      public static void render(net.minecraft.client.gui.GuiGraphics gfx, float partialTick, int screenWidth, int screenHeight)