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 booleanCHECK_DATA_FIXER_SCHEMAprivate static com.mojang.bridge.game.GameVersionCURRENT_VERSIONstatic char[]ILLEGAL_FILE_CHARACTERSstatic booleanIS_RUNNING_IN_IDEstatic longMAXIMUM_TICK_TIME_NANOSstatic io.netty.util.ResourceLeakDetector.LevelNETTY_LEAK_DETECTION
-
Constructor Summary
Constructors Constructor Description SharedConstants()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringfilterText(java.lang.String p_71565_0_)static com.mojang.bridge.game.GameVersiongetCurrentVersion()static intgetProtocolVersion()static booleanisAllowedChatCharacter(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()
-
-