Class CoreMetaFactory

java.lang.Object
com.blamejared.contenttweaker.core.zen.rt.CoreMetaFactory

@ZenRegister(loaders="contenttweaker") public final class CoreMetaFactory extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static <T, U extends com.blamejared.contenttweaker.core.api.object.ObjectFactory<T>>
    U
    factory(Class<T> reifiedT, Class<U> reifiedU, net.minecraft.resources.ResourceLocation typeId)
     
    static <T, U extends com.blamejared.contenttweaker.core.api.zen.object.Reference<T>>
    U
    reference(Class<T> reifiedT, Class<U> reifiedU, net.minecraft.resources.ResourceLocation typeId, net.minecraft.resources.ResourceLocation id)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • factory

      public static <T, U extends com.blamejared.contenttweaker.core.api.object.ObjectFactory<T>> U factory(Class<T> reifiedT, Class<U> reifiedU, net.minecraft.resources.ResourceLocation typeId)
    • reference

      public static <T, U extends com.blamejared.contenttweaker.core.api.zen.object.Reference<T>> U reference(Class<T> reifiedT, Class<U> reifiedU, net.minecraft.resources.ResourceLocation typeId, net.minecraft.resources.ResourceLocation id)