Package net.minecraft.command.argument
Class HeightmapArgumentType
java.lang.Object
net.minecraft.command.argument.EnumArgumentType<Heightmap.Type>
net.minecraft.command.argument.HeightmapArgumentType
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<Heightmap.Type>
- Mappings:
Namespace Name official ef
intermediary net/minecraft/class_8199
named net/minecraft/command/argument/HeightmapArgumentType
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec<Heightmap.Type>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Heightmap.Type
getHeightmap
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String id) private static Heightmap.Type[]
static HeightmapArgumentType
protected String
transformValueName
(String name) Methods inherited from class net.minecraft.command.argument.EnumArgumentType
getExamples, listSuggestions, parse
-
Field Details
-
HEIGHTMAP_CODEC
- Mappings:
Namespace Name Mixin selector official a
Lef;a:Lcom/mojang/serialization/Codec;
intermediary field_42994
Lnet/minecraft/class_8199;field_42994:Lcom/mojang/serialization/Codec;
named HEIGHTMAP_CODEC
Lnet/minecraft/command/argument/HeightmapArgumentType;HEIGHTMAP_CODEC:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
HeightmapArgumentType
private HeightmapArgumentType()
-
-
Method Details
-
getHeightmapTypes
- Mappings:
Namespace Name Mixin selector official b
Lef;b()[Ldhc$a;
intermediary method_49546
Lnet/minecraft/class_8199;method_49546()[Lnet/minecraft/class_2902$class_2903;
named getHeightmapTypes
Lnet/minecraft/command/argument/HeightmapArgumentType;getHeightmapTypes()[Lnet/minecraft/world/Heightmap$Type;
-
heightmap
- Mappings:
Namespace Name Mixin selector official a
Lef;a()Lef;
intermediary method_49542
Lnet/minecraft/class_8199;method_49542()Lnet/minecraft/class_8199;
named heightmap
Lnet/minecraft/command/argument/HeightmapArgumentType;heightmap()Lnet/minecraft/command/argument/HeightmapArgumentType;
-
getHeightmap
public static Heightmap.Type getHeightmap(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String id) - Mappings:
Namespace Name Mixin selector official a
Lef;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ldhc$a;
intermediary method_49544
Lnet/minecraft/class_8199;method_49544(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_2902$class_2903;
named getHeightmap
Lnet/minecraft/command/argument/HeightmapArgumentType;getHeightmap(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/world/Heightmap$Type;
-
transformValueName
- Overrides:
transformValueName
in classEnumArgumentType<Heightmap.Type>
- Mappings:
Namespace Name Mixin selector official a
Lex;a(Ljava/lang/String;)Ljava/lang/String;
intermediary method_49545
Lnet/minecraft/class_7485;method_49545(Ljava/lang/String;)Ljava/lang/String;
named transformValueName
Lnet/minecraft/command/argument/EnumArgumentType;transformValueName(Ljava/lang/String;)Ljava/lang/String;
-