Class RegistriesImpl.VanillaBackedRegistryImpl<T>
java.lang.Object
me.shedaniel.architectury.registry.forge.RegistriesImpl.VanillaBackedRegistryImpl<T>
- All Implemented Interfaces:
Iterable<T>
,me.shedaniel.architectury.registry.Registry<T>
- Enclosing class:
- RegistriesImpl
public static class RegistriesImpl.VanillaBackedRegistryImpl<T>
extends Object
implements me.shedaniel.architectury.registry.Registry<T>
-
Constructor Summary
-
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
-
VanillaBackedRegistryImpl
-
-
Method Details
-
delegateSupplied
@NotNull public @NotNull me.shedaniel.architectury.registry.RegistrySupplier<T> delegateSupplied(net.minecraft.resources.ResourceLocation id) - Specified by:
delegateSupplied
in interfaceme.shedaniel.architectury.registry.Registry<T>
-
registerSupplied
@NotNull public <E extends T> @NotNull me.shedaniel.architectury.registry.RegistrySupplier<E> registerSupplied(net.minecraft.resources.ResourceLocation id, Supplier<E> supplier) - Specified by:
registerSupplied
in interfaceme.shedaniel.architectury.registry.Registry<T>
-
getId
- Specified by:
getId
in interfaceme.shedaniel.architectury.registry.Registry<T>
-
getRawId
- Specified by:
getRawId
in interfaceme.shedaniel.architectury.registry.Registry<T>
-
getKey
- Specified by:
getKey
in interfaceme.shedaniel.architectury.registry.Registry<T>
-
get
- Specified by:
get
in interfaceme.shedaniel.architectury.registry.Registry<T>
-
byRawId
- Specified by:
byRawId
in interfaceme.shedaniel.architectury.registry.Registry<T>
-
contains
public boolean contains(net.minecraft.resources.ResourceLocation resourceLocation) - Specified by:
contains
in interfaceme.shedaniel.architectury.registry.Registry<T>
-
containsValue
- Specified by:
containsValue
in interfaceme.shedaniel.architectury.registry.Registry<T>
-
getIds
- Specified by:
getIds
in interfaceme.shedaniel.architectury.registry.Registry<T>
-
entrySet
- Specified by:
entrySet
in interfaceme.shedaniel.architectury.registry.Registry<T>
-
key
- Specified by:
key
in interfaceme.shedaniel.architectury.registry.Registry<T>
-
iterator
-