Class MappedRegistryMixin<T>
java.lang.Object
de.luckymcdev.foundryengine.mixin.registry.MappedRegistryMixin<T>
- All Implemented Interfaces:
com.mojang.serialization.Keyable, RemoveFromRegistry<T>, Iterable<T>, net.minecraft.core.HolderGetter<T>, net.minecraft.core.HolderLookup<T>, net.minecraft.core.HolderLookup.RegistryLookup<T>, net.minecraft.core.HolderOwner<T>, net.minecraft.core.IdMap<T>, net.minecraft.core.Registry<T>, net.minecraft.core.WritableRegistry<T>, net.neoforged.neoforge.registries.IRegistryExtension<T>
public abstract class MappedRegistryMixin<T>
extends Object
implements RemoveFromRegistry<T>, net.minecraft.core.WritableRegistry<T>
-
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>Nested classes/interfaces inherited from interface RemoveFromRegistry
RemoveFromRegistry.RegistryRemoval -
Field Summary
Fields inherited from interface net.minecraft.core.IdMap
DEFAULT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanengine$remove(net.minecraft.resources.Identifier key) booleanengine$remove(T entry) voidengine$setFrozen(boolean value) fixEntryStream(Stream<net.minecraft.core.Holder.Reference<T>> original) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.core.HolderGetter
get, get, getOrThrow, getOrThrow, getRandomElementOfMethods inherited from interface net.minecraft.core.HolderLookup
listElementIds, listElements, listTagIds, listTagsMethods inherited from interface net.minecraft.core.HolderLookup.RegistryLookup
filterElements, filterFeatures, getData, registryLifecycleMethods inherited from interface net.minecraft.core.HolderOwner
canSerializeInMethods inherited from interface net.minecraft.core.IdMap
byId, byIdOrThrow, getIdOrThrow, sizeMethods inherited from interface net.neoforged.neoforge.registries.IRegistryExtension
addAlias, addCallback, addCallback, containsValue, doesSync, getDataMap, getId, getId, getKeyOrNull, getMaxId, resolve, resolveMethods inherited from interface Iterable
forEach, iterator, spliteratorMethods inherited from interface net.minecraft.core.Registry
asHolderIdMap, byNameCodec, componentLookup, containsKey, containsKey, createIntrusiveHolder, entrySet, freeze, get, get, getAny, getId, getKey, getOptional, getOptional, getRandom, getResourceKey, getTagOrEmpty, getTags, getValue, getValue, getValueOrThrow, holderByNameCodec, key, keys, keySet, prepareTagReload, registrationInfo, registryKeySet, stream, wrapAsHolderMethods inherited from interface net.minecraft.core.WritableRegistry
bindTags, createRegistrationLookup, isEmpty, register
-
Constructor Details
-
MappedRegistryMixin
public MappedRegistryMixin()
-
-
Method Details
-
engine$remove
- Specified by:
engine$removein interfaceRemoveFromRegistry<T>
-
engine$remove
public boolean engine$remove(net.minecraft.resources.Identifier key) - Specified by:
engine$removein interfaceRemoveFromRegistry<T>
-
engine$setFrozen
public void engine$setFrozen(boolean value) - Specified by:
engine$setFrozenin interfaceRemoveFromRegistry<T>
-
engine$isFrozen
public boolean engine$isFrozen()- Specified by:
engine$isFrozenin interfaceRemoveFromRegistry<T>
-
fixEntryStream
-