Interface Registry<K,​V>

All Superinterfaces:
Iterable<V>
All Known Implementing Classes:
BiDefaultedRegistry, DefaultedRegistry, MutableRegistry, SimpleRegistry, SoundRegistry

public interface Registry<K,​V>
extends Iterable<V>
Mappings:
Namespace Name
official db
intermediary net/minecraft/class_1397
named net/minecraft/util/registry/Registry
  • Method Summary

    Modifier and Type Method Description
    V get​(K key)  
    void put​(K key, V value)  

    Methods inherited from interface java.lang.Iterable

    forEach, iterator, spliterator
  • Method Details

    • get

      @Environment(CLIENT) V get​(K key)
      Mappings:
      Namespace Name Mixin selector
      official a Ldb;a(Ljava/lang/Object;)Ljava/lang/Object;
      intermediary method_4964 Lnet/minecraft/class_1397;method_4964(Ljava/lang/Object;)Ljava/lang/Object;
      named get Lnet/minecraft/util/registry/Registry;get(Ljava/lang/Object;)Ljava/lang/Object;
    • put

      @Environment(CLIENT) void put​(K key, V value)
      Mappings:
      Namespace Name Mixin selector
      official a Ldb;a(Ljava/lang/Object;Ljava/lang/Object;)V
      intermediary method_4965 Lnet/minecraft/class_1397;method_4965(Ljava/lang/Object;Ljava/lang/Object;)V
      named put Lnet/minecraft/util/registry/Registry;put(Ljava/lang/Object;Ljava/lang/Object;)V