Package net.minecraft.util
Class SharedConstants
- java.lang.Object
-
- net.minecraft.util.SharedConstants
-
public class SharedConstants extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
CHECK_DATA_FIXER_SCHEMA
private static com.mojang.bridge.game.GameVersion
CURRENT_VERSION
static char[]
ILLEGAL_FILE_CHARACTERS
static boolean
IS_RUNNING_IN_IDE
static long
MAXIMUM_TICK_TIME_NANOS
static io.netty.util.ResourceLeakDetector.Level
NETTY_LEAK_DETECTION
-
Constructor Summary
Constructors Constructor Description SharedConstants()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
filterText(java.lang.String p_71565_0_)
static com.mojang.bridge.game.GameVersion
getCurrentVersion()
static int
getProtocolVersion()
static boolean
isAllowedChatCharacter(char p_71566_0_)
-
-
-
Field Detail
-
NETTY_LEAK_DETECTION
public static final io.netty.util.ResourceLeakDetector.Level NETTY_LEAK_DETECTION
-
MAXIMUM_TICK_TIME_NANOS
public static final long MAXIMUM_TICK_TIME_NANOS
-
CHECK_DATA_FIXER_SCHEMA
public static boolean CHECK_DATA_FIXER_SCHEMA
-
IS_RUNNING_IN_IDE
public static boolean IS_RUNNING_IN_IDE
-
ILLEGAL_FILE_CHARACTERS
public static final char[] ILLEGAL_FILE_CHARACTERS
-
CURRENT_VERSION
private static com.mojang.bridge.game.GameVersion CURRENT_VERSION
-
-
Method Detail
-
isAllowedChatCharacter
public static boolean isAllowedChatCharacter(char p_71566_0_)
-
filterText
public static java.lang.String filterText(java.lang.String p_71565_0_)
-
getCurrentVersion
public static com.mojang.bridge.game.GameVersion getCurrentVersion()
-
getProtocolVersion
public static int getProtocolVersion()
-
-