net.minecraft.world.level

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

dcs$f
net.minecraft.world.level.GameRules$Type
net.minecraft.class_1928$class_4314
net.minecraft.unmapped.C_xmldumst$C_mymgluou
net.minecraft.world.GameRules$Type
net.minecraft.world.GameRules$Type
net.minecraft.src.C_1583_$C_1590_
net.minecraft.world.level.GameRules$GameRuleDefinition

Field summary

Modifier and TypeField
final Supplier<com.mojang.brigadier.arguments.ArgumentType<?>>
a
argument
field_19414
f_hnrsjwnv
argumentType
argumentType
f_46337_
private final Function<GameRules$Type<T>, T>
b
constructor
field_19415
f_ozxhwwyh
ruleFactory
gameRuleFactory
f_46338_
final BiConsumer<MinecraftServer, T>
c
callback
field_19416
f_tpnzzqev
changeCallback
changeCallback
f_46339_
private final GameRules$VisitorCaller<T>
d
visitorCaller
field_24104
f_pzcyasul
ruleAcceptor
gameRuleAcceptor
f_46340_

Constructor summary

ModifierConstructor
(Supplier<com.mojang.brigadier.arguments.ArgumentType<?>> argumentType, Function<GameRules$Type<T>, T> ruleFactory, BiConsumer<MinecraftServer, T> changeCallback, GameRules$VisitorCaller<T> ruleAcceptor)

Method summary

Modifier and TypeMethod
public com.mojang.brigadier.builder.RequiredArgumentBuilder<CommandSourceStack, ?>
a(String arg0)
createArgument(String arg0)
method_20775(String arg0)
m_zadflywr(String arg0)
argument(String name)
argument(String name)
m_46358_(String arg0)
public T
a()
createRule()
method_20773()
m_wkdooanh()
createRule()
createGameRule()
m_46352_()
public void
a(dcs$c arg0, dcs$e<T> arg1)
callVisitor(GameRules$GameRuleTypeVisitor arg0, GameRules$Key<T> arg1)
method_27336(class_1928$class_4311 arg0, class_1928$class_4313<T> arg1)
m_qkdrrjqk(C_xmldumst$C_avotqrag arg0, C_xmldumst$C_iuaedxxw<T> arg1)
accept(GameRules$Visitor consumer, GameRules$Key<T> key)
accept(GameRules$Visitor consumer, GameRules$Key<T> key)
m_46353_(C_1583_$C_1587_ p_46355_, C_1583_$C_1589_<T> arg1)