mirror of
https://github.com/darksaid98/SiegeEngines.git
synced 2026-12-01 22:22:10 +00:00
added sound option to config
This commit is contained in:
1 parent
65650528b2
commit
d13738cb63
5 files changed
+16
-48
No files matched your search
@@ -34,26 +34,6 @@ public class EntityProjectile extends SiegeEngineProjectile {
|
||||
|
||||
// Defaults
|
||||
}
|
||||
|
||||
public static EntityProjectile getDefaultFireballShot() {
|
||||
EntityProjectile fireProj = new EntityProjectile(new ItemStack(Material.MAGMA_BLOCK));
|
||||
fireProj.entityCount = 4;
|
||||
fireProj.entityType = EntityType.SMALL_FIREBALL;
|
||||
fireProj.particleType = Particle.WHITE_ASH;
|
||||
fireProj.soundType = Sound.ENTITY_BLAZE_SHOOT;
|
||||
fireProj.inaccuracy = 0.75f;
|
||||
return fireProj;
|
||||
}
|
||||
|
||||
public static EntityProjectile getDefaultScatterShot() {
|
||||
EntityProjectile scatterProj = new EntityProjectile(new ItemStack(Material.GRAVEL));
|
||||
scatterProj.inaccuracy = 0.325f;
|
||||
scatterProj.entityCount = 24;
|
||||
scatterProj.entityType = EntityType.ARROW;
|
||||
scatterProj.particleType = Particle.ELECTRIC_SPARK;
|
||||
scatterProj.soundType = Sound.ITEM_CROSSBOW_SHOOT;
|
||||
return scatterProj;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void Shoot(Entity player, Entity entity, Location FireLocation, Float velocity) {
|
||||
|
||||
@@ -36,28 +36,6 @@ public class ExplosiveProjectile extends SiegeEngineProjectile {
|
||||
super(ProjectileType.EXPLOSIVE, ammunitionItem);
|
||||
}
|
||||
|
||||
public static ExplosiveProjectile getDefaultStoneShot() {
|
||||
ExplosiveProjectile stoneProj = new ExplosiveProjectile(new ItemStack(Material.COBBLESTONE));
|
||||
stoneProj.explodePower = 1;
|
||||
return stoneProj;
|
||||
}
|
||||
|
||||
public static ExplosiveProjectile getDefaultRepeatingShot() {
|
||||
ExplosiveProjectile repeatingProj = new ExplosiveProjectile(new ItemStack(Material.TNT));
|
||||
repeatingProj.explodePower = 1.0f;
|
||||
repeatingProj.projectilesCount = 5;
|
||||
repeatingProj.delayedFire = true;
|
||||
repeatingProj.inaccuracy = 0.45f;
|
||||
return repeatingProj;
|
||||
}
|
||||
|
||||
public static ExplosiveProjectile getDefaultBreachShot() {
|
||||
ExplosiveProjectile breachProj = new ExplosiveProjectile(new ItemStack(Material.IRON_BLOCK));
|
||||
breachProj.explodePower = 3;
|
||||
breachProj.projectilesCount = 1;
|
||||
return breachProj;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void Shoot(Entity player, Entity entity, Location loc, Float velocity) {
|
||||
playSound = true;
|
||||
|
||||
Reference in new issue
Block a user