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.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.
-
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.IdMap
byId, byIdOrThrow, getIdOrThrow, sizeMethods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface net.minecraft.core.Registry
asHolderIdMap, asLookup, asTagAddingLookup, bindTags, byNameCodec, containsKey, containsKey, createIntrusiveHolder, entrySet, freeze, get, get, getAny, getHolder, getHolder, getHolder, getHolderOrThrow, getId, getKey, getOptional, getOptional, getOrCreateTag, getOrThrow, getRandom, getRandomElementOf, getResourceKey, getTag, getTagNames, getTagOrEmpty, getTags, holderByNameCodec, holderOwner, holders, key, keys, keySet, registrationInfo, registryKeySet, registryLifecycle, resetTags, 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
-