Class CustomLoaderBuilder

java.lang.Object
net.neoforged.neoforge.client.model.generators.template.CustomLoaderBuilder
Direct Known Subclasses:
CompositeModelBuilder, ObjModelBuilder

public abstract class CustomLoaderBuilder extends Object
  • Field Details

    • DUMMY

      private static final ResourceLocation DUMMY
    • loaderId

      protected final ResourceLocation loaderId
    • visibility

      protected final Map<String,Boolean> visibility
    • allowInlineElements

      protected final boolean allowInlineElements
    • optional

      private boolean optional
  • Constructor Details

    • CustomLoaderBuilder

      protected CustomLoaderBuilder(ResourceLocation loaderId, boolean allowInlineElements)
      Parameters:
      loaderId - The ID of the associated UnbakedModelLoader
      allowInlineElements - Whether the loader supports inline vanilla elements and as such can fall back to vanilla loading with some degradation if the loader does not exist and is marked as optional in the model
  • Method Details