public class GameRules$Type<T extends GameRules$Value<T>>
cpr$f | |
net.minecraft.world.level.GameRules$Type | |
net.minecraft.class_1928$class_4314 | |
net.minecraft.world.GameRules$Type | |
net.minecraft.src.C_1583_$C_1590_ | |
net.minecraft.world.level.GameRules$GameRuleDefinition |
Field summary
Modifier and Type | Field | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
private final Supplier<com.mojang.brigadier.arguments.ArgumentType<?>> |
| ||||||||||
private final Function<GameRules$Type<T>, T> |
| ||||||||||
final BiConsumer<MinecraftServer, T> |
| ||||||||||
private final GameRules$VisitorCaller<T> |
|
Constructor summary
Modifier | Constructor |
---|---|
(Supplier<com.mojang.brigadier.arguments.ArgumentType<?>> argumentType, Function<GameRules$Type<T>, T> ruleFactory, BiConsumer<MinecraftServer, T> changeCallback, GameRules$VisitorCaller<T> ruleAcceptor) |
Method summary
Modifier and Type | Method | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public com.mojang.brigadier.builder.RequiredArgumentBuilder<CommandSourceStack, ?> |
| ||||||||||
public T |
| ||||||||||
public void |
|