Class RegistriesImpl.ForgeBackedRegistryImpl<T extends net.minecraftforge.registries.IForgeRegistryEntry<T>>
java.lang.Object
me.shedaniel.architectury.registry.forge.RegistriesImpl.ForgeBackedRegistryImpl<T>
- All Implemented Interfaces:
Iterable<T>,me.shedaniel.architectury.registry.Registry<T>
- Enclosing class:
- RegistriesImpl
public static class RegistriesImpl.ForgeBackedRegistryImpl<T extends net.minecraftforge.registries.IForgeRegistryEntry<T>>
extends Object
implements me.shedaniel.architectury.registry.Registry<T>
-
Constructor Summary
ConstructorsConstructorDescriptionForgeBackedRegistryImpl(Map<Type, RegistriesImpl.Data> registry, net.minecraftforge.registries.IForgeRegistry<T> delegate) -
Method Summary
Modifier and TypeMethodDescriptionbyRawId(int rawId) booleancontains(net.minecraft.resources.ResourceLocation resourceLocation) booleancontainsValue(T t) @NotNull me.shedaniel.architectury.registry.RegistrySupplier<T>delegateSupplied(net.minecraft.resources.ResourceLocation id) entrySet()get(net.minecraft.resources.ResourceLocation id) net.minecraft.resources.ResourceLocationSet<net.minecraft.resources.ResourceLocation>getIds()intiterator()net.minecraft.resources.ResourceKey<? extends net.minecraft.core.Registry<T>>key()<E extends T>
@NotNull me.shedaniel.architectury.registry.RegistrySupplier<E>registerSupplied(net.minecraft.resources.ResourceLocation id, Supplier<E> supplier) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface me.shedaniel.architectury.registry.Registry
delegate, register
-
Constructor Details
-
ForgeBackedRegistryImpl
public ForgeBackedRegistryImpl(Map<Type, RegistriesImpl.Data> registry, net.minecraftforge.registries.IForgeRegistry<T> delegate)
-
-
Method Details
-
delegateSupplied
@NotNull public @NotNull me.shedaniel.architectury.registry.RegistrySupplier<T> delegateSupplied(net.minecraft.resources.ResourceLocation id) -
registerSupplied
-
getId
-
getRawId
-
getKey
-
get
-
byRawId
-
contains
public boolean contains(net.minecraft.resources.ResourceLocation resourceLocation) -
containsValue
-
getIds
-
entrySet
-
key
-
iterator
-