Add .getIgniter() to ExplosiveMinecart
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 12.7k
- Forks
- 3.5k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 11
Description
Is your feature request related to a problem?
There is no problem. But this comes from an inconsistency; TNTPrimed and Creeper both have a method to get the igniter of the explosive. ExplosiveMinecart does not.
Describe the solution you'd like.
Add a way to get the igniter of an explosive minecart. TNTPrimed has getSource(), Creeper has getIgniter(), yet ExplosiveMinecart entity has no way to get the igniter.
Describe alternatives you've considered.
I've considered adding data to the persistent data container of the explosive minecart to know who ignited the minecart.
Other
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the API definitions for ExplosiveMinecart, TNTPrimed.getSource(), and Creeper.getIgniter(). Follow how the existing explosive entities expose their igniter, then add the corresponding ExplosiveMinecart access and verify that the API provides the igniter consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, game-dev
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100