Package net.minecraft.util.registry
Class BiDefaultedRegistry<V>
java.lang.Object
net.minecraft.util.registry.SimpleRegistry<V>
net.minecraft.util.registry.BiDefaultedRegistry<V>
- All Implemented Interfaces:
net.minecraft.util.collection.ObjectIdIterable<T>,Registry<V>
- Mappings:
Namespace Name official epintermediary net/minecraft/class_1940named net/minecraft/util/registry/BiDefaultedRegistry
-
Field Summary
FieldsFields inherited from class net.minecraft.util.registry.SimpleRegistry
field_13718, field_21312, field_21313, field_21314Fields inherited from interface net.minecraft.util.registry.Registry
BIOME, BIOME_SOURCE_TYPE, BLOCK, BLOCK_ENTITY_TYPE, CHUNK_GENERATOR_TYPE, CUSTOM_STAT, DIMENSION_TYPE, ENCHANTMENT, ENTITY_TYPE, FLUID, ITEM, logger, MOB_EFFECT, PAINTING, PARTICLE_TYPE, POTION, ROOT, SOUND_EVENT, STATS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(Identifier identifier) getByRawId(int index) intvoidset(int rawId, Identifier identifier, V object) Methods inherited from class net.minecraft.util.registry.SimpleRegistry
add, containsId, getByIdentifier, getKeySet, isEmpty, iteratorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Field Details
-
defaultId
- Mappings:
Namespace Name Mixin selector official xLep;x:Lpc;intermediary field_21286Lnet/minecraft/class_1940;field_21286:Lnet/minecraft/class_1653;named defaultIdLnet/minecraft/util/registry/BiDefaultedRegistry;defaultId:Lnet/minecraft/util/Identifier;
-
defaultValue
- Mappings:
Namespace Name Mixin selector official yLep;y:Ljava/lang/Object;intermediary field_8396Lnet/minecraft/class_1940;field_8396:Ljava/lang/Object;named defaultValueLnet/minecraft/util/registry/BiDefaultedRegistry;defaultValue:Ljava/lang/Object;
-
-
Constructor Details
-
BiDefaultedRegistry
- Mappings:
Namespace Name Mixin selector official <init>Lep;<init>(Lpc;)Vintermediary <init>Lnet/minecraft/class_1940;<init>(Lnet/minecraft/class_1653;)Vnamed <init>Lnet/minecraft/util/registry/BiDefaultedRegistry;<init>(Lnet/minecraft/util/Identifier;)V
-
-
Method Details
-
set
- Specified by:
setin interfaceRegistry<V>- Overrides:
setin classSimpleRegistry<V>- Mappings:
Namespace Name Mixin selector official aLfc;a(ILpc;Ljava/lang/Object;)Vintermediary method_19953Lnet/minecraft/class_1366;method_19953(ILnet/minecraft/class_1653;Ljava/lang/Object;)Vnamed setLnet/minecraft/util/registry/Registry;set(ILnet/minecraft/util/Identifier;Ljava/lang/Object;)V
-
getRawId
- Specified by:
getRawIdin interfaceRegistry<V>- Overrides:
getRawIdin classSimpleRegistry<V>- Mappings:
Namespace Name Mixin selector official method_12580Ley;method_12580(Ljava/lang/Object;)Iintermediary method_12580Lnet/minecraft/class_1943;method_12580(Ljava/lang/Object;)Inamed getRawIdLnet/minecraft/util/registry/SimpleRegistry;getRawId(Ljava/lang/Object;)I
-
getId
- Specified by:
getIdin interfaceRegistry<V>- Overrides:
getIdin classSimpleRegistry<V>- Mappings:
Namespace Name Mixin selector official bLfc;b(Ljava/lang/Object;)Lpc;intermediary method_19959Lnet/minecraft/class_1366;method_19959(Ljava/lang/Object;)Lnet/minecraft/class_1653;named getIdLnet/minecraft/util/registry/Registry;getId(Ljava/lang/Object;)Lnet/minecraft/util/Identifier;
-
get
- Specified by:
getin interfaceRegistry<V>- Overrides:
getin classSimpleRegistry<V>- Mappings:
Namespace Name Mixin selector official aLfc;a(Lpc;)Ljava/lang/Object;intermediary method_19956Lnet/minecraft/class_1366;method_19956(Lnet/minecraft/class_1653;)Ljava/lang/Object;named getLnet/minecraft/util/registry/Registry;get(Lnet/minecraft/util/Identifier;)Ljava/lang/Object;
-
getByRawId
- Specified by:
getByRawIdin interfaceRegistry<V>- Overrides:
getByRawIdin classSimpleRegistry<V>- Mappings:
Namespace Name Mixin selector official method_7326Ley;method_7326(I)Ljava/lang/Object;intermediary method_7326Lnet/minecraft/class_1943;method_7326(I)Ljava/lang/Object;named getByRawIdLnet/minecraft/util/registry/SimpleRegistry;getByRawId(I)Ljava/lang/Object;
-
getRandom
- Specified by:
getRandomin interfaceRegistry<V>- Overrides:
getRandomin classSimpleRegistry<V>- Mappings:
Namespace Name Mixin selector official aLfc;a(Ljava/util/Random;)Ljava/lang/Object;intermediary method_12584Lnet/minecraft/class_1366;method_12584(Ljava/util/Random;)Ljava/lang/Object;named getRandomLnet/minecraft/util/registry/Registry;getRandom(Ljava/util/Random;)Ljava/lang/Object;
-
getDefaultId
- Specified by:
getDefaultIdin interfaceRegistry<V>- Overrides:
getDefaultIdin classSimpleRegistry<V>- Mappings:
Namespace Name Mixin selector official bLfc;b()Lpc;intermediary method_19958Lnet/minecraft/class_1366;method_19958()Lnet/minecraft/class_1653;named getDefaultIdLnet/minecraft/util/registry/Registry;getDefaultId()Lnet/minecraft/util/Identifier;
-