Class SharedConstants

java.lang.Object
net.minecraft.util.SharedConstants

public class SharedConstants extends Object
  • Field Details

    • 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 Details

    • SharedConstants

      public SharedConstants()
  • Method Details

    • isAllowedChatCharacter

      public static boolean isAllowedChatCharacter(char p_71566_0_)
    • filterText

      public static String filterText(String p_71565_0_)
    • getCurrentVersion

      public static com.mojang.bridge.game.GameVersion getCurrentVersion()
    • getProtocolVersion

      public static int getProtocolVersion()