Class QuiltRegistrySupplier<T>
java.lang.Object
dev.upcraft.sparkweave.quilt.impl.registry.QuiltRegistrySupplier<T>
- All Implemented Interfaces:
RegistrySupplier<T>,Supplier<T>
-
Constructor Summary
ConstructorsConstructorDescriptionQuiltRegistrySupplier(net.minecraft.resources.ResourceKey<? super T> id, Supplier<T> factory) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.upcraft.sparkweave.api.registry.RegistrySupplier
is
-
Constructor Details
-
QuiltRegistrySupplier
-
-
Method Details
-
register
-
get
-
is
- Specified by:
isin interfaceRegistrySupplier<T>
-
matches
- Specified by:
matchesin interfaceRegistrySupplier<T>
-
getId
public net.minecraft.resources.ResourceLocation getId()- Specified by:
getIdin interfaceRegistrySupplier<T>
-
getRegistryKey
- Specified by:
getRegistryKeyin interfaceRegistrySupplier<T>
-
getRegistry
- Specified by:
getRegistryin interfaceRegistrySupplier<T>
-
equals
-
hashCode
public int hashCode()
-