Interface CustomElementWebRenderer


@Experimental public interface CustomElementWebRenderer
Compiles custom elements (i.e. those added through TagCompiler) to HTML for the website.

NOTE: This is loaded through the Java ServiceLoader mechanism by the WebSiteGenerator. Implementations run outside the game. They may use Minecraft classes, but must not access registries or other game state. Everything they need must come from the element or WebRenderingContext.guide(). Data that is only available in-game can be exported using ResourceExporter.addExtraData(Identifier, Object).