Package guideme.scene
Class BlockImageTagCompiler
java.lang.Object
guideme.compiler.tags.BlockTagCompiler
guideme.scene.BlockImageTagCompiler
- All Implemented Interfaces:
TagCompiler
,Extension
Handles tags like
<BlockImage id="mod:blockid" />
and renders a 3D block image in its place.-
Field Summary
Fields inherited from interface guideme.compiler.TagCompiler
EXTENSION_POINT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
compile
(PageCompiler compiler, LytBlockContainer parent, guideme.libs.mdast.mdx.model.MdxJsxElementFields el) The tag names this compiler is responsible for.Methods inherited from class guideme.compiler.tags.BlockTagCompiler
compileBlockContext, compileFlowContext
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface guideme.extensions.Extension
onExtensionsBuilt
-
Field Details
-
TAG_NAME
- See Also:
-
-
Constructor Details
-
BlockImageTagCompiler
public BlockImageTagCompiler()
-
-
Method Details
-
getTagNames
Description copied from interface:TagCompiler
The tag names this compiler is responsible for. -
compile
protected void compile(PageCompiler compiler, LytBlockContainer parent, guideme.libs.mdast.mdx.model.MdxJsxElementFields el) - Specified by:
compile
in classBlockTagCompiler
-