Package net.minecraft
Class SharedConstants
java.lang.Object
net.minecraft.SharedConstants
- Mappings:
Namespace Name official aa
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 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 int
static final boolean
static final boolean
static final int
static final boolean
static final boolean
static final int
Deprecated.static final int
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final int
static final int
static final boolean
private static @Nullable GameVersion
static final char[]
static final boolean
Deprecated.static boolean
static final int
Deprecated.static Set<com.mojang.datafixers.DSL.TypeReference>
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
Laa;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
Laa;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
Laa;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
Laa;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_PROTOCOL_VERSION
Deprecated.- See Also:
- Mappings:
Namespace Name Mixin selector official e
Laa;e: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 f
Laa;f: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 g
Laa;g: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 bj
Laa;bj: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 h
Laa;h: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 i
Laa;i: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 j
Laa;j:I
intermediary field_29739
Lnet/minecraft/class_155;field_29739:I
named DATA_PACK_VERSION
Lnet/minecraft/SharedConstants;DATA_PACK_VERSION:I
-
field_39963
Deprecated.- See Also:
- Mappings:
Namespace Name Mixin selector official k
Laa;k:I
intermediary field_39963
Lnet/minecraft/class_155;field_39963:I
named field_39963
Lnet/minecraft/SharedConstants;field_39963:I
-
field_39964
public static final int field_39964- See Also:
- Mappings:
Namespace Name Mixin selector official l
Laa;l:I
intermediary field_39964
Lnet/minecraft/class_155;field_39964:I
named field_39964
Lnet/minecraft/SharedConstants;field_39964:I
-
DATA_VERSION_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official m
Laa;m: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_29743
public static final boolean field_29743- See Also:
- Mappings:
Namespace Name Mixin selector official n
Laa;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
Laa;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
Laa;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
Laa;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
Laa;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
Laa;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
Laa;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
Laa;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
Laa;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
Laa;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
Laa;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
Laa;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
Laa;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
Laa;A:Z
intermediary field_29753
Lnet/minecraft/class_155;field_29753:Z
named field_29753
Lnet/minecraft/SharedConstants;field_29753:Z
-
field_44779
public static final boolean field_44779- See Also:
- Mappings:
Namespace Name Mixin selector official B
Laa;B:Z
intermediary field_44779
Lnet/minecraft/class_155;field_44779:Z
named field_44779
Lnet/minecraft/SharedConstants;field_44779:Z
-
field_29754
public static final boolean field_29754- See Also:
- Mappings:
Namespace Name Mixin selector official C
Laa;C: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 D
Laa;D: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 E
Laa;E: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 F
Laa;F:Z
intermediary field_29676
Lnet/minecraft/class_155;field_29676:Z
named field_29676
Lnet/minecraft/SharedConstants;field_29676:Z
-
field_44582
public static final boolean field_44582- See Also:
- Mappings:
Namespace Name Mixin selector official G
Laa;G:Z
intermediary field_44582
Lnet/minecraft/class_155;field_44582:Z
named field_44582
Lnet/minecraft/SharedConstants;field_44582:Z
-
field_29677
public static final boolean field_29677- See Also:
- Mappings:
Namespace Name Mixin selector official H
Laa;H: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 I
Laa;I: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 J
Laa;J: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 K
Laa;K: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 L
Laa;L: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 M
Laa;M: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 N
Laa;N: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 O
Laa;O: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 P
Laa;P: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 Q
Laa;Q: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 R
Laa;R: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 S
Laa;S: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 T
Laa;T: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 U
Laa;U: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 V
Laa;V: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 W
Laa;W: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 X
Laa;X: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 Y
Laa;Y: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 Z
Laa;Z: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 aa
Laa;aa: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 ab
Laa;ab: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 ac
Laa;ac: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 ad
Laa;ad: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 ae
Laa;ae: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 af
Laa;af: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 ag
Laa;ag: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 ah
Laa;ah: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 ai
Laa;ai:Z
intermediary field_39460
Lnet/minecraft/class_155;field_39460:Z
named field_39460
Lnet/minecraft/SharedConstants;field_39460:Z
-
field_39962
public static final boolean field_39962- See Also:
- Mappings:
Namespace Name Mixin selector official aj
Laa;aj:Z
intermediary field_39962
Lnet/minecraft/class_155;field_39962:Z
named field_39962
Lnet/minecraft/SharedConstants;field_39962:Z
-
field_46154
public static final boolean field_46154- See Also:
- Mappings:
Namespace Name Mixin selector official ak
Laa;ak:Z
intermediary field_46154
Lnet/minecraft/class_155;field_46154:Z
named field_46154
Lnet/minecraft/SharedConstants;field_46154:Z
-
field_34368
public static final boolean field_34368- See Also:
- Mappings:
Namespace Name Mixin selector official al
Laa;al: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 am
Laa;am: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 an
Laa;an: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 ao
Laa;ao: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 ap
Laa;ap: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 aq
Laa;aq: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 ar
Laa;ar: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 as
Laa;as: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 at
Laa;at: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 au
Laa;au: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 av
Laa;av: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 aw
Laa;aw: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 ax
Laa;ax: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 ay
Laa;ay: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 az
Laa;az: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 aA
Laa;aA: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 aB
Laa;aB: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 aC
Laa;aC: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 aD
Laa;aD: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 aE
Laa;aE: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 aF
Laa;aF: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 aG
Laa;aG: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 aH
Laa;aH: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 aI
Laa;aI: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 aJ
Laa;aJ: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 aK
Laa;aK: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 aL
Laa;aL: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 aM
Laa;aM:Z
intermediary field_35652
Lnet/minecraft/class_155;field_35652:Z
named field_35652
Lnet/minecraft/SharedConstants;field_35652:Z
-
field_39961
public static final boolean field_39961- See Also:
- Mappings:
Namespace Name Mixin selector official aN
Laa;aN:Z
intermediary field_39961
Lnet/minecraft/class_155;field_39961:Z
named field_39961
Lnet/minecraft/SharedConstants;field_39961:Z
-
field_41533
public static final boolean field_41533- See Also:
- Mappings:
Namespace Name Mixin selector official aO
Laa;aO:Z
intermediary field_41533
Lnet/minecraft/class_155;field_41533:Z
named field_41533
Lnet/minecraft/SharedConstants;field_41533:Z
-
field_44780
public static final boolean field_44780- See Also:
- Mappings:
Namespace Name Mixin selector official aP
Laa;aP:Z
intermediary field_44780
Lnet/minecraft/class_155;field_44780:Z
named field_44780
Lnet/minecraft/SharedConstants;field_44780:Z
-
field_22251
public static final long field_22251- Mappings:
Namespace Name Mixin selector official aQ
Laa;aQ:J
intermediary field_22251
Lnet/minecraft/class_155;field_22251:J
named field_22251
Lnet/minecraft/SharedConstants;field_22251:J
-
field_44583
public static final boolean field_44583- See Also:
- Mappings:
Namespace Name Mixin selector official aR
Laa;aR:Z
intermediary field_44583
Lnet/minecraft/class_155;field_44583:Z
named field_44583
Lnet/minecraft/SharedConstants;field_44583:Z
-
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 aS
Laa;aS: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 aT
Laa;aT:Z
intermediary field_1125
Lnet/minecraft/class_155;field_1125:Z
named isDevelopment
Lnet/minecraft/SharedConstants;isDevelopment:Z
-
requiredDataFixTypes
- Mappings:
Namespace Name Mixin selector official aU
Laa;aU:Ljava/util/Set;
intermediary field_43095
Lnet/minecraft/class_155;field_43095:Ljava/util/Set;
named requiredDataFixTypes
Lnet/minecraft/SharedConstants;requiredDataFixTypes:Ljava/util/Set;
-
CHUNK_WIDTH
public static final int CHUNK_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector official aV
Laa;aV: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 aW
Laa;aW: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 aX
Laa;aX: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 aY
Laa;aY: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 aZ
Laa;aZ: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 ba
Laa;ba:[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 bb
Laa;bb:I
intermediary field_29702
Lnet/minecraft/class_155;field_29702:I
named TICKS_PER_SECOND
Lnet/minecraft/SharedConstants;TICKS_PER_SECOND:I
-
field_44973
public static final int field_44973- See Also:
- Mappings:
Namespace Name Mixin selector official bc
Laa;bc:I
intermediary field_44973
Lnet/minecraft/class_155;field_44973:I
named field_44973
Lnet/minecraft/SharedConstants;field_44973:I
-
TICKS_PER_MINUTE
public static final int TICKS_PER_MINUTE- See Also:
- Mappings:
Namespace Name Mixin selector official bd
Laa;bd: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 be
Laa;be: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 bf
Laa;bf: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 bg
Laa;bg: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 bh
Laa;bh:F
intermediary field_29707
Lnet/minecraft/class_155;field_29707:F
named field_29707
Lnet/minecraft/SharedConstants;field_29707:F
-
field_44922
public static final int field_44922- See Also:
- Mappings:
Namespace Name Mixin selector official bi
Laa;bi:I
intermediary field_44922
Lnet/minecraft/class_155;field_44922:I
named field_44922
Lnet/minecraft/SharedConstants;field_44922:I
-
gameVersion
- Mappings:
Namespace Name Mixin selector official bk
Laa;bk:Lad;
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
Laa;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
Laa;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
Laa;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
Laa;a(Lad;)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
Laa;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
Laa;b()Lad;
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
Laa;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
Laa;a(Lcpc;)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
Laa;d()V
intermediary method_43250
Lnet/minecraft/class_155;method_43250()V
named enableDataFixerOptimization
Lnet/minecraft/SharedConstants;enableDataFixerOptimization()V
-