Class HeatingModeArgument

java.lang.Object
net.minecraft.commands.arguments.StringRepresentableArgument<HeatingModes>
com.github.thedeathlycow.thermoo.api.command.v1.HeatingModeArgument
All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<HeatingModes>

public final class HeatingModeArgument extends net.minecraft.commands.arguments.StringRepresentableArgument<HeatingModes>
An argument type to specify a value of the HeatingModes enum.
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<HeatingModes> CODEC
  • Method Details

    • heatingMode

      public static HeatingModeArgument heatingMode()
    • getHeatingMode

      public static HeatingModes getHeatingMode(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> context, String id)