Class EventParameterSetBlock
java.lang.Object
net.mcreator.blockly.java.blocks.EventParameterSetBlock
- 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[]String[][]Retrieves the initialization XML for the toolbox for each block returned byIBlockGenerator.getSupportedBlocks(), in the same order.
-
Constructor Details
-
EventParameterSetBlock
public EventParameterSetBlock()
-
-
Method Details
-
generateBlock
- Specified by:
generateBlockin interfaceIBlockGenerator- Throws:
TemplateGeneratorException
-
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
-
getToolboxInit
Description copied from interface:IBlockGeneratorRetrieves the initialization XML for the toolbox for each block returned byIBlockGenerator.getSupportedBlocks(), in the same order.- Specified by:
getToolboxInitin interfaceIBlockGenerator
-