Class MappedRegistryMixin<V>
java.lang.Object
org.quiltmc.qsl.frozenblock.core.registry.mixin.MappedRegistryMixin<V>
- All Implemented Interfaces:
com.mojang.serialization.Keyable,Iterable<V>,net.minecraft.core.HolderGetter<V>,net.minecraft.core.HolderLookup<V>,net.minecraft.core.HolderLookup.RegistryLookup<V>,net.minecraft.core.HolderOwner<V>,net.minecraft.core.IdMap<V>,net.minecraft.core.Registry<V>,RegistryEventStorage<V>
public abstract class MappedRegistryMixin<V>
extends Object
implements net.minecraft.core.Registry<V>, RegistryEventStorage<V>
Stores and invokes registry events.
Handles applying and creating sync data.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.core.HolderLookup
net.minecraft.core.HolderLookup.Provider, net.minecraft.core.HolderLookup.RegistryLookup<T>Nested classes/interfaces inherited from interface net.minecraft.core.HolderLookup.RegistryLookup
net.minecraft.core.HolderLookup.RegistryLookup.Delegate<T>Nested classes/interfaces inherited from interface net.minecraft.core.Registry
net.minecraft.core.Registry.PendingTags<T> -
Field Summary
Fields inherited from interface net.minecraft.core.IdMap
DEFAULT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.fabricmc.fabric.api.event.Event<RegistryEvents.EntryAdded<V>> Returns the entry added event.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.core.HolderGetter
get, get, getOrThrow, getOrThrowMethods inherited from interface net.minecraft.core.HolderLookup
listElementIds, listElements, listTagIds, listTagsMethods inherited from interface net.minecraft.core.HolderLookup.RegistryLookup
filterElements, filterFeatures, registryLifecycleMethods inherited from interface net.minecraft.core.HolderOwner
canSerializeInMethods inherited from interface net.minecraft.core.IdMap
byId, byIdOrThrow, getIdOrThrow, sizeMethods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface net.minecraft.core.Registry
asHolderIdMap, byNameCodec, containsKey, containsKey, createIntrusiveHolder, entrySet, freeze, get, get, getAny, getId, getKey, getOptional, getOptional, getRandom, getRandomElementOf, getResourceKey, getTagOrEmpty, getTags, getValue, getValue, getValueOrThrow, holderByNameCodec, key, keys, keySet, prepareTagReload, registrationInfo, registryKeySet, stream, wrapAsHolder
-
Constructor Details
-
MappedRegistryMixin
public MappedRegistryMixin()
-
-
Method Details
-
frozenLib_quilt$getEntryAddedEvent
public net.fabricmc.fabric.api.event.Event<RegistryEvents.EntryAdded<V>> frozenLib_quilt$getEntryAddedEvent()Description copied from interface:RegistryEventStorageReturns the entry added event.- Specified by:
frozenLib_quilt$getEntryAddedEventin interfaceRegistryEventStorage<V>- Returns:
- the entry added event
-