Class Modules.ModuleRegistry
java.lang.Object
net.minecraft.registry.SimpleRegistry<Module>
meteordevelopment.meteorclient.systems.modules.Modules.ModuleRegistry
- All Implemented Interfaces:
com.mojang.serialization.Keyable,Iterable<Module>,net.minecraft.registry.MutableRegistry<Module>,net.minecraft.registry.Registry<Module>,net.minecraft.util.collection.IndexedIterable<Module>
- Enclosing class:
- Modules
-
Field Summary
Fields inherited from interface net.minecraft.util.collection.IndexedIterable
ABSENT_RAW_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleancontainsId(net.minecraft.util.Identifier id) net.minecraft.registry.entry.RegistryEntry.Reference<Module>createEntry(Module value) net.minecraft.registry.Registry<Module>freeze()@Nullable Moduleget(int index) get(net.minecraft.util.Identifier id) getEntry(int rawId) com.mojang.serialization.LifecyclegetEntryLifecycle(Module object) getEntryList(net.minecraft.registry.tag.TagKey<Module> tag) net.minecraft.util.IdentifierSet<net.minecraft.util.Identifier>getIds()getKeys()com.mojang.serialization.Lifecyclenet.minecraft.registry.entry.RegistryEntryList.Named<Module>getOrCreateEntryList(net.minecraft.registry.tag.TagKey<Module> tag) getRandom(net.minecraft.util.math.random.Random random) intiterator()voidpopulateTags(Map<net.minecraft.registry.tag.TagKey<Module>, List<net.minecraft.registry.entry.RegistryEntry<Module>>> tagEntries) intsize()Stream<com.mojang.datafixers.util.Pair<net.minecraft.registry.tag.TagKey<Module>,net.minecraft.registry.entry.RegistryEntryList.Named<Module>>> Methods inherited from class net.minecraft.registry.SimpleRegistry
add, createMutableEntryLookup, getEntry, getEntryOwner, getKey, getReadOnlyWrapper, isEmpty, set, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.util.collection.IndexedIterable
getOrThrowMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface net.minecraft.registry.Registry
createEntryCodec, entryOf, getCodec, getIndexedEntries, getOrEmpty, getOrEmpty, getOrThrow, getTagCreatingWrapper, iterateEntries, keys, stream
-
Constructor Details
-
ModuleRegistry
public ModuleRegistry()
-
-
Method Details
-
size
public int size() -
getId
-
getKey
-
getRawId
-
get
-
get
-
getEntryLifecycle
-
getLifecycle
public com.mojang.serialization.Lifecycle getLifecycle() -
getIds
-
containsId
public boolean containsId(net.minecraft.util.Identifier id) -
get
-
iterator
-
contains
-
getEntrySet
-
getKeys
-
getRandom
-
freeze
-
createEntry
-
getEntry
-
getEntry
-
streamEntries
-
getEntryList
-
getOrCreateEntryList
-
streamTagsAndEntries
-
streamTags
-
clearTags
public void clearTags() -
populateTags
-