net.minecraft.world.level

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

bwm$g
net.minecraft.world.level.GameRules$Value
net.minecraft.class_1928$class_4315
net.minecraft.world.GameRules$Rule
net.minecraft.src.C_1583_$C_1591_
net.minecraft.world.level.GameRules$GameRuleValue

Field summary

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

Constructor summary

ModifierConstructor
public (GameRules$Type<T> type)

Method summary

Modifier and TypeMethod
protected abstract void
a(com.mojang.brigadier.context.CommandContext<dl> 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)
m_5528_(com.mojang.brigadier.context.CommandContext<C_2969_> p_46366_, String arg1)
public void
b(com.mojang.brigadier.context.CommandContext<dl> 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)
m_46370_(com.mojang.brigadier.context.CommandContext<C_2969_> p_46372_, String arg1)
protected void
a(MinecraftServer arg0)
onChanged(MinecraftServer arg0)
method_20778(MinecraftServer arg0)
changed(MinecraftServer server)
m_46368_(C_4977_ arg0)
onChange(MinecraftServer arg0)
protected abstract void
a(String arg0)
deserialize(String arg0)
method_20777(String arg0)
deserialize(String value)
m_7377_(String arg0)
setValue(String arg0)
public abstract String
b()
serialize()
method_20779()
serialize()
m_5831_()
getValue()
public abstract int
c()
getCommandResult()
method_20781()
getCommandResult()
m_6855_()
getIntValue()
protected abstract T
g()
getSelf()
method_20782()
getThis()
m_5589_()
protected abstract T
f()
copy()
method_27338()
copy()
m_5590_()
public abstract void
a(T arg0, MinecraftServer arg1)
setFrom(T arg0, MinecraftServer arg1)
method_27337(T arg0, MinecraftServer arg1)
setValue(T rule, MinecraftServer server)
m_5614_(T p_46364_, C_4977_ arg1)