Class HeatingModeArgumentType

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

public class HeatingModeArgumentType extends net.minecraft.commands.arguments.StringRepresentableArgument<HeatingModes>
Enum argument type for TemperatureCommand
  • Field Details

    • CODEC

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

    • heatingMode

      public static HeatingModeArgumentType heatingMode()
    • getHeatingMode

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