Skip to content

Better handling of wind charges #191

@rymiel

Description

@rymiel

Wind charges can open doors and push buttons! In Bukkit, wind charges use EntityExplodeEvent. Bolt already handles this and prevents the touching of protected blocks. That's good, there are no exploits, but maybe a bit too restrictive. It might be cool to be able to open doors you are allowed to open, but using wind charges. Or, be able to use dispensed wind charges to open public doors.

"Explosions" from wind charges use the TRIGGER_BLOCK ExplosionResult, accessible through EntityExplodeEvent#getExplosionResult(). However, this getter is only added in 1.21.4! Meaning it's difficult to use because Bolt (currently) still supports versions below that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions