generateDynamicTexture

@NotNull()
public abstract @NotNull() DynamicTextureReference generateDynamicTexture(@NotNull() @NotNull() BufferedImage image)(source)

Dynamically load a buffered image into a minecraft bindable texture. The returned resource location must be destroyed.

Return

a resource location that can be used with bindTexture