1 parent
ef099d6feb
commit
c62558a09f
2 files changed
+18
-1
No files matched your search
@@ -68,4 +68,14 @@ public class CraftFirework extends CraftEntity implements Firework {
|
||||
public void detonate() {
|
||||
getHandle().expectedLifespan = 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isShotAtAngle() {
|
||||
return getHandle().i();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setShotAtAngle(boolean shotAtAngle) {
|
||||
getHandle().getDataWatcher().set(EntityFireworks.d, shotAtAngle);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user