Interface ModelModifier.AfterBake

Enclosing class:
ModelModifier
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ModelModifier.AfterBake
  • Method Details

    • modifyModelAfterBake

      BakedModel modifyModelAfterBake(BakedModel model, ModelModifier.AfterBake.Context context)
      This handler is invoked to allow modification of the baked model instance right after it is baked and before it is cached.
      Parameters:
      model - the current baked model instance
      context - context with additional information about the model/loader
      Returns:
      the model that should be used in this scenario. If no changes are needed, just return model as-is.
      See Also: