Class SharedConstants


  • public class SharedConstants
    extends java.lang.Object
    • 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
    • Constructor Detail

      • SharedConstants

        public SharedConstants()
    • 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()