Firework API's

== AT ==
public net.minecraft.world.entity.projectile.FireworkRocketEntity attachedToEntity
This commit is contained in:
Aikar
2016-12-28 07:18:33 +01:00
parent 26ff64cadc
commit 746f540e81
4 changed files with 81 additions and 6 deletions

View File

@@ -129,4 +129,11 @@ public class CraftFirework extends CraftProjectile implements Firework {
public void setShotAtAngle(boolean shotAtAngle) {
this.getHandle().getEntityData().set(FireworkRocketEntity.DATA_SHOT_AT_ANGLE, shotAtAngle);
}
// Paper start
@Override
public java.util.UUID getSpawningEntity() {
return getHandle().spawningEntity;
}
// Paper end
}