Class FabricGameRegistry<T>
java.lang.Object
com.blamejared.contenttweaker.fabric.registry.FabricGameRegistry<T>
- All Implemented Interfaces:
com.blamejared.contenttweaker.core.api.registry.GameRegistry<T>
public final class FabricGameRegistry<T>
extends Object
implements com.blamejared.contenttweaker.core.api.registry.GameRegistry<T>
-
Method Summary
Modifier and TypeMethodDescriptionall()voidvoidenqueueRegistration(net.minecraft.resources.ResourceLocation name, Supplier<T> object) get(net.minecraft.resources.ResourceLocation name) net.minecraft.resources.ResourceLocationstatic <T> FabricGameRegistry<T>of(net.minecraft.core.Registry<T> registry, com.blamejared.contenttweaker.core.api.object.ObjectType<T> type) stream()toString()com.blamejared.contenttweaker.core.api.object.ObjectType<T>type()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.blamejared.contenttweaker.core.api.registry.GameRegistry
enqueueRegistration
-
Method Details
-
of
public static <T> FabricGameRegistry<T> of(net.minecraft.core.Registry<T> registry, com.blamejared.contenttweaker.core.api.object.ObjectType<T> type) -
type
- Specified by:
typein interfacecom.blamejared.contenttweaker.core.api.registry.GameRegistry<T>
-
get
- Specified by:
getin interfacecom.blamejared.contenttweaker.core.api.registry.GameRegistry<T>
-
nameOf
- Specified by:
nameOfin interfacecom.blamejared.contenttweaker.core.api.registry.GameRegistry<T>
-
all
- Specified by:
allin interfacecom.blamejared.contenttweaker.core.api.registry.GameRegistry<T>
-
enqueueRegistration
- Specified by:
enqueueRegistrationin interfacecom.blamejared.contenttweaker.core.api.registry.GameRegistry<T>
-
stream
- Specified by:
streamin interfacecom.blamejared.contenttweaker.core.api.registry.GameRegistry<T>
-
doRegistration
public void doRegistration() -
toString
-