Class ClientHooks

java.lang.Object
net.neoforged.neoforge.client.ClientHooks

public class ClientHooks extends Object
Class for various client-side-only hooks.
  • Field Details

    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
    • CLIENTHOOKS

      private static final org.apache.logging.log4j.Marker CLIENTHOOKS
    • guiLayers

      private static final Stack<Screen> guiLayers
      Contains the *extra* GUI layers. The current top layer stays in Minecraft#currentScreen, and the rest serve as a background for it.
    • forgeStatusLine

      public static String forgeStatusLine
    • slotMainHand

      private static int slotMainHand
    • layerDefinitions

      private static final Map<ModelLayerLocation,Supplier<LayerDefinition>> layerDefinitions
    • ICON_SHEET

      private static final ResourceLocation ICON_SHEET
    • SPRITE_SOURCE_TYPES_MAP

      private static final com.google.common.collect.BiMap<ResourceLocation,SpriteSourceType> SPRITE_SOURCE_TYPES_MAP
    • initializedClientHooks

      private static boolean initializedClientHooks
  • Constructor Details

    • ClientHooks

      public ClientHooks()
  • Method Details