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>

public class HeightmapArgumentType extends EnumArgumentType<Heightmap.Type>
Mappings:
Namespace Name
named net/minecraft/command/argument/HeightmapArgumentType
intermediary net/minecraft/class_8199
official fm
  • Field Details

    • HEIGHTMAP_CODEC

      private static final com.mojang.serialization.Codec<Heightmap.Type> HEIGHTMAP_CODEC
      Mappings:
      Namespace Name Mixin selector
      named HEIGHTMAP_CODEC Lnet/minecraft/command/argument/HeightmapArgumentType;HEIGHTMAP_CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_42994 Lnet/minecraft/class_8199;field_42994:Lcom/mojang/serialization/Codec;
      official a Lfm;a:Lcom/mojang/serialization/Codec;
  • Constructor Details

    • HeightmapArgumentType

      private HeightmapArgumentType()
  • Method Details

    • getHeightmapTypes

      private static Heightmap.Type[] getHeightmapTypes()
      Mappings:
      Namespace Name Mixin selector
      named getHeightmapTypes Lnet/minecraft/command/argument/HeightmapArgumentType;getHeightmapTypes()[Lnet/minecraft/world/Heightmap$Type;
      intermediary method_49546 Lnet/minecraft/class_8199;method_49546()[Lnet/minecraft/class_2902$class_2903;
      official b Lfm;b()[Ledp$a;
    • heightmap

      public static HeightmapArgumentType heightmap()
      Mappings:
      Namespace Name Mixin selector
      named heightmap Lnet/minecraft/command/argument/HeightmapArgumentType;heightmap()Lnet/minecraft/command/argument/HeightmapArgumentType;
      intermediary method_49542 Lnet/minecraft/class_8199;method_49542()Lnet/minecraft/class_8199;
      official a Lfm;a()Lfm;
    • getHeightmap

      public static Heightmap.Type getHeightmap(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String id)
      Mappings:
      Namespace Name Mixin selector
      named getHeightmap Lnet/minecraft/command/argument/HeightmapArgumentType;getHeightmap(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/world/Heightmap$Type;
      intermediary method_49544 Lnet/minecraft/class_8199;method_49544(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_2902$class_2903;
      official a Lfm;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ledp$a;
    • transformValueName

      protected String transformValueName(String name)
      Overrides:
      transformValueName in class EnumArgumentType<Heightmap.Type>
      Mappings:
      Namespace Name Mixin selector
      named transformValueName Lnet/minecraft/command/argument/EnumArgumentType;transformValueName(Ljava/lang/String;)Ljava/lang/String;
      intermediary method_49545 Lnet/minecraft/class_7485;method_49545(Ljava/lang/String;)Ljava/lang/String;
      official a Lgg;a(Ljava/lang/String;)Ljava/lang/String;