Class ResourceMetadataMap

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

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

    • EMPTY

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

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

    • ResourceMetadataMap

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

    • get

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

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

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

      public static <T1, T2> ResourceMetadataMap of(ResourceMetadataReader<T1> reader, T1 value, ResourceMetadataReader<T2> reader2, T2 value2)
      Mappings:
      Namespace Name Mixin selector
      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;
      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;
      official a Last;a(Lato;Ljava/lang/Object;Lato;Ljava/lang/Object;)Last;