java.lang.Object
top.r3944realms.superleadrope.content.gamerule.SLPGamerules

public class SLPGamerules extends Object
The type Slp gamerules.
  • 字段详细资料

    • GAMERULE_PREFIX

      public static final String GAMERULE_PREFIX
      The constant GAMERULE_PREFIX.
      另请参阅:
    • GAMERULE_REGISTRY

      public static final SLPGameruleRegistry GAMERULE_REGISTRY
      The constant GAMERULE_REGISTRY.
    • gamerulesBooleanValuesClient

      public static final HashMap<String,Boolean> gamerulesBooleanValuesClient
      The constant gamerulesBooleanValuesClient.
    • gameruleIntegerValuesClient

      public static final HashMap<String,Integer> gameruleIntegerValuesClient
      The constant gameruleIntegerValuesClient.
    • RULE_KEY_PERFiX_

      public static final String RULE_KEY_PERFiX_
      The constant RULE_KEY_PERFiX_.
      另请参阅:
  • 构造器详细资料

    • SLPGamerules

      public SLPGamerules()
  • 方法详细资料

    • getDescriptionKey

      public static String getDescriptionKey(Class<?> gameRuleClass)
      Gets description key.
      参数:
      gameRuleClass - the game rule class
      返回:
      the description key
    • getDescriptionKey

      public static String getDescriptionKey(String gameRuleName)
      Gets description key.
      参数:
      gameRuleName - the game rule name
      返回:
      the description key
    • getGameruleName

      public static String getGameruleName(Class<?> clazz)
      Gets gamerule name.
      参数:
      clazz - the clazz
      返回:
      the gamerule name
    • getGameruleName

      public static String getGameruleName(String gamerulesName)
      Gets gamerule name.
      参数:
      gamerulesName - the gamerules name
      返回:
      the gamerule name
    • getNameKey

      public static String getNameKey(Class<?> gameRuleClass)
      Gets name key.
      参数:
      gameRuleClass - the game rule class
      返回:
      the name key