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 final class HeatingModeArgumentType
extends net.minecraft.commands.arguments.StringRepresentableArgument<HeatingModes>
Enum argument type for
TemperatureCommand-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic HeatingModesgetHeatingMode(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> context, String id) static HeatingModeArgumentTypeMethods inherited from class net.minecraft.commands.arguments.StringRepresentableArgument
convertId, getExamples, listSuggestions, parseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mojang.brigadier.arguments.ArgumentType
parse
-
Field Details
-
CODEC
-
-
Method Details
-
heatingMode
-
getHeatingMode
public static HeatingModes getHeatingMode(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> context, String id)
-