Class Constants

java.lang.Object
net.minecraftforge.common.util.Constants

@Deprecated(since="1.17", forRemoval=true) public class Constants extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
No longer needed. See inner classes for replacements. TODO Remove in 1.18
A class containing constants for magic numbers used in the minecraft codebase. Everything here should be checked each update, and have a comment relating to where to check it.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Deprecated, for removal: This API element is subject to removal in a future version.
    Replaced by the constants in Block.
    static class 
    Deprecated, for removal: This API element is subject to removal in a future version.
    Replaced by the constants in Tag.
    static class 
    Deprecated, for removal: This API element is subject to removal in a future version.
    Replaced by the constants in LevelEvent.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Constants

      public Constants()
      Deprecated, for removal: This API element is subject to removal in a future version.