Package net.minecraft.commands.arguments
Class HeightmapTypeArgument
java.lang.Object
net.minecraft.commands.arguments.StringRepresentableArgument<Heightmap.Types>
net.minecraft.commands.arguments.HeightmapTypeArgument
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<Heightmap.Types>
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec
<Heightmap.Types> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
static Heightmap.Types
getHeightmap
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_275445_, String p_275449_) static HeightmapTypeArgument
private static Heightmap.Types[]
Methods inherited from class net.minecraft.commands.arguments.StringRepresentableArgument
getExamples, listSuggestions, parse
-
Field Details
-
LOWER_CASE_CODEC
-
-
Constructor Details
-
HeightmapTypeArgument
private HeightmapTypeArgument()
-
-
Method Details
-
keptTypes
-
heightmap
-
getHeightmap
public static Heightmap.Types getHeightmap(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_275445_, String p_275449_) -
convertId
- Overrides:
convertId
in classStringRepresentableArgument<Heightmap.Types>
-