mirror of
https://github.com/darksaid98/SiegeEngines.git
synced 2026-12-02 06:28:57 +00:00
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:
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;
|
||||
|
||||
Reference in new issue
Block a user