Code cleanup

This commit is contained in:
LemADEC 2017-04-25 18:38:18 +02:00
parent 6b48063c9a
commit a3ce6b40b5
9 changed files with 30 additions and 24 deletions

View file

@ -27,7 +27,7 @@ public abstract class BlockAbstractAir extends Block {
super(Material.fire);
setHardness(0.0F);
setCreativeTab(WarpDrive.creativeTabWarpDrive);
setBlockName("warpdrive.passive.air");
setBlockName("warpdrive.breathing.air");
}
@Override

View file

@ -27,7 +27,7 @@ public class BlockAirGenerator extends BlockAbstractContainer {
public BlockAirGenerator() {
super(Material.iron);
setBlockName("warpdrive.machines.air_generator");
setBlockName("warpdrive.breathing.air_generator");
}
@Override

View file

@ -37,7 +37,7 @@ public class BlockAirGeneratorTiered extends BlockAbstractContainer {
super(Material.iron);
this.tier = tier;
isRotating = true;
setBlockName("warpdrive.machines.air_generator" + tier);
setBlockName("warpdrive.breathing.air_generator" + tier);
}
@Override

View file

@ -30,8 +30,9 @@ import net.minecraft.world.IBlockAccess;
import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler;
// wrapper to native classes to renderId is non-zero so we don't render faces when player camera is inside the block
// wrapper to camouflage block
public class RenderBlockForceField implements ISimpleBlockRenderingHandler {
public static int renderId = 0;
public static RenderBlockForceField instance = new RenderBlockForceField();

View file

@ -8,6 +8,7 @@ import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler;
// wrapper to native classes to renderId is non-zero so we don't render faces when player camera is inside the block
public class RenderBlockStandard implements ISimpleBlockRenderingHandler {
public static int renderId = 0;
public static RenderBlockStandard instance = new RenderBlockStandard();

View file

@ -154,7 +154,6 @@ item.warpdrive.tool.tuning_fork.black.name=Schwarze Stimmgabel
item.warpdrive.tool.tuning_fork.tooltip.usage=§bRecktsklicke einen Block§7 um seine Kristalle einzustellen\n§bSschleiche§7 um alternative Kristalle einzustellen
tile.warpdrive.passive.air.name=Luft Block
tile.warpdrive.passive.Energized.name=Energiegeladener Block
tile.warpdrive.passive.Gas.name=Gas Block
tile.warpdrive.passive.IridiumBlock.name=Iridium Block
@ -163,10 +162,6 @@ tile.warpdrive.passive.Network.name=Netzwerk Block
tile.warpdrive.passive.Plain.name=Ebenen Block
tile.warpdrive.passive.TransportBeacon.name=Transport Leuchtfeuer
tile.warpdrive.machines.air_generator.name=Luftgenerator
tile.warpdrive.machines.air_generator1.name=Standard Luftgenerator
tile.warpdrive.machines.air_generator2.name=Weiterentwickeltes Luftgenerator
tile.warpdrive.machines.air_generator3.name=Überlegenes Luftgenerator
tile.warpdrive.machines.ChunkLoader.name=Chunk Loader
tile.warpdrive.machines.Laser.name=Laser
tile.warpdrive.machines.LaserMedium.name=Medium Laser (Partikel Beschleuniger)
@ -202,6 +197,12 @@ tile.warpdrive.atomic.void_shell_plain.tooltip=Provides 2 empty channels for par
tile.warpdrive.atomic.void_shell_glass.name=Glass Void Shell !!!
tile.warpdrive.atomic.void_shell_glass.tooltip=Same as a Plain Void Shell, except you can see particles moving through it. !!!
tile.warpdrive.breathing.air.name=Luft Block
tile.warpdrive.breathing.air_generator.name=Luftgenerator
tile.warpdrive.breathing.air_generator1.name=Standard Luftgenerator
tile.warpdrive.breathing.air_generator2.name=Weiterentwickeltes Luftgenerator
tile.warpdrive.breathing.air_generator3.name=Überlegenes Luftgenerator
tile.warpdrive.building.ShipScanner.name=Raumschiff Scanner
tile.warpdrive.collection.LaserTreeFarm.name=Laser Baumfarm

View file

@ -154,7 +154,6 @@ item.warpdrive.tool.tuning_fork.black.name=Black Tuning Fork
item.warpdrive.tool.tuning_fork.tooltip.usage=§bRight click a block§7 to tune its crystals\n§bSneak§7 to tune alternate crystals
tile.warpdrive.passive.air.name=Air Block
tile.warpdrive.passive.Energized.name=Energized Block
tile.warpdrive.passive.Gas.name=Gas Block
tile.warpdrive.passive.IridiumBlock.name=Iridium Block
@ -163,10 +162,6 @@ tile.warpdrive.passive.Network.name=Network Block
tile.warpdrive.passive.Plain.name=Plain Block
tile.warpdrive.passive.TransportBeacon.name=Transport Beacon
tile.warpdrive.machines.air_generator.name=Air Generator
tile.warpdrive.machines.air_generator1.name=Basic Air Generator
tile.warpdrive.machines.air_generator2.name=Advanced Air Generator
tile.warpdrive.machines.air_generator3.name=Superior Air Generator
tile.warpdrive.machines.ChunkLoader.name=Chunk Loader
tile.warpdrive.machines.Laser.name=Laser
tile.warpdrive.machines.LaserMedium.name=Laser Medium (Particle Booster)
@ -202,6 +197,12 @@ tile.warpdrive.atomic.void_shell_plain.tooltip=Provides 2 empty channels for par
tile.warpdrive.atomic.void_shell_glass.name=Glass Void Shell
tile.warpdrive.atomic.void_shell_glass.tooltip=Same as a Plain Void Shell, except you can see particles moving through it.
tile.warpdrive.breathing.air.name=Air Block
tile.warpdrive.breathing.air_generator.name=Air Generator
tile.warpdrive.breathing.air_generator1.name=Basic Air Generator
tile.warpdrive.breathing.air_generator2.name=Advanced Air Generator
tile.warpdrive.breathing.air_generator3.name=Superior Air Generator
tile.warpdrive.building.ShipScanner.name=Ship Scanner
tile.warpdrive.collection.LaserTreeFarm.name=Laser Tree Farm

View file

@ -154,7 +154,6 @@ item.warpdrive.tool.tuning_fork.black.name=Diapason noir
item.warpdrive.tool.tuning_fork.tooltip.usage=§bCliques droit sur un block§r pour ajuster ses cristaux\n§bAccroupi§r pour ajuster les cristaux alternatifs
tile.warpdrive.passive.air.name=Bloc d'air
tile.warpdrive.passive.Energized.name=Block energisé
tile.warpdrive.passive.Gas.name=Bloc de gaz
tile.warpdrive.passive.IridiumBlock.name=Bloc d'iridium
@ -163,10 +162,6 @@ tile.warpdrive.passive.Network.name=Bloc de réseau
tile.warpdrive.passive.Plain.name=Bloc ordinaire
tile.warpdrive.passive.TransportBeacon.name=Balise de transport
tile.warpdrive.machines.air_generator.name=Générateur d'air
tile.warpdrive.machines.air_generator1.name=Générateur d'air élémentaire
tile.warpdrive.machines.air_generator2.name=Générateur d'air avancé
tile.warpdrive.machines.air_generator3.name=Générateur d'air supérieur
tile.warpdrive.machines.ChunkLoader.name=Chargeur de chunk
tile.warpdrive.machines.Laser.name=Laser
tile.warpdrive.machines.LaserMedium.name=Milieu amplificateur
@ -202,6 +197,12 @@ tile.warpdrive.atomic.void_shell_plain.tooltip=Fournit 2 canaux de parcours des
tile.warpdrive.atomic.void_shell_glass.name=Vitre de coquille sous vide
tile.warpdrive.atomic.void_shell_glass.tooltip=Variante transparente de la Coquille sous vide permettant de voir les particules en mouvement.
tile.warpdrive.breathing.air.name=Bloc d'air
tile.warpdrive.breathing.air_generator.name=Générateur d'air
tile.warpdrive.breathing.air_generator1.name=Générateur d'air élémentaire
tile.warpdrive.breathing.air_generator2.name=Générateur d'air avancé
tile.warpdrive.breathing.air_generator3.name=Générateur d'air supérieur
tile.warpdrive.building.ShipScanner.name=Scanneur de vaisseau
tile.warpdrive.collection.LaserTreeFarm.name=Laser de plantation arboricole

View file

@ -154,7 +154,6 @@ item.warpdrive.tool.tuning_fork.black.name=Черный камертон
item.warpdrive.tool.tuning_fork.tooltip.usage=§bИспользуйте на блоке§7, чтобы настроить его кристаллы\n§bПрисядьте§7, чтобы настроить вторичные кристаллы
tile.warpdrive.passive.air.name=Воздух
tile.warpdrive.passive.Energized.name=Энергизированный блок
tile.warpdrive.passive.Gas.name=Газ
tile.warpdrive.passive.IridiumBlock.name=Блок иридия
@ -163,10 +162,6 @@ tile.warpdrive.passive.Network.name=Сетевой блок
tile.warpdrive.passive.Plain.name=Простой блок
tile.warpdrive.passive.TransportBeacon.name=Маяк для транспортера
tile.warpdrive.machines.air_generator.name=Air Generator
tile.warpdrive.machines.air_generator1.name=Basic Air Generator
tile.warpdrive.machines.air_generator2.name=Advanced Air Generator
tile.warpdrive.machines.air_generator3.name=Superior Air Generator
tile.warpdrive.machines.AirGenerator.name=Генератор воздуха
tile.warpdrive.machines.ChunkLoader.name=Загрузчик чанков
tile.warpdrive.machines.Laser.name=Лазер
@ -203,6 +198,12 @@ tile.warpdrive.atomic.void_shell_plain.tooltip=Provides 2 empty channels for par
tile.warpdrive.atomic.void_shell_glass.name=Glass Void Shell
tile.warpdrive.atomic.void_shell_glass.tooltip=Same as a Plain Void Shell, except you can see particles moving through it.
tile.warpdrive.breathing.air.name=Воздух
tile.warpdrive.breathing.air_generator.name=Air Generator
tile.warpdrive.breathing.air_generator1.name=Basic Air Generator
tile.warpdrive.breathing.air_generator2.name=Advanced Air Generator
tile.warpdrive.breathing.air_generator3.name=Superior Air Generator
tile.warpdrive.building.ShipScanner.name=Сканер кораблей
tile.warpdrive.collection.LaserTreeFarm.name=Лазерная ферма деревьев