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.entry.RegistryEntryOwner<Module>,net.minecraft.registry.MutableRegistry<Module>,net.minecraft.registry.Registry<Module>,net.minecraft.registry.RegistryEntryLookup<Module>,net.minecraft.registry.RegistryWrapper<Module>,net.minecraft.registry.RegistryWrapper.Impl<Module>,net.minecraft.util.collection.IndexedIterable<Module>
- Enclosing class:
Modules
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.registry.Registry
net.minecraft.registry.Registry.PendingTagLoad<T>Nested classes/interfaces inherited from interface net.minecraft.registry.RegistryEntryLookup
net.minecraft.registry.RegistryEntryLookup.RegistryLookupNested classes/interfaces inherited from interface net.minecraft.registry.RegistryWrapper
net.minecraft.registry.RegistryWrapper.Impl<T>, net.minecraft.registry.RegistryWrapper.WrapperLookupNested classes/interfaces inherited from interface net.minecraft.registry.RegistryWrapper.Impl
net.minecraft.registry.RegistryWrapper.Impl.Delegating<T> -
Field Summary
Fields inherited from interface net.minecraft.util.collection.IndexedIterable
ABSENT_RAW_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleancontainsId(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) net.minecraft.util.IdentifierSet<net.minecraft.util.Identifier> getIds()getKeys()com.mojang.serialization.LifecyclegetRandom(net.minecraft.util.math.random.Random random) intiterator()intsize()Methods inherited from class net.minecraft.registry.SimpleRegistry
add, createMutableRegistryLookup, getDefaultEntry, getEntry, getEntry, getEntryInfo, getKey, getOptional, getOptional, getTags, isEmpty, resetTagEntries, setEntries, startTagReload, streamTags, 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
getOrThrow, getRawIdOrThrowMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface net.minecraft.registry.Registry
getCodec, getEntryCodec, getIndexedEntries, getOptionalValue, getOptionalValue, getRandomEntry, getValueOrThrow, iterateEntries, keys, streamMethods inherited from interface net.minecraft.registry.RegistryEntryLookup
getOrThrow, getOrThrowMethods inherited from interface net.minecraft.registry.entry.RegistryEntryOwner
ownerEqualsMethods inherited from interface net.minecraft.registry.RegistryWrapper
streamKeys, streamTagKeysMethods inherited from interface net.minecraft.registry.RegistryWrapper.Impl
withFeatureFilter, withPredicateFilter
-
Constructor Details
-
ModuleRegistry
public ModuleRegistry()
-
-
Method Details
-
size
public int size() -
getId
-
getKey
-
getRawId
-
get
-
get
-
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
-
streamEntries
-