More fixes, more features

Fixed Player & Block Ammunition-Scanning
Now correctly copies firework rocket-item-data to the launched projectiles
Additionally fixed default-config generation, and made CLOCK(s) the control item as opposed to compasses.
This commit is contained in:
C_Corp2002 authored and GitHub committed 2024-01-09 01:02:06 -05:00
1 parent a76a7b2cfb
commit ed8af21be6
6 files changed
+135 -27

No files matched your search

@@ -34,12 +34,11 @@ public class FireworkProjectile extends SiegeEngineProjectile {
public FireworkProjectile(ItemStack ammunitionItem) {
super(ProjectileType.EXPLOSIVE, ammunitionItem);
// Defaults
}
public static FireworkProjectile getDefaultRocketShot() {
FireworkProjectile fireProj = new FireworkProjectile(new ItemStack(Material.FIREWORK_ROCKET));
public static FireworkProjectile getDefaultRocketShot(ItemStack rocketItem) {
FireworkProjectile fireProj = new FireworkProjectile(rocketItem);
fireProj.entityCount = 1;
fireProj.entityType = EntityType.FIREWORK;
fireProj.particleType = Particle.WHITE_ASH;