net.minecraft.server.jsonrpc.methods

public record GameRulesService$GameRuleUpdate<T>

avk$a
net.minecraft.server.jsonrpc.methods.GameRulesService$GameRuleUpdate
net.minecraft.class_11844$class_12254
net.minecraft.server.dedicated.management.dispatch.GameRuleRpcDispatcher$RuleEntry
net.minecraft.src.C_410832_$C_432682_
net.minecraft.server.jsonrpc.methods.GameRulesService$a

字段概要

修饰符与类型字段
private final GameRule<T>
c
gameRule
comp_5161
gameRule
f_435207_
private final T
d
value
comp_5162
value
f_434846_
public static final com.mojang.serialization.Codec<GameRulesService$GameRuleUpdate<?>>
a
TYPED_CODEC
field_64088
TYPED_CODEC
f_433769_
public static final com.mojang.serialization.Codec<GameRulesService$GameRuleUpdate<?>>
b
CODEC
field_64089
UNTYPED_CODEC
f_435133_

构造函数概要

修饰符构造函数
public (GameRule<T> gameRule, T value)

方法概要

修饰符与类型方法
private static <T> com.mojang.serialization.MapCodec<? extends GameRulesService$GameRuleUpdate<T>>
a(etv<T> arg0)
getValueCodec(GameRule<T> arg0)
method_76050(class_12279<T> arg0)
untypedCodec(GameRule<T> rule)
m_439574_(C_432246_<T> p_450451_)
private static <T> com.mojang.serialization.MapCodec<? extends GameRulesService$GameRuleUpdate<T>>
b(etv<T> arg0)
getValueAndTypeCodec(GameRule<T> arg0)
method_76054(class_12279<T> arg0)
typedCodec(GameRule<T> rule)
m_441916_(C_432246_<T> p_458167_)
private static <T> GameRulesService$GameRuleUpdate<T>
a(etv<T> arg0, ety arg1, T arg2)
getUntypedRule(GameRule<T> arg0, GameRuleType arg1, T arg2)
method_76052(class_12279<T> arg0, class_11845 arg1, T arg2)
validateType(GameRule<T> rule, GameRuleType type, T value)
m_446227_(C_432246_<T> p_456801_, C_432441_ p_457354_, T p_455577_)
public GameRule<T>
a()
gameRule()
comp_5161()
gameRule()
f_435207_()
public T
b()
value()
comp_5162()
value()
f_434846_()