mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
removed crashy debug output, re-adjusted rocket particle rate
This commit is contained in:
parent
a6771747a8
commit
be11ba758f
Binary file not shown.
|
Before Width: | Height: | Size: 342 B After Width: | Height: | Size: 281 B |
Binary file not shown.
|
Before Width: | Height: | Size: 307 B After Width: | Height: | Size: 251 B |
Binary file not shown.
|
Before Width: | Height: | Size: 345 B After Width: | Height: | Size: 270 B |
@ -61,8 +61,8 @@ public class EntitySoyuz extends Entity {
|
||||
NBTTagCompound data = new NBTTagCompound();
|
||||
data.setString("type", "exhaust");
|
||||
data.setString("mode", "soyuz");
|
||||
data.setInteger("count", 2);
|
||||
data.setDouble("width", worldObj.rand.nextDouble() * 0.35 - 0.7);
|
||||
data.setInteger("count", 1);
|
||||
data.setDouble("width", worldObj.rand.nextDouble() * 0.25 - 0.5);
|
||||
data.setDouble("posX", x);
|
||||
data.setDouble("posY", y);
|
||||
data.setDouble("posZ", z);
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
package com.hbm.entity.projectile;
|
||||
|
||||
import com.hbm.entity.particle.EntityGasFlameFX;
|
||||
import com.hbm.entity.particle.EntitySmokeFX;
|
||||
import com.hbm.explosion.ExplosionLarge;
|
||||
import com.hbm.main.MainRegistry;
|
||||
import com.hbm.world.feature.Meteorite;
|
||||
|
||||
@ -2028,7 +2028,6 @@ public class MachineRecipes {
|
||||
if(dust != null) {
|
||||
|
||||
for(ItemStack stack : matches) {
|
||||
System.out.println("INGOT Added " + stack.getDisplayName() + " to " + dust.getDisplayName() + " (" + dust.stackSize + ")");
|
||||
shredderRecipes.put(new StackWrapper(stack), dust);
|
||||
}
|
||||
}
|
||||
@ -2040,7 +2039,6 @@ public class MachineRecipes {
|
||||
dust.stackSize = 2;
|
||||
|
||||
for(ItemStack stack : matches) {
|
||||
System.out.println("ORE Added " + stack.getDisplayName() + " to " + dust.getDisplayName() + " (" + dust.stackSize + ")");
|
||||
shredderRecipes.put(new StackWrapper(stack), dust);
|
||||
}
|
||||
}
|
||||
@ -2052,7 +2050,6 @@ public class MachineRecipes {
|
||||
dust.stackSize = 9;
|
||||
|
||||
for(ItemStack stack : matches) {
|
||||
System.out.println("BLOCK Added " + stack.getDisplayName() + " to " + dust.getDisplayName() + " (" + dust.stackSize + ")");
|
||||
shredderRecipes.put(new StackWrapper(stack), dust);
|
||||
}
|
||||
}
|
||||
@ -2062,7 +2059,6 @@ public class MachineRecipes {
|
||||
if(dust != null) {
|
||||
|
||||
for(ItemStack stack : matches) {
|
||||
System.out.println("GEM Added " + stack.getDisplayName() + " to " + dust.getDisplayName() + " (" + dust.stackSize + ")");
|
||||
shredderRecipes.put(new StackWrapper(stack), dust);
|
||||
}
|
||||
}
|
||||
|
||||
@ -65,7 +65,7 @@ public class ParticleRocketFlame extends EntityFX {
|
||||
|
||||
Random urandom = new Random(this.getEntityId());
|
||||
|
||||
for(int i = 0; i < 15; i++) {
|
||||
for(int i = 0; i < 10; i++) {
|
||||
|
||||
p_70539_1_.startDrawingQuads();
|
||||
|
||||
@ -82,7 +82,7 @@ public class ParticleRocketFlame extends EntityFX {
|
||||
p_70539_1_.setNormal(0.0F, 1.0F, 0.0F);
|
||||
p_70539_1_.setBrightness(240);
|
||||
|
||||
float spread = (float) Math.pow(((float)(age) / (float)maxAge) * 4F, 1.5) + 0.5F;
|
||||
float spread = (float) Math.pow(((float)(age) / (float)maxAge) * 4F, 1.5) + 1F;
|
||||
|
||||
float scale = urandom.nextFloat() * 0.5F + 0.1F + ((float)(age) / (float)maxAge) * 2F;
|
||||
float pX = (float) ((this.prevPosX + (this.posX - this.prevPosX) * (double)p_70539_2_ - interpPosX) + (urandom.nextGaussian() - 1D) * 0.2F * spread);
|
||||
|
||||
@ -75,7 +75,7 @@ public class TileEntitySoyuzLauncher extends TileEntityMachineBase implements IS
|
||||
countdown = maxCount;
|
||||
starting = false;
|
||||
} else if(countdown > 0) {
|
||||
countdown --;
|
||||
countdown--;
|
||||
|
||||
if(countdown % 100 == 0 && countdown > 0)
|
||||
worldObj.playSoundEffect(xCoord, yCoord, zCoord, "hbm:alarm.hatch", 100F, 1.1F);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user