-
-
Notifications
You must be signed in to change notification settings - Fork 195
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
Add ExplosionEvent.Knockback event #1017
Add ExplosionEvent.Knockback event #1017
Conversation
Last commit published: d1fb732ea1efeb20aee7537fecc015638ae5186c. PR PublishingThe artifacts published by this PR:
Repository DeclarationIn order to use the artifacts published by the PR, add the following repository to your buildscript: repositories {
maven {
name 'Maven for PR #1017' // https://github.com/neoforged/NeoForge/pull/1017
url 'https://prmaven.neoforged.net/NeoForge/pr1017'
content {
includeModule('net.neoforged', 'testframework')
includeModule('net.neoforged', 'neoforge')
}
}
} MDK installationIn order to setup a MDK using the latest PR version, run the following commands in a terminal. mkdir NeoForge-pr1017
cd NeoForge-pr1017
curl -L https://prmaven.neoforged.net/NeoForge/pr1017/net/neoforged/neoforge/20.6.109-beta-pr-1017-ExplosionKnockbackEvent/mdk-pr1017.zip -o mdk.zip
jar xf mdk.zip
rm mdk.zip || del mdk.zip To test a production environment, you can download the installer from here. |
src/main/java/net/neoforged/neoforge/event/level/ExplosionEvent.java
Outdated
Show resolved
Hide resolved
@LeScooter Does this fit your use case? Any concerns? |
Now you can make TNT suck in entities easier or something lol. Basically allows more control with the vanilla explosion code without needing to roll out your own explosion if you wanted to change knockback.
Closes #770