类 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 pValue) abstract int
protected abstract T
getSelf()
protected void
onChanged
(MinecraftServer pServer) abstract String
abstract void
setFrom
(T pValue, MinecraftServer pServer) void
setFromArgument
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pParamName) toString()
protected abstract void
updateFromArgument
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pParamName)
-
字段详细资料
-
type
-
-
构造器详细资料
-
Value
-
-
方法详细资料
-
updateFromArgument
protected abstract void updateFromArgument(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pParamName) -
setFromArgument
public void setFromArgument(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pParamName) -
onChanged
-
deserialize
-
serialize
-
toString
-
getCommandResult
public abstract int getCommandResult() -
getSelf
-
copy
-
setFrom
-