Package net.minecraft

Class SharedConstants

java.lang.Object
net.minecraft.SharedConstants

public class SharedConstants extends Object
Mappings:
Namespace Name
official y
intermediary net/minecraft/class_155
named net/minecraft/SharedConstants
  • Field Details

    • IS_DEVELOPMENT_VERSION

      @Deprecated public static final boolean IS_DEVELOPMENT_VERSION
      Deprecated.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Ly;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 public static final int WORLD_VERSION
      Deprecated.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Ly;b:I
      intermediary field_29732 Lnet/minecraft/class_155;field_29732:I
      named WORLD_VERSION Lnet/minecraft/SharedConstants;WORLD_VERSION:I
    • CURRENT_SERIES

      @Deprecated public static final String CURRENT_SERIES
      Deprecated.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Ly;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 public static final String VERSION_NAME
      Deprecated.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Ly;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 public static final int RELEASE_TARGET_PROTOCOL_VERSION
      Deprecated.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Ly;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 public static final int field_29736
      Deprecated.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Ly;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 Ly;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 bc Ly;bc: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 Ly;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 public static final int RESOURCE_PACK_VERSION
      Deprecated.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official i Ly;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 public static final int DATA_PACK_VERSION
      Deprecated.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official j Ly;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 public static final int field_39963
      Deprecated.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official k Ly;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 Ly;l:I
      intermediary field_39964 Lnet/minecraft/class_155;field_39964:I
      named field_39964 Lnet/minecraft/SharedConstants;field_39964:I
    • DATA_VERSION_KEY

      public static final String DATA_VERSION_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official m Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;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 Ly;ag: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 ah Ly;ah:Z
      intermediary field_39962 Lnet/minecraft/class_155;field_39962:Z
      named field_39962 Lnet/minecraft/SharedConstants;field_39962:Z
    • field_34368

      public static final boolean field_34368
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official ai Ly;ai: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 aj Ly;aj: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 ak Ly;ak: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 al Ly;al: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 am Ly;am: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 an Ly;an: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 ao Ly;ao: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 ap Ly;ap: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 aq Ly;aq: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 ar Ly;ar: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 as Ly;as: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 at Ly;at: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 au Ly;au: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 av Ly;av: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 aw Ly;aw: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 ax Ly;ax: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 ay Ly;ay: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 az Ly;az: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 aA Ly;aA: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 aB Ly;aB: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 aC Ly;aC: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 aD Ly;aD:I
      intermediary field_29723 Lnet/minecraft/class_155;field_29723:I
      named field_29723 Lnet/minecraft/SharedConstants;field_29723:I
    • RESOURCE_LEAK_DETECTOR_DISABLED

      public static final ResourceLeakDetector.Level RESOURCE_LEAK_DETECTOR_DISABLED
      Mappings:
      Namespace Name Mixin selector
      official aE Ly;aE: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 aF Ly;aF: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 aG Ly;aG: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 aH Ly;aH: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 aI Ly;aI: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 aJ Ly;aJ: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 aK Ly;aK: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 aL Ly;aL:Z
      intermediary field_41533 Lnet/minecraft/class_155;field_41533:Z
      named field_41533 Lnet/minecraft/SharedConstants;field_41533:Z
    • field_22251

      public static final long field_22251
      Mappings:
      Namespace Name Mixin selector
      official aM Ly;aM:J
      intermediary field_22251 Lnet/minecraft/class_155;field_22251:J
      named field_22251 Lnet/minecraft/SharedConstants;field_22251:J
    • useChoiceTypeRegistrations

      public static boolean useChoiceTypeRegistrations
      Specifies 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 aN Ly;aN: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 aO Ly;aO:Z
      intermediary field_1125 Lnet/minecraft/class_155;field_1125:Z
      named isDevelopment Lnet/minecraft/SharedConstants;isDevelopment:Z
    • dataFixerPhase

      public static DataFixerPhase dataFixerPhase
      Mappings:
      Namespace Name Mixin selector
      official aP Ly;aP:Lapd;
      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 aQ Ly;aQ: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 aR Ly;aR: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 aS Ly;aS: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 aT Ly;aT: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 aU Ly;aU: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 aV Ly;aV:[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 aW Ly;aW: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 aX Ly;aX: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 aY Ly;aY: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 aZ Ly;aZ: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 ba Ly;ba: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 bb Ly;bb:F
      intermediary field_29707 Lnet/minecraft/class_155;field_29707:F
      named field_29707 Lnet/minecraft/SharedConstants;field_29707:F
    • gameVersion

      @Nullable private static @Nullable GameVersion gameVersion
      Mappings:
      Namespace Name Mixin selector
      official bd Ly;bd:Lab;
      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 Ly;a(C)Z
      intermediary method_643 Lnet/minecraft/class_155;method_643(C)Z
      named isValidChar Lnet/minecraft/SharedConstants;isValidChar(C)Z
    • stripInvalidChars

      public static String stripInvalidChars(String s)
      Returns s 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 Ly;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

      public static String stripInvalidChars(String s, boolean allowLinebreaks)
      Returns s 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 Ly;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

      public static void setGameVersion(GameVersion gameVersion)
      Mappings:
      Namespace Name Mixin selector
      official a Ly;a(Lab;)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 Ly;a()V
      intermediary method_36208 Lnet/minecraft/class_155;method_36208()V
      named createGameVersion Lnet/minecraft/SharedConstants;createGameVersion()V
    • getGameVersion

      public static GameVersion getGameVersion()
      Mappings:
      Namespace Name Mixin selector
      official b Ly;b()Lab;
      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 Ly;c()I
      intermediary method_31372 Lnet/minecraft/class_155;method_31372()I
      named getProtocolVersion Lnet/minecraft/SharedConstants;getProtocolVersion()I
    • isOutsideGenerationArea

      public static boolean isOutsideGenerationArea(ChunkPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Ly;a(Lcjd;)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 Ly;d()V
      intermediary method_43250 Lnet/minecraft/class_155;method_43250()V
      named enableDataFixerOptimization Lnet/minecraft/SharedConstants;enableDataFixerOptimization()V