Class CommandConfig

java.lang.Object
org.cyclops.cyclopscore.command.CommandConfig
All Implemented Interfaces:
com.mojang.brigadier.Command<net.minecraft.commands.CommandSourceStack>

public class CommandConfig extends Object implements com.mojang.brigadier.Command<net.minecraft.commands.CommandSourceStack>
Command for selecting and defining a ConfigurablePropertyData.
  • Field Summary

    Fields inherited from interface com.mojang.brigadier.Command

    SINGLE_SUCCESS
  • Constructor Summary

    Constructors
    Constructor
    Description
    CommandConfig(ModBase mod, boolean valueSet)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.mojang.brigadier.builder.LiteralArgumentBuilder<net.minecraft.commands.CommandSourceStack>
     
    int
    run(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> context)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CommandConfig

      public CommandConfig(ModBase mod, boolean valueSet)
  • Method Details

    • run

      public int run(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> context) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      run in interface com.mojang.brigadier.Command<net.minecraft.commands.CommandSourceStack>
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • make

      public static com.mojang.brigadier.builder.LiteralArgumentBuilder<net.minecraft.commands.CommandSourceStack> make(ModBase mod)