net.minecraft.world.level

public class GameRules$BooleanValue

extends GameRules$Value<GameRules$BooleanValue>

dhe$a
net.minecraft.world.level.GameRules$BooleanValue
net.minecraft.class_1928$class_4310
net.minecraft.world.GameRules$BooleanRule
net.minecraft.world.level.GameRules$GameRuleBoolean

Field summary

Modifier and TypeField
private boolean
b
value
field_19411
value

Constructor summary

ModifierConstructor
public (GameRules$Type<GameRules$BooleanValue> type, boolean initialValue)

Method summary

Modifier and TypeMethod
static GameRules$Type<GameRules$BooleanValue>
a(boolean arg0, BiConsumer<MinecraftServer, dhe$a> arg1)
create(boolean arg0, BiConsumer<MinecraftServer, GameRules$BooleanValue> arg1)
method_20760(boolean arg0, BiConsumer<MinecraftServer, class_1928$class_4310> arg1)
create(boolean initialValue, BiConsumer<MinecraftServer, GameRules$BooleanRule> changeCallback)
static GameRules$Type<GameRules$BooleanValue>
a(boolean arg0)
create(boolean arg0)
method_20759(boolean arg0)
create(boolean 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 boolean
a()
get()
method_20753()
get()
public void
a(boolean arg0, MinecraftServer arg1)
set(boolean arg0, MinecraftServer arg1)
method_20758(boolean arg0, MinecraftServer arg1)
set(boolean 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 int
c()
getCommandResult()
method_20781()
getCommandResult()
protected GameRules$BooleanValue
d()
getSelf()
method_20761()
getThis()
protected GameRules$BooleanValue
e()
copy()
method_27327()
copy()
public void
a(dhe$a arg0, MinecraftServer arg1)
setFrom(GameRules$BooleanValue arg0, MinecraftServer arg1)
method_27326(class_1928$class_4310 arg0, MinecraftServer arg1)
setValue(GameRules$BooleanRule arg0, MinecraftServer arg1)