Package net.minecraft
Class SharedConstants
java.lang.Object
net.minecraft.SharedConstants
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final floatstatic final floatstatic final floatstatic booleanstatic final booleanprivate static WorldVersionstatic Set<com.mojang.datafixers.DSL.TypeReference>static final intDeprecated.static final Stringstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic booleanstatic booleanstatic final intstatic final intstatic final intstatic final booleanstatic final booleanstatic final char[]static final booleanstatic booleanstatic final booleanstatic final intDeprecated.static final intstatic final intstatic final intstatic final intstatic final longstatic final intstatic final booleanstatic final io.netty.util.ResourceLeakDetector.Levelstatic final intDeprecated.static final intstatic final intDeprecated.static final StringDeprecated.static final booleanDeprecated.static final intDeprecated.private static final intstatic final intstatic final booleanstatic final intstatic final intstatic final intstatic final booleanstatic final booleanstatic final booleanstatic final StringDeprecated.static final intstatic final intstatic final intDeprecated.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic booleandebugVoidTerrain(ChunkPos p_183708_) static voidstatic StringfilterText(String p_136191_) static StringfilterText(String p_239658_, boolean p_239659_) static WorldVersionstatic intstatic booleanisAllowedChatCharacter(char p_136189_) static voidsetVersion(WorldVersion p_183706_) static void
- 
Field Details- 
SNAPSHOTDeprecated.- See Also:
 
- 
WORLD_VERSIONDeprecated.- See Also:
 
- 
SERIESDeprecated.- See Also:
 
- 
VERSION_STRINGDeprecated.- See Also:
 
- 
RELEASE_NETWORK_PROTOCOL_VERSIONDeprecated.- See Also:
 
- 
SNAPSHOT_NETWORK_PROTOCOL_VERSIONDeprecated.- See Also:
 
- 
SNBT_NAG_VERSIONpublic static final int SNBT_NAG_VERSION- See Also:
 
- 
SNAPSHOT_PROTOCOL_BITprivate static final int SNAPSHOT_PROTOCOL_BIT- See Also:
 
- 
THROW_ON_TASK_FAILUREpublic static final boolean THROW_ON_TASK_FAILURE- See Also:
 
- 
RESOURCE_PACK_FORMATDeprecated.- See Also:
 
- 
DATA_PACK_FORMATDeprecated.- See Also:
 
- 
LANGUAGE_FORMATDeprecated.- See Also:
 
- 
REPORT_FORMAT_VERSIONpublic static final int REPORT_FORMAT_VERSION- See Also:
 
- 
DATA_VERSION_TAG- See Also:
 
- 
USE_NEW_RENDERSYSTEMpublic static final boolean USE_NEW_RENDERSYSTEM- See Also:
 
- 
MULTITHREADED_RENDERINGpublic static final boolean MULTITHREADED_RENDERING- See Also:
 
- 
FIX_TNT_DUPEpublic static final boolean FIX_TNT_DUPE- See Also:
 
- 
FIX_SAND_DUPEpublic static final boolean FIX_SAND_DUPE- See Also:
 
- 
USE_DEBUG_FEATURESpublic static final boolean USE_DEBUG_FEATURES- See Also:
 
- 
DEBUG_OPEN_INCOMPATIBLE_WORLDSpublic static final boolean DEBUG_OPEN_INCOMPATIBLE_WORLDS- See Also:
 
- 
DEBUG_ALLOW_LOW_SIM_DISTANCEpublic static final boolean DEBUG_ALLOW_LOW_SIM_DISTANCE- See Also:
 
- 
DEBUG_HOTKEYSpublic static final boolean DEBUG_HOTKEYS- See Also:
 
- 
DEBUG_UI_NARRATIONpublic static final boolean DEBUG_UI_NARRATION- See Also:
 
- 
DEBUG_RENDERpublic static final boolean DEBUG_RENDER- See Also:
 
- 
DEBUG_PATHFINDINGpublic static final boolean DEBUG_PATHFINDING- See Also:
 
- 
DEBUG_WATERpublic static final boolean DEBUG_WATER- See Also:
 
- 
DEBUG_HEIGHTMAPpublic static final boolean DEBUG_HEIGHTMAP- See Also:
 
- 
DEBUG_COLLISIONpublic static final boolean DEBUG_COLLISION- See Also:
 
- 
DEBUG_SUPPORT_BLOCKSpublic static final boolean DEBUG_SUPPORT_BLOCKS- See Also:
 
- 
DEBUG_SHAPESpublic static final boolean DEBUG_SHAPES- See Also:
 
- 
DEBUG_NEIGHBORSUPDATEpublic static final boolean DEBUG_NEIGHBORSUPDATE- See Also:
 
- 
DEBUG_STRUCTURESpublic static final boolean DEBUG_STRUCTURES- See Also:
 
- 
DEBUG_LIGHTpublic static final boolean DEBUG_LIGHT- See Also:
 
- 
DEBUG_SKY_LIGHT_SECTIONSpublic static final boolean DEBUG_SKY_LIGHT_SECTIONS- See Also:
 
- 
DEBUG_WORLDGENATTEMPTpublic static final boolean DEBUG_WORLDGENATTEMPT- See Also:
 
- 
DEBUG_SOLID_FACEpublic static final boolean DEBUG_SOLID_FACE- See Also:
 
- 
DEBUG_CHUNKSpublic static final boolean DEBUG_CHUNKS- See Also:
 
- 
DEBUG_GAME_EVENT_LISTENERSpublic static final boolean DEBUG_GAME_EVENT_LISTENERS- See Also:
 
- 
DEBUG_DUMP_TEXTURE_ATLASpublic static final boolean DEBUG_DUMP_TEXTURE_ATLAS- See Also:
 
- 
DEBUG_DUMP_INTERPOLATED_TEXTURE_FRAMESpublic static final boolean DEBUG_DUMP_INTERPOLATED_TEXTURE_FRAMES- See Also:
 
- 
DEBUG_STRUCTURE_EDIT_MODEpublic static final boolean DEBUG_STRUCTURE_EDIT_MODE- See Also:
 
- 
DEBUG_SAVE_STRUCTURES_AS_SNBTpublic static final boolean DEBUG_SAVE_STRUCTURES_AS_SNBT- See Also:
 
- 
DEBUG_SYNCHRONOUS_GL_LOGSpublic static final boolean DEBUG_SYNCHRONOUS_GL_LOGS- See Also:
 
- 
DEBUG_VERBOSE_SERVER_EVENTSpublic static final boolean DEBUG_VERBOSE_SERVER_EVENTS- See Also:
 
- 
DEBUG_NAMED_RUNNABLESpublic static final boolean DEBUG_NAMED_RUNNABLES- See Also:
 
- 
DEBUG_GOAL_SELECTORpublic static final boolean DEBUG_GOAL_SELECTOR- See Also:
 
- 
DEBUG_VILLAGE_SECTIONSpublic static final boolean DEBUG_VILLAGE_SECTIONS- See Also:
 
- 
DEBUG_BRAINpublic static final boolean DEBUG_BRAIN- See Also:
 
- 
DEBUG_BEESpublic static final boolean DEBUG_BEES- See Also:
 
- 
DEBUG_RAIDSpublic static final boolean DEBUG_RAIDS- See Also:
 
- 
DEBUG_BLOCK_BREAKpublic static final boolean DEBUG_BLOCK_BREAK- See Also:
 
- 
DEBUG_RESOURCE_LOAD_TIMESpublic static final boolean DEBUG_RESOURCE_LOAD_TIMES- See Also:
 
- 
DEBUG_MONITOR_TICK_TIMESpublic static final boolean DEBUG_MONITOR_TICK_TIMES- See Also:
 
- 
DEBUG_KEEP_JIGSAW_BLOCKS_DURING_STRUCTURE_GENpublic static final boolean DEBUG_KEEP_JIGSAW_BLOCKS_DURING_STRUCTURE_GEN- See Also:
 
- 
DEBUG_DONT_SAVE_WORLDpublic static final boolean DEBUG_DONT_SAVE_WORLD- See Also:
 
- 
DEBUG_LARGE_DRIPSTONEpublic static final boolean DEBUG_LARGE_DRIPSTONE- See Also:
 
- 
DEBUG_PACKET_SERIALIZATIONpublic static final boolean DEBUG_PACKET_SERIALIZATION- See Also:
 
- 
DEBUG_CARVERSpublic static final boolean DEBUG_CARVERS- See Also:
 
- 
DEBUG_ORE_VEINSpublic static final boolean DEBUG_ORE_VEINS- See Also:
 
- 
DEBUG_SCULK_CATALYSTpublic static final boolean DEBUG_SCULK_CATALYST- See Also:
 
- 
DEBUG_BYPASS_REALMS_VERSION_CHECKpublic static final boolean DEBUG_BYPASS_REALMS_VERSION_CHECK- See Also:
 
- 
DEBUG_SOCIAL_INTERACTIONSpublic static final boolean DEBUG_SOCIAL_INTERACTIONS- See Also:
 
- 
DEBUG_VALIDATE_RESOURCE_PATH_CASEpublic static final boolean DEBUG_VALIDATE_RESOURCE_PATH_CASE- See Also:
 
- 
DEBUG_UNLOCK_ALL_TRADESpublic static final boolean DEBUG_UNLOCK_ALL_TRADES- See Also:
 
- 
DEBUG_BREEZE_MOBpublic static final boolean DEBUG_BREEZE_MOB- See Also:
 
- 
DEBUG_TRIAL_SPAWNER_DETECTS_SHEEP_AS_PLAYERSpublic static final boolean DEBUG_TRIAL_SPAWNER_DETECTS_SHEEP_AS_PLAYERS- See Also:
 
- 
DEBUG_FORCE_ONBOARDING_SCREENpublic static final boolean DEBUG_FORCE_ONBOARDING_SCREEN- See Also:
 
- 
DEBUG_IGNORE_LOCAL_MOB_CAPpublic static final boolean DEBUG_IGNORE_LOCAL_MOB_CAP- See Also:
 
- 
DEBUG_SMALL_SPAWNpublic static final boolean DEBUG_SMALL_SPAWN- See Also:
 
- 
DEBUG_DISABLE_LIQUID_SPREADINGpublic static final boolean DEBUG_DISABLE_LIQUID_SPREADING- See Also:
 
- 
DEBUG_AQUIFERSpublic static final boolean DEBUG_AQUIFERS- See Also:
 
- 
DEBUG_JFR_PROFILING_ENABLE_LEVEL_LOADINGpublic static final boolean DEBUG_JFR_PROFILING_ENABLE_LEVEL_LOADING- See Also:
 
- 
debugGenerateSquareTerrainWithoutNoisepublic static boolean debugGenerateSquareTerrainWithoutNoise
- 
debugGenerateStripedTerrainWithoutNoisepublic static boolean debugGenerateStripedTerrainWithoutNoise
- 
DEBUG_ONLY_GENERATE_HALF_THE_WORLDpublic static final boolean DEBUG_ONLY_GENERATE_HALF_THE_WORLD- See Also:
 
- 
DEBUG_DISABLE_FLUID_GENERATIONpublic static final boolean DEBUG_DISABLE_FLUID_GENERATION- See Also:
 
- 
DEBUG_DISABLE_AQUIFERSpublic static final boolean DEBUG_DISABLE_AQUIFERS- See Also:
 
- 
DEBUG_DISABLE_SURFACEpublic static final boolean DEBUG_DISABLE_SURFACE- See Also:
 
- 
DEBUG_DISABLE_CARVERSpublic static final boolean DEBUG_DISABLE_CARVERS- See Also:
 
- 
DEBUG_DISABLE_STRUCTURESpublic static final boolean DEBUG_DISABLE_STRUCTURES- See Also:
 
- 
DEBUG_DISABLE_FEATURESpublic static final boolean DEBUG_DISABLE_FEATURES- See Also:
 
- 
DEBUG_DISABLE_ORE_VEINSpublic static final boolean DEBUG_DISABLE_ORE_VEINS- See Also:
 
- 
DEBUG_DISABLE_BLENDINGpublic static final boolean DEBUG_DISABLE_BLENDING- See Also:
 
- 
DEBUG_DISABLE_BELOW_ZERO_RETROGENERATIONpublic static final boolean DEBUG_DISABLE_BELOW_ZERO_RETROGENERATION- See Also:
 
- 
DEFAULT_MINECRAFT_PORTpublic static final int DEFAULT_MINECRAFT_PORT- See Also:
 
- 
INGAME_DEBUG_OUTPUTpublic static final boolean INGAME_DEBUG_OUTPUT- See Also:
 
- 
DEBUG_SUBTITLESpublic static final boolean DEBUG_SUBTITLES- See Also:
 
- 
FAKE_MS_LATENCYpublic static final int FAKE_MS_LATENCY- See Also:
 
- 
FAKE_MS_JITTERpublic static final int FAKE_MS_JITTER- See Also:
 
- 
NETTY_LEAK_DETECTIONpublic static final io.netty.util.ResourceLeakDetector.Level NETTY_LEAK_DETECTION
- 
COMMAND_STACK_TRACESpublic static final boolean COMMAND_STACK_TRACES- See Also:
 
- 
DEBUG_WORLD_RECREATEpublic static final boolean DEBUG_WORLD_RECREATE- See Also:
 
- 
DEBUG_SHOW_SERVER_DEBUG_VALUESpublic static final boolean DEBUG_SHOW_SERVER_DEBUG_VALUES- See Also:
 
- 
DEBUG_STORE_CHUNK_STACKTRACESpublic static final boolean DEBUG_STORE_CHUNK_STACKTRACES- See Also:
 
- 
DEBUG_FEATURE_COUNTpublic static final boolean DEBUG_FEATURE_COUNT- See Also:
 
- 
DEBUG_RESOURCE_GENERATION_OVERRIDEpublic static final boolean DEBUG_RESOURCE_GENERATION_OVERRIDE- See Also:
 
- 
DEBUG_FORCE_TELEMETRYpublic static final boolean DEBUG_FORCE_TELEMETRY- See Also:
 
- 
DEBUG_DONT_SEND_TELEMETRY_TO_BACKENDpublic static final boolean DEBUG_DONT_SEND_TELEMETRY_TO_BACKEND- See Also:
 
- 
MAXIMUM_TICK_TIME_NANOSpublic static final long MAXIMUM_TICK_TIME_NANOS
- 
USE_WORKFLOWS_HOOKSpublic static final boolean USE_WORKFLOWS_HOOKS- See Also:
 
- 
CHECK_DATA_FIXER_SCHEMApublic static boolean CHECK_DATA_FIXER_SCHEMA
- 
IS_RUNNING_IN_IDEpublic static boolean IS_RUNNING_IN_IDE
- 
IS_RUNNING_WITH_JDWPpublic static final boolean IS_RUNNING_WITH_JDWP
- 
DATA_FIX_TYPES_TO_OPTIMIZE
- 
WORLD_RESOLUTIONpublic static final int WORLD_RESOLUTION- See Also:
 
- 
MAX_CHAT_LENGTHpublic static final int MAX_CHAT_LENGTH- See Also:
 
- 
MAX_COMMAND_LENGTHpublic static final int MAX_COMMAND_LENGTH- See Also:
 
- 
MAX_CHAINED_NEIGHBOR_UPDATESpublic static final int MAX_CHAINED_NEIGHBOR_UPDATES- See Also:
 
- 
MAX_RENDER_DISTANCEpublic static final int MAX_RENDER_DISTANCE- See Also:
 
- 
ILLEGAL_FILE_CHARACTERSpublic static final char[] ILLEGAL_FILE_CHARACTERS
- 
TICKS_PER_SECONDpublic static final int TICKS_PER_SECOND- See Also:
 
- 
MILLIS_PER_TICKpublic static final int MILLIS_PER_TICK- See Also:
 
- 
TICKS_PER_MINUTEpublic static final int TICKS_PER_MINUTE- See Also:
 
- 
TICKS_PER_GAME_DAYpublic static final int TICKS_PER_GAME_DAY- See Also:
 
- 
AVERAGE_GAME_TICKS_PER_RANDOM_TICK_PER_BLOCKpublic static final float AVERAGE_GAME_TICKS_PER_RANDOM_TICK_PER_BLOCK- See Also:
 
- 
AVERAGE_RANDOM_TICKS_PER_BLOCK_PER_MINUTEpublic static final float AVERAGE_RANDOM_TICKS_PER_BLOCK_PER_MINUTE- See Also:
 
- 
AVERAGE_RANDOM_TICKS_PER_BLOCK_PER_GAME_DAYpublic static final float AVERAGE_RANDOM_TICKS_PER_BLOCK_PER_GAME_DAY- See Also:
 
- 
WORLD_ICON_SIZEpublic static final int WORLD_ICON_SIZE- See Also:
 
- 
CURRENT_VERSION
 
- 
- 
Constructor Details- 
SharedConstantspublic SharedConstants()
 
- 
- 
Method Details- 
isAllowedChatCharacterpublic static boolean isAllowedChatCharacter(char p_136189_) 
- 
filterText
- 
filterText
- 
setVersion
- 
tryDetectVersionpublic static void tryDetectVersion()
- 
getCurrentVersion
- 
getProtocolVersionpublic static int getProtocolVersion()
- 
debugVoidTerrain
- 
enableDataFixerOptimizationspublic static void enableDataFixerOptimizations()
 
-