Custom Game Rule Category
public final class CustomGameRuleCategory
Content copied to clipboard
Utility class for creating custom game rule categories outside of the categories Minecraft provides.
Constructors
CustomGameRuleCategory
Link copied to clipboard
Creates a custom game rule category.
Functions
getCategory
Link copied to clipboard
static Optional<CustomGameRuleCategory> getCategory<T extends GameRules.Rule<T>>(GameRules.Key<T> key)
Content copied to clipboard
Properties
Sources
jvm source
Link copied to clipboard