Class GameRules.RuleValue<T extends GameRules.RuleValue<T>>

    • Method Detail

      • updateFromArgument

        protected abstract void updateFromArgument​(com.mojang.brigadier.context.CommandContext<CommandSource> p_223555_1_,
                                                   java.lang.String p_223555_2_)
      • setFromArgument

        public void setFromArgument​(com.mojang.brigadier.context.CommandContext<CommandSource> p_223554_1_,
                                    java.lang.String p_223554_2_)
      • onChanged

        protected void onChanged​(@Nullable
                                 MinecraftServer p_223556_1_)
      • deserialize

        protected abstract void deserialize​(java.lang.String p_223553_1_)
      • serialize

        public abstract java.lang.String serialize()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getCommandResult

        public abstract int getCommandResult()
      • getSelf

        protected abstract T getSelf()
      • copy

        protected abstract T copy()
      • setFrom

        public abstract void setFrom​(T p_230313_1_,
                                     @Nullable
                                     MinecraftServer p_230313_2_)