Class FlwCommands.ConfigCommandBuilder

java.lang.Object
com.jozufozu.flywheel.config.FlwCommands.ConfigCommandBuilder
Enclosing class:
FlwCommands

public static class FlwCommands.ConfigCommandBuilder extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected com.mojang.brigadier.builder.LiteralArgumentBuilder<net.minecraft.commands.CommandSourceStack>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends net.minecraftforge.common.ForgeConfigSpec.ConfigValue<?>>
    void
    addValue(T value, String subcommand, BiConsumer<com.mojang.brigadier.builder.LiteralArgumentBuilder<net.minecraft.commands.CommandSourceStack>,T> consumer)
     
    void
    build(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> dispatcher)
     

    Methods inherited from class java.lang.Object

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

    • command

      protected com.mojang.brigadier.builder.LiteralArgumentBuilder<net.minecraft.commands.CommandSourceStack> command
  • Constructor Details

    • ConfigCommandBuilder

      public ConfigCommandBuilder(String baseLiteral)
  • Method Details

    • addValue

      public <T extends net.minecraftforge.common.ForgeConfigSpec.ConfigValue<?>> void addValue(T value, String subcommand, BiConsumer<com.mojang.brigadier.builder.LiteralArgumentBuilder<net.minecraft.commands.CommandSourceStack>,T> consumer)
    • build

      public void build(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> dispatcher)