Package net.minecraft.world
Class GameRules.Key<T extends GameRules.Rule<T>>
java.lang.Object
net.minecraft.world.GameRules.Key<T>
- Enclosing class:
- GameRules
public static final class GameRules.Key<T extends GameRules.Rule<T>> extends Object
-
Field Summary
Fields Modifier and Type Field Description private GameRules.Categorycategoryprivate Stringname -
Constructor Summary
Constructors Constructor Description Key(String name, GameRules.Category category) -
Method Summary
Modifier and Type Method Description booleanequals(Object obj)GameRules.CategorygetCategory()StringgetName()StringgetTranslationKey()inthashCode()StringtoString()