Class JavaCodeOutputBlock
java.lang.Object
net.mcreator.blockly.java.blocks.JavaCodeOutputBlock
- All Implemented Interfaces:
IBlockGenerator
-
Nested Class Summary
Nested classes/interfaces inherited from interface IBlockGenerator
IBlockGenerator.BlockType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerateBlock(BlocklyToCode master, Element block) String[]String[]Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IBlockGenerator
getToolboxInit
-
Constructor Details
-
JavaCodeOutputBlock
public JavaCodeOutputBlock()
-
-
Method Details
-
generateBlock
- Specified by:
generateBlockin interfaceIBlockGenerator
-
getSupportedBlocks
- Specified by:
getSupportedBlocksin interfaceIBlockGenerator
-
getBlockType
- Specified by:
getBlockTypein interfaceIBlockGenerator
-
getBlockJSONDefinitions
- Specified by:
getBlockJSONDefinitionsin interfaceIBlockGenerator- Returns:
- Blockly JSON definitions for each block returned by
IBlockGenerator.getSupportedBlocks(), in the same order.
-
getToolboxCategory
- Specified by:
getToolboxCategoryin interfaceIBlockGenerator
-