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
ConstructorDescriptionForgeBackedRegistryImpl
(Map<Type, RegistriesImpl.Data> registry, net.minecraftforge.registries.IForgeRegistry<T> delegate) -
Method Summary
Modifier and TypeMethodDescriptionbyRawId
(int rawId) boolean
contains
(net.minecraft.resources.ResourceLocation resourceLocation) boolean
containsValue
(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.ResourceLocation
Set<net.minecraft.resources.ResourceLocation>
getIds()
int
iterator()
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, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods 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
-