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

One Punch Event #97

Merged
merged 4 commits into from
Feb 19, 2023
Merged

One Punch Event #97

merged 4 commits into from
Feb 19, 2023

Conversation

Kanawanagasaki
Copy link
Contributor

Adds one punch event that make player to kill any living entity in one hit. Also this event will add inertia to those entities and will spawn an explosion particle.

I use integer for variables because if there are 2 overlapping OnePunch events then with boolean first event will cancel the second one when it ends.

Kanawanagasaki and others added 3 commits February 15, 2023 07:32
# Conflicts:
#	src/main/java/me/juancarloscp52/entropy/events/EventRegistry.java
#	src/main/resources/assets/entropy/lang/en_gb.json
#	src/main/resources/assets/entropy/lang/en_us.json
#	src/main/resources/assets/entropy/lang/es_es.json
@Kanawanagasaki
Copy link
Contributor Author

i made a typo, it should be "shouldLaunchEntity", not "shouldLounchEntity", oops

@juancarloscp52 juancarloscp52 merged commit 1716c3c into juancarloscp52:1.19.3 Feb 19, 2023
@Kanawanagasaki Kanawanagasaki deleted the 1.19.3_OnePunch branch February 19, 2023 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants