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 named net/minecraft/command/argument/HeightmapArgumentTypeintermediary net/minecraft/class_8199official fn
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec<Heightmap.Type> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Heightmap.TypegetHeightmap(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String id) private static Heightmap.Type[]static HeightmapArgumentTypeprotected StringtransformValueName(String name) Methods inherited from class net.minecraft.command.argument.EnumArgumentType
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
-
HEIGHTMAP_CODEC
- Mappings:
Namespace Name Mixin selector named HEIGHTMAP_CODECLnet/minecraft/command/argument/HeightmapArgumentType;HEIGHTMAP_CODEC:Lcom/mojang/serialization/Codec;intermediary field_42994Lnet/minecraft/class_8199;field_42994:Lcom/mojang/serialization/Codec;official aLfn;a:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
HeightmapArgumentType
private HeightmapArgumentType()
-
-
Method Details
-
getHeightmapTypes
- Mappings:
Namespace Name Mixin selector named getHeightmapTypesLnet/minecraft/command/argument/HeightmapArgumentType;getHeightmapTypes()[Lnet/minecraft/world/Heightmap$Type;intermediary method_49546Lnet/minecraft/class_8199;method_49546()[Lnet/minecraft/class_2902$class_2903;official bLfn;b()[Lect$a;
-
heightmap
- Mappings:
Namespace Name Mixin selector named heightmapLnet/minecraft/command/argument/HeightmapArgumentType;heightmap()Lnet/minecraft/command/argument/HeightmapArgumentType;intermediary method_49542Lnet/minecraft/class_8199;method_49542()Lnet/minecraft/class_8199;official aLfn;a()Lfn;
-
getHeightmap
public static Heightmap.Type getHeightmap(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String id) - Mappings:
Namespace Name Mixin selector named getHeightmapLnet/minecraft/command/argument/HeightmapArgumentType;getHeightmap(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/world/Heightmap$Type;intermediary method_49544Lnet/minecraft/class_8199;method_49544(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_2902$class_2903;official aLfn;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lect$a;
-
transformValueName
- Overrides:
transformValueNamein classEnumArgumentType<Heightmap.Type>- Mappings:
Namespace Name Mixin selector named transformValueNameLnet/minecraft/command/argument/EnumArgumentType;transformValueName(Ljava/lang/String;)Ljava/lang/String;intermediary method_49545Lnet/minecraft/class_7485;method_49545(Ljava/lang/String;)Ljava/lang/String;official aLgh;a(Ljava/lang/String;)Ljava/lang/String;
-