Package net.minecraftforge.fml.client
Class ClientHooks
java.lang.Object
net.minecraftforge.fml.client.ClientHooks
-
Field Summary
Modifier and TypeFieldDescriptionprivate static com.google.common.collect.Table<String,
String, Set<ResourceLocation>> private static final org.apache.logging.log4j.Marker
private static final ResourceLocation
private static final org.apache.logging.log4j.Logger
private static com.google.common.collect.SetMultimap<String,
ResourceLocation> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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 String
fixDescription
(String description) private static NetworkManager
(package private) static File
static void
static void
static void
processForgeListPingData
(ServerStatusResponse packet, ServerData target) static void
trackBrokenTexture
(ResourceLocation resourceLocation, String error) static void
trackMissingTexture
(ResourceLocation resourceLocation)
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
CLIENTHOOKS
private static final org.apache.logging.log4j.Marker CLIENTHOOKS -
iconSheet
-
missingTextures
-
badTextureDomains
-
brokenTextures
-
-
Constructor Details
-
ClientHooks
public ClientHooks()
-
-
Method Details
-
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
-
getSavesDir
-
getClientToServerNetworkManager
-
handleClientWorldClosing
-
trackMissingTexture
-
trackBrokenTexture
-
logMissingTextureErrors
public static void logMissingTextureErrors() -
firePlayerLogin
public static void firePlayerLogin(PlayerController pc, ClientPlayerEntity player, NetworkManager networkManager) -
firePlayerLogout
-
firePlayerRespawn
public static void firePlayerRespawn(PlayerController pc, ClientPlayerEntity oldPlayer, ClientPlayerEntity newPlayer, NetworkManager networkManager)
-