Package net.minecraftforge.fml.client
Class ClientHooks
- java.lang.Object
-
- net.minecraftforge.fml.client.ClientHooks
-
public class ClientHooks extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.Set<java.lang.String>
badTextureDomains
private static com.google.common.collect.Table<java.lang.String,java.lang.String,java.util.Set<ResourceLocation>>
brokenTextures
private static org.apache.logging.log4j.Marker
CLIENTHOOKS
private static ResourceLocation
iconSheet
private static org.apache.logging.log4j.Logger
LOGGER
private static com.google.common.collect.SetMultimap<java.lang.String,ResourceLocation>
missingTextures
-
Constructor Summary
Constructors Constructor Description ClientHooks()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
drawForgePingInfo(MultiplayerScreen gui, ServerData target, MatrixStack mStack, int x, int y, int width, int relativeMouseX, int relativeMouseY)
static void
firePlayerLogin(PlayerController pc, ClientPlayerEntity player, NetworkManager networkManager)
static void
firePlayerLogout(PlayerController pc, ClientPlayerEntity player)
static void
firePlayerRespawn(PlayerController pc, ClientPlayerEntity oldPlayer, ClientPlayerEntity newPlayer, NetworkManager networkManager)
static java.lang.String
fixDescription(java.lang.String description)
private static NetworkManager
getClientToServerNetworkManager()
(package private) static java.io.File
getSavesDir()
static void
handleClientWorldClosing(ClientWorld world)
static void
logMissingTextureErrors()
static void
processForgeListPingData(ServerStatusResponse packet, ServerData target)
static void
trackBrokenTexture(ResourceLocation resourceLocation, java.lang.String error)
static void
trackMissingTexture(ResourceLocation resourceLocation)
-
-
-
Field Detail
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
CLIENTHOOKS
private static final org.apache.logging.log4j.Marker CLIENTHOOKS
-
iconSheet
private static final ResourceLocation iconSheet
-
missingTextures
private static com.google.common.collect.SetMultimap<java.lang.String,ResourceLocation> missingTextures
-
badTextureDomains
private static java.util.Set<java.lang.String> badTextureDomains
-
brokenTextures
private static com.google.common.collect.Table<java.lang.String,java.lang.String,java.util.Set<ResourceLocation>> brokenTextures
-
-
Method Detail
-
processForgeListPingData
@Nullable public static void processForgeListPingData(ServerStatusResponse packet, ServerData target)
-
drawForgePingInfo
public static void drawForgePingInfo(MultiplayerScreen gui, ServerData target, MatrixStack mStack, int x, int y, int width, int relativeMouseX, int relativeMouseY)
-
fixDescription
public static java.lang.String fixDescription(java.lang.String description)
-
getSavesDir
static java.io.File getSavesDir()
-
getClientToServerNetworkManager
private static NetworkManager getClientToServerNetworkManager()
-
handleClientWorldClosing
public static void handleClientWorldClosing(ClientWorld world)
-
trackMissingTexture
public static void trackMissingTexture(ResourceLocation resourceLocation)
-
trackBrokenTexture
public static void trackBrokenTexture(ResourceLocation resourceLocation, java.lang.String error)
-
logMissingTextureErrors
public static void logMissingTextureErrors()
-
firePlayerLogin
public static void firePlayerLogin(PlayerController pc, ClientPlayerEntity player, NetworkManager networkManager)
-
firePlayerLogout
public static void firePlayerLogout(PlayerController pc, ClientPlayerEntity player)
-
firePlayerRespawn
public static void firePlayerRespawn(PlayerController pc, ClientPlayerEntity oldPlayer, ClientPlayerEntity newPlayer, NetworkManager networkManager)
-
-