HttpRafa / creeper-recover

Recovers all destroyed blocks by Creeper or other Entities
MIT License
6 stars 0 forks source link

1.21 Breeze Issue #27

Open nexuhs opened 1 month ago

nexuhs commented 1 month ago

In 1.21 the Breeze mob Wind Charge and Wind Charge item, when they explode they behave as creeper explosion and break blocks when this plugin is active.

The normal behavior would be to simply interact with redstone and not break any kind of blocks.

My current solution and suggestion for people facing the same issue but want some safety from creeper explosions without deactivating mob griefing is to set the "mobExplosionDropDecay" gamerule to FALSE. This wont stop be the explosions but will make it so 100% of the exploded blocks will drop as items and you can just place them again!

HttpRafa commented 1 month ago

nexuhs

Do you use Entity Type filter?

nexuhs commented 1 month ago

didn't change any of the configs besides the block recovery speed

HttpRafa commented 1 month ago

The plugin is set to restore everything by default. If you only want Creeper and TNT, activate the entity filter and it should ignore Breezes. I will probably add a blacklist where you can activate everything except Breezes.

nexuhs commented 1 month ago

Do you mean it should only recover the blocks broken by creepers and TNT? my current issue is that the Breeze was breaking blocks like a creeper explosion and recovering after, but he doesn't do that in Vanilla he doesn't break blocks, he only interacts with redstone, not sure what was making the plugin do that

HttpRafa commented 1 month ago

The plugin listens for explosions, or at least what Bukkit calls explosions. If you use the entity filter you can ignore the "explosion" of a breeze.

HttpRafa commented 1 month ago

This is a config that ignores Breezes and only recovers Creeper and TnT explosions config.json

I changed the ignored to false on the Entity Filter: { "type": "ENTITY", "ignore": false, "entityTypes": [ "CREEPER", "TNT" ] },