net.minecraft.world.level

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

dgf$g
net.minecraft.world.level.GameRules$Value
net.minecraft.class_1928$class_4315
net.minecraft.world.GameRules$Rule
net.minecraft.world.level.GameRules$GameRuleValue

Field summary

Modifier and TypeField
protected final GameRules$Type<T>
a
type
field_19417
type

Constructor summary

ModifierConstructor
public (GameRules$Type<T> type)

Method summary

Modifier and TypeMethod
protected abstract void
a(com.mojang.brigadier.context.CommandContext<ex> arg0, String arg1)
updateFromArgument(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_20776(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
setFromArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
public void
b(com.mojang.brigadier.context.CommandContext<ex> arg0, String arg1)
setFromArgument(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_20780(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
set(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
protected void
a(MinecraftServer arg0)
onChanged(MinecraftServer arg0)
method_20778(MinecraftServer arg0)
changed(MinecraftServer server)
protected abstract void
a(String arg0)
deserialize(String arg0)
method_20777(String arg0)
deserialize(String value)
public abstract String
b()
serialize()
method_20779()
serialize()
public abstract int
c()
getCommandResult()
method_20781()
getCommandResult()
protected abstract T
g()
getSelf()
method_20782()
getThis()
protected abstract T
f()
copy()
method_27338()
copy()
public abstract void
a(T arg0, MinecraftServer arg1)
setFrom(T arg0, MinecraftServer arg1)
method_27337(T arg0, MinecraftServer arg1)
setValue(T rule, MinecraftServer server)