Class GameRuleRegistryImpl

java.lang.Object
me.shedaniel.architectury.registry.forge.GameRuleRegistryImpl

public class GameRuleRegistryImpl extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static <T extends net.minecraft.world.level.GameRules.Value<T>>
    net.minecraft.world.level.GameRules.Key<T>
    register(String name, net.minecraft.world.level.GameRules.Category category, net.minecraft.world.level.GameRules.Type<T> type)
     

    Methods inherited from class java.lang.Object

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

    • GameRuleRegistryImpl

      public GameRuleRegistryImpl()
  • Method Details

    • register

      public static <T extends net.minecraft.world.level.GameRules.Value<T>> net.minecraft.world.level.GameRules.Key<T> register(String name, net.minecraft.world.level.GameRules.Category category, net.minecraft.world.level.GameRules.Type<T> type)