net.minecraft.world.level

public class GameRules$BooleanValue

extends GameRules$Value<GameRules$BooleanValue>

cpr$a
net.minecraft.world.level.GameRules$BooleanValue
net.minecraft.class_1928$class_4310
net.minecraft.world.GameRules$BooleanRule
net.minecraft.src.C_1583_$C_1585_
net.minecraft.world.level.GameRules$GameRuleBoolean

Field summary

Modifier and TypeField
private boolean
b
value
field_19411
value
f_46219_

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, cpr$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)
m_46252_(boolean p_46253_, BiConsumer<MinecraftServer, C_1583_$C_1585_> p_46254_)
static GameRules$Type<GameRules$BooleanValue>
a(boolean arg0)
create(boolean arg0)
method_20759(boolean arg0)
create(boolean initialValue)
m_46250_(boolean p_46251_)
protected void
a(com.mojang.brigadier.context.CommandContext<dt> 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_46232_, String arg1)
public boolean
a()
get()
method_20753()
get()
m_46223_()
public void
a(boolean arg0, MinecraftServer arg1)
set(boolean arg0, MinecraftServer arg1)
method_20758(boolean arg0, MinecraftServer arg1)
set(boolean value, MinecraftServer server)
m_46246_(boolean p_46248_, MinecraftServer 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 int
c()
getCommandResult()
method_20781()
getCommandResult()
m_6855_()
protected GameRules$BooleanValue
d()
getSelf()
method_20761()
getThis()
m_5589_()
protected GameRules$BooleanValue
e()
copy()
method_27327()
copy()
m_5590_()
public void
a(cpr$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)
m_5614_(C_1583_$C_1585_ p_46226_, MinecraftServer arg1)