net.minecraft.world.level

public class GameRules$Type<T extends GameRules$Value<T>>

bjs$e
net.minecraft.world.level.GameRules$Type
net.minecraft.class_1928$class_4314
net.minecraft.world.GameRules$RuleType
net.minecraft.world.GameRules$RuleType
net.minecraft.server.v1_15_R1.GameRules$GameRuleDefinition

Field summary

Modifier and TypeField
private final Supplier<com.mojang.brigadier.arguments.ArgumentType<?>>
a
argument
field_19414
argumentType
field_223582_a
private final Function<GameRules$Type<T>, T>
b
constructor
field_19415
ruleFactory
field_223583_b
private final BiConsumer<MinecraftServer, T>
c
callback
field_19416
changeCallback
field_223584_c

Constructor summary

ModifierConstructor
private (Supplier<com.mojang.brigadier.arguments.ArgumentType<?>> argumentType, Function<GameRules$Type<T>, T> ruleFactory, BiConsumer<MinecraftServer, T> changeCallback)

Method summary

Modifier and TypeMethod
public com.mojang.brigadier.builder.RequiredArgumentBuilder<CommandSourceStack, ?>
a(String arg0)
createArgument(String arg0)
method_20775(String arg0)
argument(String name)
func_223581_a(String arg0)
public T
a()
createRule()
method_20773()
createRule()
func_223579_a()
getValue()