Firework API's
== AT == public net.minecraft.world.entity.projectile.FireworkRocketEntity attachedToEntity
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user