Class ResourceMetadataMap

java.lang.Object
net.minecraft.resource.metadata.ResourceMetadataMap

public class ResourceMetadataMap extends Object
Mappings:
Namespace Name
official amc
intermediary net/minecraft/class_7662
named net/minecraft/resource/metadata/ResourceMetadataMap
  • Field Details

    • EMPTY

      private static final ResourceMetadataMap EMPTY
      Mappings:
      Namespace Name Mixin selector
      official a Lamc;a:Lamc;
      intermediary field_39994 Lnet/minecraft/class_7662;field_39994:Lnet/minecraft/class_7662;
      named EMPTY Lnet/minecraft/resource/metadata/ResourceMetadataMap;EMPTY:Lnet/minecraft/resource/metadata/ResourceMetadataMap;
    • values

      private final Map<ResourceMetadataReader<?>,?> values
      Mappings:
      Namespace Name Mixin selector
      official b Lamc;b:Ljava/util/Map;
      intermediary field_39995 Lnet/minecraft/class_7662;field_39995:Ljava/util/Map;
      named values Lnet/minecraft/resource/metadata/ResourceMetadataMap;values:Ljava/util/Map;
  • Constructor Details

    • ResourceMetadataMap

      private ResourceMetadataMap(Map<ResourceMetadataReader<?>,?> values)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lamc;<init>(Ljava/util/Map;)V
      intermediary <init> Lnet/minecraft/class_7662;<init>(Ljava/util/Map;)V
      named <init> Lnet/minecraft/resource/metadata/ResourceMetadataMap;<init>(Ljava/util/Map;)V
  • Method Details

    • get

      public <T> T get(ResourceMetadataReader<T> reader)
      Mappings:
      Namespace Name Mixin selector
      official a Lamc;a(Lamt;)Ljava/lang/Object;
      intermediary method_45173 Lnet/minecraft/class_7662;method_45173(Lnet/minecraft/class_3270;)Ljava/lang/Object;
      named get Lnet/minecraft/resource/metadata/ResourceMetadataMap;get(Lnet/minecraft/resource/metadata/ResourceMetadataReader;)Ljava/lang/Object;
    • of

      public static ResourceMetadataMap of()
      Mappings:
      Namespace Name Mixin selector
      official a Lamc;a()Lamc;
      intermediary method_45172 Lnet/minecraft/class_7662;method_45172()Lnet/minecraft/class_7662;
      named of Lnet/minecraft/resource/metadata/ResourceMetadataMap;of()Lnet/minecraft/resource/metadata/ResourceMetadataMap;
    • of

      public static <T> ResourceMetadataMap of(ResourceMetadataReader<T> reader, T value)
      Mappings:
      Namespace Name Mixin selector
      official a Lamc;a(Lamt;Ljava/lang/Object;)Lamc;
      intermediary method_45174 Lnet/minecraft/class_7662;method_45174(Lnet/minecraft/class_3270;Ljava/lang/Object;)Lnet/minecraft/class_7662;
      named of Lnet/minecraft/resource/metadata/ResourceMetadataMap;of(Lnet/minecraft/resource/metadata/ResourceMetadataReader;Ljava/lang/Object;)Lnet/minecraft/resource/metadata/ResourceMetadataMap;
    • of

      public static <T1, T2> ResourceMetadataMap of(ResourceMetadataReader<T1> reader, T1 value, ResourceMetadataReader<T2> reader2, T2 value2)
      Mappings:
      Namespace Name Mixin selector
      official a Lamc;a(Lamt;Ljava/lang/Object;Lamt;Ljava/lang/Object;)Lamc;
      intermediary method_45175 Lnet/minecraft/class_7662;method_45175(Lnet/minecraft/class_3270;Ljava/lang/Object;Lnet/minecraft/class_3270;Ljava/lang/Object;)Lnet/minecraft/class_7662;
      named of Lnet/minecraft/resource/metadata/ResourceMetadataMap;of(Lnet/minecraft/resource/metadata/ResourceMetadataReader;Ljava/lang/Object;Lnet/minecraft/resource/metadata/ResourceMetadataReader;Ljava/lang/Object;)Lnet/minecraft/resource/metadata/ResourceMetadataMap;