Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creeper Explosion Radius Expression #2776

Conversation

Wealthyturtle
Copy link
Member

Description

This PR adds the ability to get/set a Creeper entity's explosion radius.


Target Minecraft Versions: "Added after 1.12.2", so I used methodExists()
Requirements: None
Related Issues: #1385

@Wealthyturtle Wealthyturtle added the feature Pull request adding a new feature. label Jan 18, 2020
@APickledWalrus
Copy link
Member

Might be nice to expand this to other entities that explode (see https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/Explosive.html)

@Wealthyturtle
Copy link
Member Author

Creepers are not instances of Explosive tho.

@APickledWalrus
Copy link
Member

yeah... I learned that with my PR from earlier haha. I may PR this but for the other entities.

@bensku
Copy link
Member

bensku commented Feb 3, 2020

I'd prefer to have this tested, unless it requires online players.

Aside that, we shouldn't expose faults of Spigot API to scripters. If creepers are not explosives, they could be made special cases in #2782.

@Wealthyturtle Wealthyturtle deleted the feature/creeper-explosion-radius branch July 22, 2020 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Pull request adding a new feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants