net.minecraft.world.level

public class GameRules$IntegerValue

extends GameRules$Value<GameRules$IntegerValue>

cgt$d
net.minecraft.world.level.GameRules$IntegerValue
net.minecraft.class_1928$class_4312
net.minecraft.world.GameRules$IntRule
net.minecraft.src.C_1583_$C_1588_
net.minecraft.world.level.GameRules$GameRuleInt

Field summary

Modifier and TypeField
private int
b
value
field_19412
value
f_46284_

Constructor summary

ModifierConstructor
public (GameRules$Type<GameRules$IntegerValue> rule, int initialValue)

Method summary

Modifier and TypeMethod
private static GameRules$Type<GameRules$IntegerValue>
a(int arg0, BiConsumer<MinecraftServer, cgt$d> arg1)
create(int arg0, BiConsumer<MinecraftServer, GameRules$IntegerValue> arg1)
method_20766(int arg0, BiConsumer<MinecraftServer, class_1928$class_4312> arg1)
create(int initialValue, BiConsumer<MinecraftServer, GameRules$IntRule> changeCallback)
m_46294_(int p_46295_, BiConsumer<C_4977_, C_1583_$C_1588_> p_46296_)
static GameRules$Type<GameRules$IntegerValue>
a(int arg0)
create(int arg0)
method_20768(int arg0)
create(int initialValue)
m_46312_(int p_46313_)
protected void
a(com.mojang.brigadier.context.CommandContext<dr> 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> arg0, String arg1)
m_5528_(com.mojang.brigadier.context.CommandContext<C_2969_> p_46305_, String arg1)
public int
a()
get()
method_20763()
get()
m_46288_()
public void
a(int arg0, MinecraftServer arg1)
set(int arg0, MinecraftServer arg1)
method_35236(int arg0, MinecraftServer arg1)
set(int value, MinecraftServer server)
m_151489_(int p_151491_, C_4977_ arg1)
public String
b()
serialize()
method_20779()
serialize()
m_5831_()
protected void
a(String arg0)
deserialize(String arg0)
method_20777(String arg0)
deserialize(String arg0)
m_7377_(String arg0)
public boolean
b(String arg0)
tryDeserialize(String arg0)
method_27332(String arg0)
validate(String input)
m_46314_(String arg0)
private static int
c(String arg0)
safeParse(String arg0)
method_20769(String arg0)
parseInt(String input)
m_46317_(String p_46318_)
public int
c()
getCommandResult()
method_20781()
getCommandResult()
m_6855_()
protected GameRules$IntegerValue
d()
getSelf()
method_20770()
getThis()
m_5589_()
protected GameRules$IntegerValue
e()
copy()
method_27333()
copy()
m_5590_()
public void
a(cgt$d arg0, MinecraftServer arg1)
setFrom(GameRules$IntegerValue arg0, MinecraftServer arg1)
method_27331(class_1928$class_4312 arg0, MinecraftServer arg1)
setValue(GameRules$IntRule arg0, MinecraftServer arg1)
m_5614_(C_1583_$C_1588_ p_46299_, C_4977_ arg1)