Uses of Enum Class
net.minecraft.world.rule.GameRuleType
Packages that use GameRuleType
Package
Description
-
Uses of GameRuleType in net.minecraft.server.dedicated.management.dispatch
Methods in net.minecraft.server.dedicated.management.dispatch with parameters of type GameRuleTypeModifier and TypeMethodDescriptionprivate static <T> GameRuleRpcDispatcher.RuleEntry<T> GameRuleRpcDispatcher.RuleEntry.validateType(GameRule<T> rule, GameRuleType type, T value) -
Uses of GameRuleType in net.minecraft.server.dedicated.management.schema
Fields in net.minecraft.server.dedicated.management.schema with type parameters of type GameRuleType -
Uses of GameRuleType in net.minecraft.world.rule
Fields in net.minecraft.world.rule declared as GameRuleTypeMethods in net.minecraft.world.rule that return GameRuleTypeModifier and TypeMethodDescriptionGameRule.getType()static GameRuleTypeReturns the enum constant of this class with the specified name.static GameRuleType[]GameRuleType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.world.rule with parameters of type GameRuleTypeModifier and TypeMethodDescriptionprivate static <T> GameRule<T> GameRules.register(String name, GameRuleCategory category, GameRuleType type, com.mojang.brigadier.arguments.ArgumentType<T> argumentType, com.mojang.serialization.Codec<T> codec, T defaultValue, FeatureSet requiredFeatures, GameRules.Acceptor<T> acceptor, ToIntFunction<T> commandResultSupplier) Constructors in net.minecraft.world.rule with parameters of type GameRuleTypeModifierConstructorDescriptionGameRule(GameRuleCategory category, GameRuleType type, com.mojang.brigadier.arguments.ArgumentType<T> argumentType, GameRules.Acceptor<T> acceptor, com.mojang.serialization.Codec<T> codec, ToIntFunction<T> commandResultSupplier, T defaultValue, FeatureSet requiredFeatures)