mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Extend EntityCombustEvent to allow setting combustion duration.
Also extend with two new events that track the entity or block that caused the combustion. By: Andrew Ardill <andrew.ardill@gmail.com>
This commit is contained in:
1 parent
3055f33fca
commit
ae4cd083ac
5 files changed
+70
-4
No files matched your search
@@ -25,6 +25,8 @@ public interface Projectile extends Entity {
|
||||
/**
|
||||
* Determine if this projectile should bounce or not when it hits.
|
||||
*
|
||||
* If a small fireball does not bounce it will set the target on fire.
|
||||
*
|
||||
* @return true if it should bounce.
|
||||
*/
|
||||
public boolean doesBounce();
|
||||
|
||||
Reference in new issue
Block a user