Package com.hbm_m.client.overlay
Class OverlayInfoToast
java.lang.Object
com.hbm_m.client.overlay.OverlayInfoToast
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intДальномер / лазерный детонатор (аналог ID_DETONATOR = 8 в 1.7.10).static final intstatic final intstatic final intРежимы кирки / топора / лопаты (аналог ID_TOOLABILITY в 1.7.10).static final intstatic final net.minecraftforge.client.gui.overlay.IGuiOverlay -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidonClientTick(net.minecraftforge.event.TickEvent.ClientTickEvent event) static voidrender(net.minecraft.client.gui.GuiGraphics gfx, float partialTick, int screenWidth, int screenHeight) static intrgbFromFormatting(net.minecraft.ChatFormatting formatting) static voidshow(net.minecraft.network.chat.Component text, int ticks, int id) static voidshow(net.minecraft.network.chat.Component text, int ticks, int id, int rgb) Аналог старого displayTooltip(msg, time, id): id обновляет существующую запись.static voidshowToolMode(net.minecraft.network.chat.Component text, net.minecraft.ChatFormatting formatting) Сообщение о переключении режима инструмента (60 тиков, один слот по id).
-
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)
-