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
official ei
intermediary net/minecraft/class_8199
named net/minecraft/command/argument/HeightmapArgumentType
  • Field Details

    • HEIGHTMAP_CODEC

      private static final com.mojang.serialization.Codec<Heightmap.Type> HEIGHTMAP_CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lei;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

      private static Heightmap.Type[] getHeightmapTypes()
      Mappings:
      Namespace Name Mixin selector
      official b Lei;b()[Ldoq$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

      public static HeightmapArgumentType heightmap()
      Mappings:
      Namespace Name Mixin selector
      official a Lei;a()Lei;
      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 Lei;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ldoq$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

      protected String transformValueName(String name)
      Overrides:
      transformValueName in class EnumArgumentType<Heightmap.Type>
      Mappings:
      Namespace Name Mixin selector
      official a Lfa;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;