isVanillaAdapter

boolean isVanillaAdapter()

When true, signals renderer this producer is implemented through getQuads.Also means the model does not rely on any non-vanilla features.Allows the renderer to optimize or route vanilla models through the unmodified vanilla pipeline if desired.

Fabric overrides to true for vanilla baked models.Enhanced models that use this API should return false,otherwise the API will not recognize the model.

Sources

jvm source
Link copied to clipboard