Class TemperatureUnitArgumentType

java.lang.Object
net.minecraft.command.argument.EnumArgumentType<TemperatureUnit>
com.github.thedeathlycow.thermoo.api.command.TemperatureUnitArgumentType
All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<TemperatureUnit>

public final class TemperatureUnitArgumentType extends net.minecraft.command.argument.EnumArgumentType<TemperatureUnit>
  • Field Details

    • CODEC

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

    • temperatureUnit

      public static TemperatureUnitArgumentType temperatureUnit()
    • getTemperatureUnit

      public static TemperatureUnit getTemperatureUnit(com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context, String id)