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_1366
named net/minecraft/util/registry/Registry
  • Method Summary

    Modifier and Type
    Method
    Description
    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_4382 Lnet/minecraft/class_1366;method_4382(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_4383 Lnet/minecraft/class_1366;method_4383(Ljava/lang/Object;Ljava/lang/Object;)V
      named put Lnet/minecraft/util/registry/Registry;put(Ljava/lang/Object;Ljava/lang/Object;)V