This commit is contained in:
Calclavia 2012-10-28 22:55:12 +08:00
parent 8fef86026c
commit 9abc4e3a0f
4 changed files with 9 additions and 7 deletions

View file

@ -1 +1 @@
3
5

View file

@ -1,3 +1,4 @@
@ AssemblyLine_v0.0.6.1.jar
@ AssemblyLine_v0.0.6.2.jar
* AssemblyLine_v0.0.6.3.jar
@ AssemblyLine_v0.0.6.3.jar
* AssemblyLine_v0.0.6.5.jar

View file

@ -67,14 +67,14 @@ public class AssemblyLine
@Init
public void load(FMLInitializationEvent evt)
{
GameRegistry.registerTileEntity(TileEntityConveyorBelt.class, "belt");
GameRegistry.registerTileEntity(TileEntitySorter.class, "ejector");
GameRegistry.registerTileEntity(TileEntityManipulator.class, "scop");
GameRegistry.registerTileEntity(TileEntityConveyorBelt.class, "ConveyorBelt");
GameRegistry.registerTileEntity(TileEntitySorter.class, "Sorter");
GameRegistry.registerTileEntity(TileEntityManipulator.class, "Manipulator");
proxy.init();
// Names
LanguageRegistry.addName(new ItemStack(blockConveyorBelt, 1), "Coneveyor Belt");
LanguageRegistry.addName(new ItemStack(blockConveyorBelt, 1), "Conveyor Belt");
LanguageRegistry.addName(new ItemStack(blockInteraction, 1, MachineType.SORTER.metadata), MachineType.SORTER.name);
LanguageRegistry.addName(new ItemStack(blockInteraction, 1, MachineType.MANIPULATOR.metadata), MachineType.SORTER.name);
LanguageRegistry.addName(new ItemStack(blockInteraction, 1, MachineType.MANIPULATOR.metadata), MachineType.MANIPULATOR.name);
LanguageRegistry.addName(new ItemStack(blockInteraction, 1, 8), "FutureBlock");
LanguageRegistry.addName(new ItemStack(blockInteraction, 1, 12), "FutureBlock");
}

View file

@ -12,6 +12,7 @@ public class ItemBlockMulti extends ItemBlock
this.setHasSubtypes(true);
}
@Override
public String getItemNameIS(ItemStack itemstack)
{
return MachineType.get(itemstack.getItemDamage()).name;