Package net.minecraft.util.registry
Class DefaultedRegistry<K,V>
java.lang.Object
net.minecraft.util.registry.MutableRegistry<K,V>
net.minecraft.util.registry.DefaultedRegistry<K,V>
public class DefaultedRegistry<K,V> extends MutableRegistry<K,V>
- Mappings:
Namespace Name official cpintermediary net/minecraft/class_1382named net/minecraft/util/registry/DefaultedRegistry
-
Field Summary
Fields Modifier and Type Field Description private VdefaultValueFields inherited from class net.minecraft.util.registry.MutableRegistry
map -
Constructor Summary
Constructors Constructor Description DefaultedRegistry(V defaultValue) -
Method Summary
Methods inherited from class net.minecraft.util.registry.MutableRegistry
containsKey, createMap, iterator, keySet, putMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
defaultValue
- Mappings:
Namespace Name Mixin selector official aLcp;a:Ljava/lang/Object;intermediary field_5797Lnet/minecraft/class_1382;field_5797:Ljava/lang/Object;named defaultValueLnet/minecraft/util/registry/DefaultedRegistry;defaultValue:Ljava/lang/Object;
-
-
Constructor Details
-
DefaultedRegistry
- Mappings:
Namespace Name Mixin selector official <init>Lcp;<init>(Ljava/lang/Object;)Vintermediary <init>Lnet/minecraft/class_1382;<init>(Ljava/lang/Object;)Vnamed <init>Lnet/minecraft/util/registry/DefaultedRegistry;<init>(Ljava/lang/Object;)V
-
-
Method Details
-
get
- Specified by:
getin interfaceRegistry<K,V>- Overrides:
getin classMutableRegistry<K,V>- Mappings:
Namespace Name Mixin selector official aLdb;a(Ljava/lang/Object;)Ljava/lang/Object;intermediary method_4964Lnet/minecraft/class_1397;method_4964(Ljava/lang/Object;)Ljava/lang/Object;named getLnet/minecraft/util/registry/Registry;get(Ljava/lang/Object;)Ljava/lang/Object;
-