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 Identifier DUMMY
    • loaderId

      protected final Identifier loaderId
    • visibility

      protected final Map<String,Boolean> visibility
    • allowInlineElements

      protected final boolean allowInlineElements
    • optional

      private boolean optional
  • Constructor Details

    • CustomLoaderBuilder

      protected CustomLoaderBuilder(Identifier 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