Fixed localization
This commit is contained in:
parent
ea146023f0
commit
8c54aea0de
27 changed files with 1007 additions and 979 deletions
|
@ -24,6 +24,7 @@ public class BlockAir extends Block
|
|||
public BlockAir() {
|
||||
super(Material.air);
|
||||
setHardness(0.0F);
|
||||
setBlockName("warpdrive.blocks.Air");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -27,6 +27,7 @@ public class BlockDecorative extends Block {
|
|||
setHardness(0.5f);
|
||||
setStepSound(Block.soundTypeMetal);
|
||||
setCreativeTab(WarpDrive.warpdriveTab);
|
||||
setBlockName("warpdrive.decorative.Plain");
|
||||
}
|
||||
|
||||
public boolean isValidDamage(int damage) {
|
||||
|
|
|
@ -18,6 +18,7 @@ public class BlockGas extends Block {
|
|||
public BlockGas() {
|
||||
super(Material.air);
|
||||
setHardness(0.0F);
|
||||
setBlockName("warpdrive.blocks.Gas");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -17,6 +17,7 @@ public class BlockIridium extends Block
|
|||
setResistance(150 * 4);
|
||||
setStepSound(Block.soundTypeMetal);
|
||||
setCreativeTab(WarpDrive.warpdriveTab);
|
||||
setBlockName("warpdrive.blocks.IridiumBlock");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -15,6 +15,7 @@ public class BlockTransportBeacon extends Block {
|
|||
setHardness(0.5F);
|
||||
setStepSound(Block.soundTypeMetal);
|
||||
setCreativeTab(WarpDrive.warpdriveTab);
|
||||
setBlockName("warpdrive.blocks.TransportBeacon");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -31,6 +31,7 @@ public class BlockAirGenerator extends BlockContainer
|
|||
setHardness(0.5F);
|
||||
setStepSound(Block.soundTypeMetal);
|
||||
setCreativeTab(WarpDrive.warpdriveTab);
|
||||
setBlockName("warpdrive.machines.AirGenerator");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -26,6 +26,8 @@ public class BlockCamera extends BlockContainer {
|
|||
setHardness(0.5F);
|
||||
setStepSound(Block.soundTypeMetal);
|
||||
setCreativeTab(WarpDrive.warpdriveTab);
|
||||
this.setBlockName("warpdrive.machines.CloakingCoil");
|
||||
this.setBlockName("warpdrive.machines.Camera");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -17,6 +17,7 @@ public class BlockCloakingCoil extends Block {
|
|||
setHardness(0.5F);
|
||||
setStepSound(Block.soundTypeMetal);
|
||||
setCreativeTab(WarpDrive.warpdriveTab);
|
||||
this.setBlockName("warpdrive.machines.CloakingCoil");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -23,6 +23,7 @@ public class BlockCloakingDeviceCore extends BlockContainer {
|
|||
setHardness(0.5F);
|
||||
setStepSound(Block.soundTypeMetal);
|
||||
setCreativeTab(WarpDrive.warpdriveTab);
|
||||
this.setBlockName("warpdrive.machines.CloakingDeviceCore");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -22,6 +22,7 @@ public class BlockLaser extends BlockContainer {
|
|||
setHardness(0.5F);
|
||||
setStepSound(Block.soundTypeMetal);
|
||||
setCreativeTab(WarpDrive.warpdriveTab);
|
||||
this.setBlockName("warpdrive.machines.Laser");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -26,6 +26,7 @@ public class BlockLaserCam extends BlockContainer {
|
|||
setHardness(0.5F);
|
||||
setStepSound(Block.soundTypeMetal);
|
||||
setCreativeTab(WarpDrive.warpdriveTab);
|
||||
this.setBlockName("warpdrive.machines.LaserCamera");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -14,6 +14,7 @@ public class BlockLaserReactorMonitor extends BlockContainer {
|
|||
setHardness(0.5F);
|
||||
setStepSound(Block.soundTypeMetal);
|
||||
setCreativeTab(WarpDrive.warpdriveTab);
|
||||
this.setBlockName("warpdrive.machines.LaserReactorMonitor");
|
||||
}
|
||||
|
||||
public BlockLaserReactorMonitor(Material material) {
|
||||
|
|
|
@ -20,6 +20,7 @@ public class BlockLaserTreeFarm extends BlockContainer {
|
|||
setHardness(0.5F);
|
||||
setStepSound(Block.soundTypeMetal);
|
||||
setCreativeTab(WarpDrive.warpdriveTab);
|
||||
this.setBlockName("warpdrive.machines.LaserTreeFarm");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -24,6 +24,7 @@ public class BlockLift extends BlockContainer
|
|||
setHardness(0.5F);
|
||||
setStepSound(Block.soundTypeMetal);
|
||||
setCreativeTab(WarpDrive.warpdriveTab);
|
||||
this.setBlockName("warpdrive.machines.LaserLift");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -29,6 +29,7 @@ public class BlockMiningLaser extends BlockContainer {
|
|||
setHardness(0.5F);
|
||||
setStepSound(Block.soundTypeMetal);
|
||||
setCreativeTab(WarpDrive.warpdriveTab);
|
||||
this.setBlockName("warpdrive.machines.MiningLaser");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -26,6 +26,7 @@ public class BlockMonitor extends BlockContainer {
|
|||
setHardness(0.5F);
|
||||
setStepSound(Block.soundTypeMetal);
|
||||
setCreativeTab(WarpDrive.warpdriveTab);
|
||||
setBlockName("warpdrive.machines.Monitor");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -23,6 +23,7 @@ public class BlockParticleBooster extends BlockContainer {
|
|||
setHardness(0.5F);
|
||||
setStepSound(Block.soundTypeMetal);
|
||||
setCreativeTab(WarpDrive.warpdriveTab);
|
||||
setBlockName("warpdrive.machines.ParticleBooster");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -10,6 +10,7 @@ public class BlockPowerLaser extends WarpBlockContainer {
|
|||
|
||||
public BlockPowerLaser() {
|
||||
setResistance(100.0F);
|
||||
setBlockName("warpdrive.power.Laser");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -11,6 +11,7 @@ public class BlockPowerReactor extends WarpBlockContainer {
|
|||
|
||||
public BlockPowerReactor() {
|
||||
super();
|
||||
setBlockName("warpdrive.power.Reactor");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -12,6 +12,7 @@ public class BlockPowerStore extends WarpBlockContainer {
|
|||
private IIcon iconBuffer;
|
||||
|
||||
public BlockPowerStore() {
|
||||
setBlockName("warpdrive.power.Store");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -27,6 +27,7 @@ public class BlockProtocol extends BlockContainer {
|
|||
setHardness(0.5F);
|
||||
setStepSound(Block.soundTypeMetal);
|
||||
setCreativeTab(WarpDrive.warpdriveTab);
|
||||
setBlockName("warpdrive.machines.WarpProtocol");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,6 +30,7 @@ public class BlockRadar extends BlockContainer
|
|||
setHardness(0.5F);
|
||||
setStepSound(Block.soundTypeMetal);
|
||||
setCreativeTab(WarpDrive.warpdriveTab);
|
||||
setBlockName("warpdrive.machines.WarpRadar");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -25,6 +25,7 @@ public class BlockReactor extends BlockContainer {
|
|||
setHardness(0.5F);
|
||||
setStepSound(Block.soundTypeMetal);
|
||||
setCreativeTab(WarpDrive.warpdriveTab);
|
||||
setBlockName("warpdrive.machines.WarpCore");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -23,6 +23,7 @@ public class BlockShipScanner extends BlockContainer {
|
|||
setHardness(0.5F);
|
||||
setStepSound(Block.soundTypeMetal);
|
||||
setCreativeTab(WarpDrive.warpdriveTab);
|
||||
setBlockName("warpdrive.machines.Scanner");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -12,6 +12,7 @@ public class BlockTransporter extends WarpBlockContainer {
|
|||
|
||||
public BlockTransporter(Material par2Material) {
|
||||
super(par2Material);
|
||||
setBlockName("warpdrive.machines.Transporter");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -17,6 +17,7 @@ public class BlockWarpIsolation extends Block {
|
|||
setHardness(0.5F);
|
||||
setStepSound(Block.soundTypeMetal);
|
||||
setCreativeTab(WarpDrive.warpdriveTab);
|
||||
setBlockName("warpdrive.blocks.WarpIsolation");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -22,6 +22,7 @@ tile.warpdrive.blocks.Air.name=Air Block
|
|||
tile.warpdrive.blocks.Gas.name=Gas Block
|
||||
tile.warpdrive.blocks.WarpIsolation.name=Warp-field Isolation Block
|
||||
tile.warpdrive.blocks.IridiumBlock.name=Iridium Block
|
||||
tile.warpdrive.blocks.TransportBeacon.name=Transport Beacon
|
||||
|
||||
tile.warpdrive.decorative.Plain.name=Plain Block
|
||||
tile.warpdrive.decorative.Energized.name=Energized Block
|
||||
|
|
Loading…
Reference in a new issue