🏠Generate Blocks
Last updated
Last updated
List of block generation (At the moment there are only these but more will be added in the future and if you want to make a suggestion contact me by discord: josielcm#8990)
SPHERE - Generation
PYRAMID - Generation
For all block generation you need this structure, some parameters vary depending on the type.
block-generation:
enable: true # For enable this option
type: YOUR-TYPE
radius: 7.0 or 7 # Set your radius depending on the structure and desired values
height: Your value
material: WHITE_STAINED_GLASS # Your material
affect-blocks: false # This option refers to chests, doors, fences, slabs and trapdoors. I recommend leaving it on false to avoid bugs or that when regenerating the chests the items are lost.
regenerate-blocks: true # Recommended
cooldown-regenerate: 5 # Time in seconds / Only if your have regenerate-blocks in true
particle: # Add particle for the blocks when spawn / These particles are recommended to put a low amount to avoid lag.
type: PORTAL
amount: 5
Recommendations for block regeneration: Set the same regeneration time as the arc cooldown, clearly set a cooldown on the arc to avoid regeneration failures.
The affect-blocks option is recommended to be set to false as it avoids replacing blocks that may regenerate badly such as a door, a slab, a chest (losing items), etc.
In the particle option of the block generation category, it is advisable not to put too many particles because it could cause lag to some users and also to the server if too many are used in large quantities.
If your server does not have many resources, I do not recommend you to set the block generation size to 20 as it would be too big and could cause a TPS crash.
# Generate blocks parameters
block-generation:
enable: true
type: SPHERE # HERE
radius: 7.0
material: WHITE_STAINED_GLASS
affect-blocks: false # This option refers to chests, doors, fences, slabs and trapdoors. I recommend leaving it on false to avoid bugs or that when regenerating the chests the items are lost.
regenerate-blocks: true
cooldown-regenerate: 5 # Time in seconds
particle:
type: PORTAL
amount: 8
block-generation:
enable: true
type: PYRAMID
radius: 5
height: 5
material: SANDSTONE
affect-blocks: false # This option refers to chests, doors, fences, slabs and trapdoors. I recommend leaving it on false to avoid bugs or that when regenerating the chests the items are lost.
regenerate-blocks: true
cooldown-regenerate: 5 # Time in seconds
particle:
type: PORTAL
amount: 8