Package net.minecraft
Class SharedConstants
java.lang.Object
net.minecraft.SharedConstants
- Mappings:
Namespace Name official ab
intermediary net/minecraft/class_155
named net/minecraft/SharedConstants
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final boolean
static final String
Deprecated.static final int
Deprecated.static final String
static DataFixerPhase
static boolean
static boolean
static final int
static final int
static final long
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final float
static final float
static final float
private static final int
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final int
static final int
static final boolean
static final boolean
static final boolean
static final boolean
static final int
Deprecated.static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final int
static final boolean
static final boolean
static final int
private static @Nullable GameVersion
static final char[]
static final boolean
Deprecated.static boolean
static final String
Deprecated.static final int
Deprecated.static final ResourceLeakDetector.Level
static final int
Deprecated.static final int
static final int
static final int
static final int
static boolean
Specifies whether Minecraft should use choice type registrations from the game's schema when entity types or block entity types are created.static final String
Deprecated.static final int
Deprecated. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
static GameVersion
static int
static boolean
static boolean
isValidChar
(char chr) Returns true if the character is not the formatting code prefix (\u00a7), C0 control code (\u0000 to \u001f) or delete (\u007f).static void
setGameVersion
(GameVersion gameVersion) static String
Returnss
with all invalid characters stripped.static String
stripInvalidChars
(String s, boolean allowLinebreaks) Returnss
with invalid characters stripped.
-
Field Details
-
IS_DEVELOPMENT_VERSION
Deprecated.- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lab;a:Z
intermediary field_29709
Lnet/minecraft/class_155;field_29709:Z
named IS_DEVELOPMENT_VERSION
Lnet/minecraft/SharedConstants;IS_DEVELOPMENT_VERSION:Z
-
WORLD_VERSION
Deprecated.- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lab;b:I
intermediary field_29732
Lnet/minecraft/class_155;field_29732:I
named WORLD_VERSION
Lnet/minecraft/SharedConstants;WORLD_VERSION:I
-
CURRENT_SERIES
Deprecated.- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lab;c:Ljava/lang/String;
intermediary field_34373
Lnet/minecraft/class_155;field_34373:Ljava/lang/String;
named CURRENT_SERIES
Lnet/minecraft/SharedConstants;CURRENT_SERIES:Ljava/lang/String;
-
VERSION_NAME
Deprecated.- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lab;d:Ljava/lang/String;
intermediary field_29733
Lnet/minecraft/class_155;field_29733:Ljava/lang/String;
named VERSION_NAME
Lnet/minecraft/SharedConstants;VERSION_NAME:Ljava/lang/String;
-
RELEASE_TARGET
Deprecated.- See Also:
- Mappings:
Namespace Name Mixin selector official e
Lab;e:Ljava/lang/String;
intermediary field_29734
Lnet/minecraft/class_155;field_29734:Ljava/lang/String;
named RELEASE_TARGET
Lnet/minecraft/SharedConstants;RELEASE_TARGET:Ljava/lang/String;
-
RELEASE_TARGET_PROTOCOL_VERSION
Deprecated.- See Also:
- Mappings:
Namespace Name Mixin selector official f
Lab;f:I
intermediary field_29735
Lnet/minecraft/class_155;field_29735:I
named RELEASE_TARGET_PROTOCOL_VERSION
Lnet/minecraft/SharedConstants;RELEASE_TARGET_PROTOCOL_VERSION:I
-
field_29736
Deprecated.- See Also:
- Mappings:
Namespace Name Mixin selector official g
Lab;g:I
intermediary field_29736
Lnet/minecraft/class_155;field_29736:I
named field_29736
Lnet/minecraft/SharedConstants;field_29736:I
-
SNBT_TOO_OLD_THRESHOLD
public static final int SNBT_TOO_OLD_THRESHOLD- See Also:
- Mappings:
Namespace Name Mixin selector official h
Lab;h:I
intermediary field_29737
Lnet/minecraft/class_155;field_29737:I
named SNBT_TOO_OLD_THRESHOLD
Lnet/minecraft/SharedConstants;SNBT_TOO_OLD_THRESHOLD:I
-
field_29708
private static final int field_29708- See Also:
- Mappings:
Namespace Name Mixin selector official aZ
Lab;aZ:I
intermediary field_29708
Lnet/minecraft/class_155;field_29708:I
named field_29708
Lnet/minecraft/SharedConstants;field_29708:I
-
CRASH_ON_UNCAUGHT_THREAD_EXCEPTION
public static final boolean CRASH_ON_UNCAUGHT_THREAD_EXCEPTION- See Also:
- Mappings:
Namespace Name Mixin selector official i
Lab;i:Z
intermediary field_36325
Lnet/minecraft/class_155;field_36325:Z
named CRASH_ON_UNCAUGHT_THREAD_EXCEPTION
Lnet/minecraft/SharedConstants;CRASH_ON_UNCAUGHT_THREAD_EXCEPTION:Z
-
RESOURCE_PACK_VERSION
Deprecated.- See Also:
- Mappings:
Namespace Name Mixin selector official j
Lab;j:I
intermediary field_29738
Lnet/minecraft/class_155;field_29738:I
named RESOURCE_PACK_VERSION
Lnet/minecraft/SharedConstants;RESOURCE_PACK_VERSION:I
-
DATA_PACK_VERSION
Deprecated.- See Also:
- Mappings:
Namespace Name Mixin selector official k
Lab;k:I
intermediary field_29739
Lnet/minecraft/class_155;field_29739:I
named DATA_PACK_VERSION
Lnet/minecraft/SharedConstants;DATA_PACK_VERSION:I
-
DATA_VERSION_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official l
Lab;l:Ljava/lang/String;
intermediary field_29740
Lnet/minecraft/class_155;field_29740:Ljava/lang/String;
named DATA_VERSION_KEY
Lnet/minecraft/SharedConstants;DATA_VERSION_KEY:Ljava/lang/String;
-
field_33712
public static final boolean field_33712- See Also:
- Mappings:
Namespace Name Mixin selector official m
Lab;m:Z
intermediary field_33712
Lnet/minecraft/class_155;field_33712:Z
named field_33712
Lnet/minecraft/SharedConstants;field_33712:Z
-
field_29743
public static final boolean field_29743- See Also:
- Mappings:
Namespace Name Mixin selector official n
Lab;n:Z
intermediary field_29743
Lnet/minecraft/class_155;field_29743:Z
named field_29743
Lnet/minecraft/SharedConstants;field_29743:Z
-
field_29744
public static final boolean field_29744- See Also:
- Mappings:
Namespace Name Mixin selector official o
Lab;o:Z
intermediary field_29744
Lnet/minecraft/class_155;field_29744:Z
named field_29744
Lnet/minecraft/SharedConstants;field_29744:Z
-
field_29745
public static final boolean field_29745- See Also:
- Mappings:
Namespace Name Mixin selector official p
Lab;p:Z
intermediary field_29745
Lnet/minecraft/class_155;field_29745:Z
named field_29745
Lnet/minecraft/SharedConstants;field_29745:Z
-
field_33851
public static final boolean field_33851- See Also:
- Mappings:
Namespace Name Mixin selector official q
Lab;q:Z
intermediary field_33851
Lnet/minecraft/class_155;field_33851:Z
named field_33851
Lnet/minecraft/SharedConstants;field_33851:Z
-
field_29747
public static final boolean field_29747- See Also:
- Mappings:
Namespace Name Mixin selector official r
Lab;r:Z
intermediary field_29747
Lnet/minecraft/class_155;field_29747:Z
named field_29747
Lnet/minecraft/SharedConstants;field_29747:Z
-
field_35006
public static final boolean field_35006- See Also:
- Mappings:
Namespace Name Mixin selector official s
Lab;s:Z
intermediary field_35006
Lnet/minecraft/class_155;field_35006:Z
named field_35006
Lnet/minecraft/SharedConstants;field_35006:Z
-
field_35563
public static final boolean field_35563- See Also:
- Mappings:
Namespace Name Mixin selector official t
Lab;t:Z
intermediary field_35563
Lnet/minecraft/class_155;field_35563:Z
named field_35563
Lnet/minecraft/SharedConstants;field_35563:Z
-
field_29748
public static final boolean field_29748- See Also:
- Mappings:
Namespace Name Mixin selector official u
Lab;u:Z
intermediary field_29748
Lnet/minecraft/class_155;field_29748:Z
named field_29748
Lnet/minecraft/SharedConstants;field_29748:Z
-
field_33753
public static final boolean field_33753- See Also:
- Mappings:
Namespace Name Mixin selector official v
Lab;v:Z
intermediary field_33753
Lnet/minecraft/class_155;field_33753:Z
named field_33753
Lnet/minecraft/SharedConstants;field_33753:Z
-
field_29749
public static final boolean field_29749- See Also:
- Mappings:
Namespace Name Mixin selector official w
Lab;w:Z
intermediary field_29749
Lnet/minecraft/class_155;field_29749:Z
named field_29749
Lnet/minecraft/SharedConstants;field_29749:Z
-
field_29750
public static final boolean field_29750- See Also:
- Mappings:
Namespace Name Mixin selector official x
Lab;x:Z
intermediary field_29750
Lnet/minecraft/class_155;field_29750:Z
named field_29750
Lnet/minecraft/SharedConstants;field_29750:Z
-
field_29751
public static final boolean field_29751- See Also:
- Mappings:
Namespace Name Mixin selector official y
Lab;y:Z
intermediary field_29751
Lnet/minecraft/class_155;field_29751:Z
named field_29751
Lnet/minecraft/SharedConstants;field_29751:Z
-
field_29752
public static final boolean field_29752- See Also:
- Mappings:
Namespace Name Mixin selector official z
Lab;z:Z
intermediary field_29752
Lnet/minecraft/class_155;field_29752:Z
named field_29752
Lnet/minecraft/SharedConstants;field_29752:Z
-
field_29753
public static final boolean field_29753- See Also:
- Mappings:
Namespace Name Mixin selector official A
Lab;A:Z
intermediary field_29753
Lnet/minecraft/class_155;field_29753:Z
named field_29753
Lnet/minecraft/SharedConstants;field_29753:Z
-
field_29754
public static final boolean field_29754- See Also:
- Mappings:
Namespace Name Mixin selector official B
Lab;B:Z
intermediary field_29754
Lnet/minecraft/class_155;field_29754:Z
named field_29754
Lnet/minecraft/SharedConstants;field_29754:Z
-
field_29755
public static final boolean field_29755- See Also:
- Mappings:
Namespace Name Mixin selector official C
Lab;C:Z
intermediary field_29755
Lnet/minecraft/class_155;field_29755:Z
named field_29755
Lnet/minecraft/SharedConstants;field_29755:Z
-
field_29756
public static final boolean field_29756- See Also:
- Mappings:
Namespace Name Mixin selector official D
Lab;D:Z
intermediary field_29756
Lnet/minecraft/class_155;field_29756:Z
named field_29756
Lnet/minecraft/SharedConstants;field_29756:Z
-
field_29676
public static final boolean field_29676- See Also:
- Mappings:
Namespace Name Mixin selector official E
Lab;E:Z
intermediary field_29676
Lnet/minecraft/class_155;field_29676:Z
named field_29676
Lnet/minecraft/SharedConstants;field_29676:Z
-
field_29677
public static final boolean field_29677- See Also:
- Mappings:
Namespace Name Mixin selector official F
Lab;F:Z
intermediary field_29677
Lnet/minecraft/class_155;field_29677:Z
named field_29677
Lnet/minecraft/SharedConstants;field_29677:Z
-
field_29678
public static final boolean field_29678- See Also:
- Mappings:
Namespace Name Mixin selector official G
Lab;G:Z
intermediary field_29678
Lnet/minecraft/class_155;field_29678:Z
named field_29678
Lnet/minecraft/SharedConstants;field_29678:Z
-
field_29679
public static final boolean field_29679- See Also:
- Mappings:
Namespace Name Mixin selector official H
Lab;H:Z
intermediary field_29679
Lnet/minecraft/class_155;field_29679:Z
named field_29679
Lnet/minecraft/SharedConstants;field_29679:Z
-
field_29680
public static final boolean field_29680- See Also:
- Mappings:
Namespace Name Mixin selector official I
Lab;I:Z
intermediary field_29680
Lnet/minecraft/class_155;field_29680:Z
named field_29680
Lnet/minecraft/SharedConstants;field_29680:Z
-
field_29681
public static final boolean field_29681- See Also:
- Mappings:
Namespace Name Mixin selector official J
Lab;J:Z
intermediary field_29681
Lnet/minecraft/class_155;field_29681:Z
named field_29681
Lnet/minecraft/SharedConstants;field_29681:Z
-
field_29682
public static final boolean field_29682- See Also:
- Mappings:
Namespace Name Mixin selector official K
Lab;K:Z
intermediary field_29682
Lnet/minecraft/class_155;field_29682:Z
named field_29682
Lnet/minecraft/SharedConstants;field_29682:Z
-
field_29683
public static final boolean field_29683- See Also:
- Mappings:
Namespace Name Mixin selector official L
Lab;L:Z
intermediary field_29683
Lnet/minecraft/class_155;field_29683:Z
named field_29683
Lnet/minecraft/SharedConstants;field_29683:Z
-
field_29684
public static final boolean field_29684- See Also:
- Mappings:
Namespace Name Mixin selector official M
Lab;M:Z
intermediary field_29684
Lnet/minecraft/class_155;field_29684:Z
named field_29684
Lnet/minecraft/SharedConstants;field_29684:Z
-
field_29685
public static final boolean field_29685- See Also:
- Mappings:
Namespace Name Mixin selector official N
Lab;N:Z
intermediary field_29685
Lnet/minecraft/class_155;field_29685:Z
named field_29685
Lnet/minecraft/SharedConstants;field_29685:Z
-
field_29686
public static final boolean field_29686- See Also:
- Mappings:
Namespace Name Mixin selector official O
Lab;O:Z
intermediary field_29686
Lnet/minecraft/class_155;field_29686:Z
named field_29686
Lnet/minecraft/SharedConstants;field_29686:Z
-
field_29687
public static final boolean field_29687- See Also:
- Mappings:
Namespace Name Mixin selector official P
Lab;P:Z
intermediary field_29687
Lnet/minecraft/class_155;field_29687:Z
named field_29687
Lnet/minecraft/SharedConstants;field_29687:Z
-
field_29688
public static final boolean field_29688- See Also:
- Mappings:
Namespace Name Mixin selector official Q
Lab;Q:Z
intermediary field_29688
Lnet/minecraft/class_155;field_29688:Z
named field_29688
Lnet/minecraft/SharedConstants;field_29688:Z
-
field_29689
public static final boolean field_29689- See Also:
- Mappings:
Namespace Name Mixin selector official R
Lab;R:Z
intermediary field_29689
Lnet/minecraft/class_155;field_29689:Z
named field_29689
Lnet/minecraft/SharedConstants;field_29689:Z
-
field_29690
public static final boolean field_29690- See Also:
- Mappings:
Namespace Name Mixin selector official S
Lab;S:Z
intermediary field_29690
Lnet/minecraft/class_155;field_29690:Z
named field_29690
Lnet/minecraft/SharedConstants;field_29690:Z
-
field_29691
public static final boolean field_29691- See Also:
- Mappings:
Namespace Name Mixin selector official T
Lab;T:Z
intermediary field_29691
Lnet/minecraft/class_155;field_29691:Z
named field_29691
Lnet/minecraft/SharedConstants;field_29691:Z
-
field_29692
public static final boolean field_29692- See Also:
- Mappings:
Namespace Name Mixin selector official U
Lab;U:Z
intermediary field_29692
Lnet/minecraft/class_155;field_29692:Z
named field_29692
Lnet/minecraft/SharedConstants;field_29692:Z
-
field_29693
public static final boolean field_29693- See Also:
- Mappings:
Namespace Name Mixin selector official V
Lab;V:Z
intermediary field_29693
Lnet/minecraft/class_155;field_29693:Z
named field_29693
Lnet/minecraft/SharedConstants;field_29693:Z
-
field_29694
public static final boolean field_29694- See Also:
- Mappings:
Namespace Name Mixin selector official W
Lab;W:Z
intermediary field_29694
Lnet/minecraft/class_155;field_29694:Z
named field_29694
Lnet/minecraft/SharedConstants;field_29694:Z
-
field_29695
public static final boolean field_29695- See Also:
- Mappings:
Namespace Name Mixin selector official X
Lab;X:Z
intermediary field_29695
Lnet/minecraft/class_155;field_29695:Z
named field_29695
Lnet/minecraft/SharedConstants;field_29695:Z
-
field_29696
public static final boolean field_29696- See Also:
- Mappings:
Namespace Name Mixin selector official Y
Lab;Y:Z
intermediary field_29696
Lnet/minecraft/class_155;field_29696:Z
named field_29696
Lnet/minecraft/SharedConstants;field_29696:Z
-
field_29697
public static final boolean field_29697- See Also:
- Mappings:
Namespace Name Mixin selector official Z
Lab;Z:Z
intermediary field_29697
Lnet/minecraft/class_155;field_29697:Z
named field_29697
Lnet/minecraft/SharedConstants;field_29697:Z
-
field_29698
public static final boolean field_29698- See Also:
- Mappings:
Namespace Name Mixin selector official aa
Lab;aa:Z
intermediary field_29698
Lnet/minecraft/class_155;field_29698:Z
named field_29698
Lnet/minecraft/SharedConstants;field_29698:Z
-
field_29699
public static final boolean field_29699- See Also:
- Mappings:
Namespace Name Mixin selector official ab
Lab;ab:Z
intermediary field_29699
Lnet/minecraft/class_155;field_29699:Z
named field_29699
Lnet/minecraft/SharedConstants;field_29699:Z
-
field_29700
public static final boolean field_29700- See Also:
- Mappings:
Namespace Name Mixin selector official ac
Lab;ac:Z
intermediary field_29700
Lnet/minecraft/class_155;field_29700:Z
named field_29700
Lnet/minecraft/SharedConstants;field_29700:Z
-
field_33554
public static final boolean field_33554- See Also:
- Mappings:
Namespace Name Mixin selector official ad
Lab;ad:Z
intermediary field_33554
Lnet/minecraft/class_155;field_33554:Z
named field_33554
Lnet/minecraft/SharedConstants;field_33554:Z
-
field_37273
public static final boolean field_37273- See Also:
- Mappings:
Namespace Name Mixin selector official ae
Lab;ae:Z
intermediary field_37273
Lnet/minecraft/class_155;field_37273:Z
named field_37273
Lnet/minecraft/SharedConstants;field_37273:Z
-
field_39090
public static final boolean field_39090- See Also:
- Mappings:
Namespace Name Mixin selector official af
Lab;af:Z
intermediary field_39090
Lnet/minecraft/class_155;field_39090:Z
named field_39090
Lnet/minecraft/SharedConstants;field_39090:Z
-
field_39460
public static final boolean field_39460- See Also:
- Mappings:
Namespace Name Mixin selector official ag
Lab;ag:Z
intermediary field_39460
Lnet/minecraft/class_155;field_39460:Z
named field_39460
Lnet/minecraft/SharedConstants;field_39460:Z
-
field_34368
public static final boolean field_34368- See Also:
- Mappings:
Namespace Name Mixin selector official ah
Lab;ah:Z
intermediary field_34368
Lnet/minecraft/class_155;field_34368:Z
named field_34368
Lnet/minecraft/SharedConstants;field_34368:Z
-
field_29701
public static final boolean field_29701- See Also:
- Mappings:
Namespace Name Mixin selector official ai
Lab;ai:Z
intermediary field_29701
Lnet/minecraft/class_155;field_29701:Z
named field_29701
Lnet/minecraft/SharedConstants;field_29701:Z
-
field_29710
public static final boolean field_29710- See Also:
- Mappings:
Namespace Name Mixin selector official aj
Lab;aj:Z
intermediary field_29710
Lnet/minecraft/class_155;field_29710:Z
named field_29710
Lnet/minecraft/SharedConstants;field_29710:Z
-
field_34369
public static final boolean field_34369- See Also:
- Mappings:
Namespace Name Mixin selector official ak
Lab;ak:Z
intermediary field_34369
Lnet/minecraft/class_155;field_34369:Z
named field_34369
Lnet/minecraft/SharedConstants;field_34369:Z
-
field_34370
public static final boolean field_34370- See Also:
- Mappings:
Namespace Name Mixin selector official al
Lab;al:Z
intermediary field_34370
Lnet/minecraft/class_155;field_34370:Z
named field_34370
Lnet/minecraft/SharedConstants;field_34370:Z
-
DEBUG_BIOME_SOURCE
public static boolean DEBUG_BIOME_SOURCE- Mappings:
Namespace Name Mixin selector official am
Lab;am:Z
intermediary field_34371
Lnet/minecraft/class_155;field_34371:Z
named DEBUG_BIOME_SOURCE
Lnet/minecraft/SharedConstants;DEBUG_BIOME_SOURCE:Z
-
DEBUG_NOISE
public static boolean DEBUG_NOISE- Mappings:
Namespace Name Mixin selector official an
Lab;an:Z
intermediary field_34372
Lnet/minecraft/class_155;field_34372:Z
named DEBUG_NOISE
Lnet/minecraft/SharedConstants;DEBUG_NOISE:Z
-
field_29711
public static final boolean field_29711- See Also:
- Mappings:
Namespace Name Mixin selector official ao
Lab;ao:Z
intermediary field_29711
Lnet/minecraft/class_155;field_29711:Z
named field_29711
Lnet/minecraft/SharedConstants;field_29711:Z
-
field_29712
public static final boolean field_29712- See Also:
- Mappings:
Namespace Name Mixin selector official ap
Lab;ap:Z
intermediary field_29712
Lnet/minecraft/class_155;field_29712:Z
named field_29712
Lnet/minecraft/SharedConstants;field_29712:Z
-
field_29713
public static final boolean field_29713- See Also:
- Mappings:
Namespace Name Mixin selector official aq
Lab;aq:Z
intermediary field_29713
Lnet/minecraft/class_155;field_29713:Z
named field_29713
Lnet/minecraft/SharedConstants;field_29713:Z
-
field_29715
public static final boolean field_29715- See Also:
- Mappings:
Namespace Name Mixin selector official ar
Lab;ar:Z
intermediary field_29715
Lnet/minecraft/class_155;field_29715:Z
named field_29715
Lnet/minecraft/SharedConstants;field_29715:Z
-
field_29716
public static final boolean field_29716- See Also:
- Mappings:
Namespace Name Mixin selector official as
Lab;as:Z
intermediary field_29716
Lnet/minecraft/class_155;field_29716:Z
named field_29716
Lnet/minecraft/SharedConstants;field_29716:Z
-
field_29717
public static final boolean field_29717- See Also:
- Mappings:
Namespace Name Mixin selector official at
Lab;at:Z
intermediary field_29717
Lnet/minecraft/class_155;field_29717:Z
named field_29717
Lnet/minecraft/SharedConstants;field_29717:Z
-
field_29718
public static final boolean field_29718- See Also:
- Mappings:
Namespace Name Mixin selector official au
Lab;au:Z
intermediary field_29718
Lnet/minecraft/class_155;field_29718:Z
named field_29718
Lnet/minecraft/SharedConstants;field_29718:Z
-
field_33555
public static final boolean field_33555- See Also:
- Mappings:
Namespace Name Mixin selector official av
Lab;av:Z
intermediary field_33555
Lnet/minecraft/class_155;field_33555:Z
named field_33555
Lnet/minecraft/SharedConstants;field_33555:Z
-
field_35438
public static final boolean field_35438- See Also:
- Mappings:
Namespace Name Mixin selector official aw
Lab;aw:Z
intermediary field_35438
Lnet/minecraft/class_155;field_35438:Z
named field_35438
Lnet/minecraft/SharedConstants;field_35438:Z
-
field_35439
public static final boolean field_35439- See Also:
- Mappings:
Namespace Name Mixin selector official ax
Lab;ax:Z
intermediary field_35439
Lnet/minecraft/class_155;field_35439:Z
named field_35439
Lnet/minecraft/SharedConstants;field_35439:Z
-
DEFAULT_PORT
public static final int DEFAULT_PORT- See Also:
- Mappings:
Namespace Name Mixin selector official ay
Lab;ay:I
intermediary field_29719
Lnet/minecraft/class_155;field_29719:I
named DEFAULT_PORT
Lnet/minecraft/SharedConstants;DEFAULT_PORT:I
-
field_29720
public static final boolean field_29720- See Also:
- Mappings:
Namespace Name Mixin selector official az
Lab;az:Z
intermediary field_29720
Lnet/minecraft/class_155;field_29720:Z
named field_29720
Lnet/minecraft/SharedConstants;field_29720:Z
-
field_29721
public static final boolean field_29721- See Also:
- Mappings:
Namespace Name Mixin selector official aA
Lab;aA:Z
intermediary field_29721
Lnet/minecraft/class_155;field_29721:Z
named field_29721
Lnet/minecraft/SharedConstants;field_29721:Z
-
field_29722
public static final int field_29722- See Also:
- Mappings:
Namespace Name Mixin selector official aB
Lab;aB:I
intermediary field_29722
Lnet/minecraft/class_155;field_29722:I
named field_29722
Lnet/minecraft/SharedConstants;field_29722:I
-
field_29723
public static final int field_29723- See Also:
- Mappings:
Namespace Name Mixin selector official aC
Lab;aC:I
intermediary field_29723
Lnet/minecraft/class_155;field_29723:I
named field_29723
Lnet/minecraft/SharedConstants;field_29723:I
-
RESOURCE_LEAK_DETECTOR_DISABLED
- Mappings:
Namespace Name Mixin selector official aD
Lab;aD:Lio/netty/util/ResourceLeakDetector$Level;
intermediary field_1124
Lnet/minecraft/class_155;field_1124:Lio/netty/util/ResourceLeakDetector$Level;
named RESOURCE_LEAK_DETECTOR_DISABLED
Lnet/minecraft/SharedConstants;RESOURCE_LEAK_DETECTOR_DISABLED:Lio/netty/util/ResourceLeakDetector$Level;
-
field_29724
public static final boolean field_29724- See Also:
- Mappings:
Namespace Name Mixin selector official aE
Lab;aE:Z
intermediary field_29724
Lnet/minecraft/class_155;field_29724:Z
named field_29724
Lnet/minecraft/SharedConstants;field_29724:Z
-
field_29725
public static final boolean field_29725- See Also:
- Mappings:
Namespace Name Mixin selector official aF
Lab;aF:Z
intermediary field_29725
Lnet/minecraft/class_155;field_29725:Z
named field_29725
Lnet/minecraft/SharedConstants;field_29725:Z
-
field_29726
public static final boolean field_29726- See Also:
- Mappings:
Namespace Name Mixin selector official aG
Lab;aG:Z
intermediary field_29726
Lnet/minecraft/class_155;field_29726:Z
named field_29726
Lnet/minecraft/SharedConstants;field_29726:Z
-
field_29727
public static final boolean field_29727- See Also:
- Mappings:
Namespace Name Mixin selector official aH
Lab;aH:Z
intermediary field_29727
Lnet/minecraft/class_155;field_29727:Z
named field_29727
Lnet/minecraft/SharedConstants;field_29727:Z
-
field_35652
public static final boolean field_35652- See Also:
- Mappings:
Namespace Name Mixin selector official aI
Lab;aI:Z
intermediary field_35652
Lnet/minecraft/class_155;field_35652:Z
named field_35652
Lnet/minecraft/SharedConstants;field_35652:Z
-
field_22251
public static final long field_22251- Mappings:
Namespace Name Mixin selector official aJ
Lab;aJ:J
intermediary field_22251
Lnet/minecraft/class_155;field_22251:J
named field_22251
Lnet/minecraft/SharedConstants;field_22251:J
-
useChoiceTypeRegistrations
public static boolean useChoiceTypeRegistrationsSpecifies whether Minecraft should use choice type registrations from the game's schema when entity types or block entity types are created.- Mappings:
Namespace Name Mixin selector official aK
Lab;aK:Z
intermediary field_25135
Lnet/minecraft/class_155;field_25135:Z
named useChoiceTypeRegistrations
Lnet/minecraft/SharedConstants;useChoiceTypeRegistrations:Z
-
isDevelopment
public static boolean isDevelopment- Mappings:
Namespace Name Mixin selector official aL
Lab;aL:Z
intermediary field_1125
Lnet/minecraft/class_155;field_1125:Z
named isDevelopment
Lnet/minecraft/SharedConstants;isDevelopment:Z
-
dataFixerPhase
- Mappings:
Namespace Name Mixin selector official aM
Lab;aM:Lanj;
intermediary field_38828
Lnet/minecraft/class_155;field_38828:Lnet/minecraft/class_7395;
named dataFixerPhase
Lnet/minecraft/SharedConstants;dataFixerPhase:Lnet/minecraft/datafixer/DataFixerPhase;
-
CHUNK_WIDTH
public static final int CHUNK_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector official aN
Lab;aN:I
intermediary field_29729
Lnet/minecraft/class_155;field_29729:I
named CHUNK_WIDTH
Lnet/minecraft/SharedConstants;CHUNK_WIDTH:I
-
DEFAULT_WORLD_HEIGHT
public static final int DEFAULT_WORLD_HEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector official aO
Lab;aO:I
intermediary field_29730
Lnet/minecraft/class_155;field_29730:I
named DEFAULT_WORLD_HEIGHT
Lnet/minecraft/SharedConstants;DEFAULT_WORLD_HEIGHT:I
-
COMMAND_MAX_LENGTH
public static final int COMMAND_MAX_LENGTH- See Also:
- Mappings:
Namespace Name Mixin selector official aP
Lab;aP:I
intermediary field_29731
Lnet/minecraft/class_155;field_29731:I
named COMMAND_MAX_LENGTH
Lnet/minecraft/SharedConstants;COMMAND_MAX_LENGTH:I
-
field_38052
public static final int field_38052- See Also:
- Mappings:
Namespace Name Mixin selector official aQ
Lab;aQ:I
intermediary field_38052
Lnet/minecraft/class_155;field_38052:I
named field_38052
Lnet/minecraft/SharedConstants;field_38052:I
-
field_39898
public static final int field_39898- See Also:
- Mappings:
Namespace Name Mixin selector official aR
Lab;aR:I
intermediary field_39898
Lnet/minecraft/class_155;field_39898:I
named field_39898
Lnet/minecraft/SharedConstants;field_39898:I
-
INVALID_CHARS_LEVEL_NAME
public static final char[] INVALID_CHARS_LEVEL_NAME- Mappings:
Namespace Name Mixin selector official aS
Lab;aS:[C
intermediary field_1126
Lnet/minecraft/class_155;field_1126:[C
named INVALID_CHARS_LEVEL_NAME
Lnet/minecraft/SharedConstants;INVALID_CHARS_LEVEL_NAME:[C
-
TICKS_PER_SECOND
public static final int TICKS_PER_SECOND- See Also:
- Mappings:
Namespace Name Mixin selector official aT
Lab;aT:I
intermediary field_29702
Lnet/minecraft/class_155;field_29702:I
named TICKS_PER_SECOND
Lnet/minecraft/SharedConstants;TICKS_PER_SECOND:I
-
TICKS_PER_MINUTE
public static final int TICKS_PER_MINUTE- See Also:
- Mappings:
Namespace Name Mixin selector official aU
Lab;aU:I
intermediary field_29703
Lnet/minecraft/class_155;field_29703:I
named TICKS_PER_MINUTE
Lnet/minecraft/SharedConstants;TICKS_PER_MINUTE:I
-
TICKS_PER_IN_GAME_DAY
public static final int TICKS_PER_IN_GAME_DAY- See Also:
- Mappings:
Namespace Name Mixin selector official aV
Lab;aV:I
intermediary field_29704
Lnet/minecraft/class_155;field_29704:I
named TICKS_PER_IN_GAME_DAY
Lnet/minecraft/SharedConstants;TICKS_PER_IN_GAME_DAY:I
-
field_29705
public static final float field_29705- See Also:
- Mappings:
Namespace Name Mixin selector official aW
Lab;aW:F
intermediary field_29705
Lnet/minecraft/class_155;field_29705:F
named field_29705
Lnet/minecraft/SharedConstants;field_29705:F
-
field_29706
public static final float field_29706- See Also:
- Mappings:
Namespace Name Mixin selector official aX
Lab;aX:F
intermediary field_29706
Lnet/minecraft/class_155;field_29706:F
named field_29706
Lnet/minecraft/SharedConstants;field_29706:F
-
field_29707
public static final float field_29707- See Also:
- Mappings:
Namespace Name Mixin selector official aY
Lab;aY:F
intermediary field_29707
Lnet/minecraft/class_155;field_29707:F
named field_29707
Lnet/minecraft/SharedConstants;field_29707:F
-
gameVersion
- Mappings:
Namespace Name Mixin selector official ba
Lab;ba:Lae;
intermediary field_16742
Lnet/minecraft/class_155;field_16742:Lnet/minecraft/class_6489;
named gameVersion
Lnet/minecraft/SharedConstants;gameVersion:Lnet/minecraft/GameVersion;
-
-
Constructor Details
-
SharedConstants
public SharedConstants()
-
-
Method Details
-
isValidChar
public static boolean isValidChar(char chr) Returns true if the character is not the formatting code prefix (\u00a7), C0 control code (\u0000 to \u001f) or delete (\u007f).- Returns:
- true if the character is not the formatting code prefix (\u00a7), C0 control code (\u0000 to \u001f) or delete (\u007f)
- See Also:
- API Note:
- This method is used to determine if the server should accept a chat message sent from client.
- Mappings:
Namespace Name Mixin selector official a
Lab;a(C)Z
intermediary method_643
Lnet/minecraft/class_155;method_643(C)Z
named isValidChar
Lnet/minecraft/SharedConstants;isValidChar(C)Z
-
stripInvalidChars
Returnss
with all invalid characters stripped.LF (linebreak; U+000A) is an invalid character and therefore stripped. Use
stripInvalidChars(String, boolean)
to keep linebreaks.- Returns:
s
with all invalid characters stripped- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lab;a(Ljava/lang/String;)Ljava/lang/String;
intermediary method_644
Lnet/minecraft/class_155;method_644(Ljava/lang/String;)Ljava/lang/String;
named stripInvalidChars
Lnet/minecraft/SharedConstants;stripInvalidChars(Ljava/lang/String;)Ljava/lang/String;
-
stripInvalidChars
Returnss
with invalid characters stripped.LF (linebreak; U+000A) may or may not be stripped depending on the passed
allowLinebreaks
value.- Returns:
s
with invalid characters stripped- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lab;a(Ljava/lang/String;Z)Ljava/lang/String;
intermediary method_44355
Lnet/minecraft/class_155;method_44355(Ljava/lang/String;Z)Ljava/lang/String;
named stripInvalidChars
Lnet/minecraft/SharedConstants;stripInvalidChars(Ljava/lang/String;Z)Ljava/lang/String;
-
setGameVersion
- Mappings:
Namespace Name Mixin selector official a
Lab;a(Lae;)V
intermediary method_34872
Lnet/minecraft/class_155;method_34872(Lnet/minecraft/class_6489;)V
named setGameVersion
Lnet/minecraft/SharedConstants;setGameVersion(Lnet/minecraft/GameVersion;)V
-
createGameVersion
public static void createGameVersion()- Mappings:
Namespace Name Mixin selector official a
Lab;a()V
intermediary method_36208
Lnet/minecraft/class_155;method_36208()V
named createGameVersion
Lnet/minecraft/SharedConstants;createGameVersion()V
-
getGameVersion
- Mappings:
Namespace Name Mixin selector official b
Lab;b()Lae;
intermediary method_16673
Lnet/minecraft/class_155;method_16673()Lnet/minecraft/class_6489;
named getGameVersion
Lnet/minecraft/SharedConstants;getGameVersion()Lnet/minecraft/GameVersion;
-
getProtocolVersion
public static int getProtocolVersion()- Mappings:
Namespace Name Mixin selector official c
Lab;c()I
intermediary method_31372
Lnet/minecraft/class_155;method_31372()I
named getProtocolVersion
Lnet/minecraft/SharedConstants;getProtocolVersion()I
-
isOutsideGenerationArea
- Mappings:
Namespace Name Mixin selector official a
Lab;a(Lcge;)Z
intermediary method_37896
Lnet/minecraft/class_155;method_37896(Lnet/minecraft/class_1923;)Z
named isOutsideGenerationArea
Lnet/minecraft/SharedConstants;isOutsideGenerationArea(Lnet/minecraft/util/math/ChunkPos;)Z
-
enableDataFixerOptimization
public static void enableDataFixerOptimization()- Mappings:
Namespace Name Mixin selector official d
Lab;d()V
intermediary method_43250
Lnet/minecraft/class_155;method_43250()V
named enableDataFixerOptimization
Lnet/minecraft/SharedConstants;enableDataFixerOptimization()V
-