Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| plugin:extrafireworks:config [2022/12/11 22:17] – Add debug config entry phoenix616 | plugin:extrafireworks:config [2025/12/22 18:38] (current) – [Example Schematic] Add example of custom effect phoenix616 | ||
|---|---|---|---|
| Line 140: | Line 140: | ||
| #### image | #### image | ||
| The image in the images folder on which the custom effect is based on. | The image in the images folder on which the custom effect is based on. | ||
| + | |||
| + | #### schematic | ||
| + | The schematic in the schematics folder. (Only if no image is set) This required WorldEdit 7 (or later) and allows for custom 3D effects. | ||
| + | |||
| + | If the string starts with a / then the server-root is assumed for the path (e.g. to allow schematics from WorldEdit) | ||
| #### scale | #### scale | ||
| - | The scale of the image (blocks per pixel) | + | The scale of the image (blocks per pixel or blocks) |
| #### density | #### density | ||
| - | How many particles should be used to display one pixel | + | How many particles should be used to display one pixel (Only for images. Use a larger schematic and adjust the scale for clearer effects) |
| #### recipe | #### recipe | ||
| Line 151: | Line 156: | ||
| #### box | #### box | ||
| - | Whether the effect should always be in a box shape. (`true`/ | + | Whether the effect should always be in a box shape. (`true`/ |
| #### transparent | #### transparent | ||
| - | Whether the effect should always display dark color as transparent. (`true`/ | + | Whether the effect should always display dark color as transparent. (`true`/ |
| #### particle | #### particle | ||
| Line 161: | Line 166: | ||
| #### colors | #### colors | ||
| The color the effect should have, forces the particle to redstone. Set to an empty string if you don't want a color. E.g. if you want only a red outline use `colors: " | The color the effect should have, forces the particle to redstone. Set to an empty string if you don't want a color. E.g. if you want only a red outline use `colors: " | ||
| + | |||
| + | #### flash-color | ||
| + | The color that the explosion flash should have. (Only supported on 1.21.9 and newer.) If not set and colors are provided then the first color will be used! | ||
| #### sounds | #### sounds | ||
| Line 183: | Line 191: | ||
| If no dye is provided it will use the specified particle. | If no dye is provided it will use the specified particle. | ||
| - | ### Example | + | ### Example |
| <code yaml> | <code yaml> | ||
| Line 203: | Line 211: | ||
| coloring: false | coloring: false | ||
| </ | </ | ||
| + | ### Example Schematic | ||
| + | |||
| + | <code yaml> | ||
| + | custom: | ||
| + | xmastree: | ||
| + | schematic: xmastree.schem | ||
| + | scale: 0.5 | ||
| + | recipe: spruce_sapling | ||
| + | particle: " | ||
| + | flash-color: | ||
| + | colors: "" | ||
| + | sounds: [] | ||
| + | allow: | ||
| + | box: false | ||
| + | transparency: | ||
| + | coloring: false | ||
| + | </ | ||
| + | |||
| + | This config will create an effect looking like this: | ||
| + | |||
| + | {{ plugin: | ||
| + | {{ https:// | ||