net.minecraft.world.level

public class GameRules$IntegerValue

extends GameRules$Value<GameRules$IntegerValue>

dhe$d
net.minecraft.world.level.GameRules$IntegerValue
net.minecraft.class_1928$class_4312
net.minecraft.world.GameRules$IntRule
net.minecraft.world.level.GameRules$GameRuleInt

Field summary

Modifier and TypeField
private int
b
value
field_19412
value

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, dhe$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)
static GameRules$Type<GameRules$IntegerValue>
a(int arg0, int arg1, int arg2, cst arg3, BiConsumer<MinecraftServer, dhe$d> arg4)
create(int arg0, int arg1, int arg2, FeatureFlagSet arg3, BiConsumer<MinecraftServer, GameRules$IntegerValue> arg4)
method_56115(int arg0, int arg1, int arg2, class_7699 arg3, BiConsumer<MinecraftServer, class_1928$class_4312> arg4)
create(int initialValue, int min, int max, FeatureSet requiredFeatures, BiConsumer<MinecraftServer, GameRules$IntRule> changeCallback)
static GameRules$Type<GameRules$IntegerValue>
a(int arg0)
create(int arg0)
method_20768(int arg0)
create(int initialValue)
protected void
a(com.mojang.brigadier.context.CommandContext<ew> 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)
public int
a()
get()
method_20763()
get()
public void
a(int arg0, MinecraftServer arg1)
set(int arg0, MinecraftServer arg1)
method_35236(int arg0, MinecraftServer arg1)
set(int value, MinecraftServer server)
public String
b()
serialize()
method_20779()
serialize()
protected void
a(String arg0)
deserialize(String arg0)
method_20777(String arg0)
deserialize(String arg0)
public boolean
b(String arg0)
tryDeserialize(String arg0)
method_27332(String arg0)
validateAndSet(String input)
private static int
c(String arg0)
safeParse(String arg0)
method_20769(String arg0)
parseInt(String input)
public int
c()
getCommandResult()
method_20781()
getCommandResult()
protected GameRules$IntegerValue
d()
getSelf()
method_20770()
getThis()
protected GameRules$IntegerValue
e()
copy()
method_27333()
copy()
public void
a(dhe$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)