类 GameRules.Value<T extends GameRules.Value<T>>
java.lang.Object
net.minecraft.world.level.GameRules.Value<T>
- 封闭类:
GameRules
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected abstract T
copy()
protected abstract void
deserialize
(String p_46367_) abstract int
protected abstract T
getSelf()
protected void
onChanged
(MinecraftServer p_46369_) abstract String
abstract void
setFrom
(T p_46363_, MinecraftServer p_46364_) void
setFromArgument
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_46371_, String p_46372_) toString()
protected abstract void
updateFromArgument
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_46365_, String p_46366_)
-
字段详细资料
-
type
-
-
构造器详细资料
-
Value
-
-
方法详细资料
-
updateFromArgument
protected abstract void updateFromArgument(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_46365_, String p_46366_) -
setFromArgument
public void setFromArgument(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_46371_, String p_46372_) -
onChanged
-
deserialize
-
serialize
-
toString
-
getCommandResult
public abstract int getCommandResult() -
getSelf
-
copy
-
setFrom
-