mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 12:59:41 +00:00
Fixed some naming - factories now display their complete names
This commit is contained in:
1 parent
8344ed25f7
commit
2d727b56ca
9 files changed
+77
-48
No files matched your search
@@ -145,7 +145,7 @@ public class TileEntityFactory extends TileEntityNoisyElectricBlock implements I
|
||||
|
||||
public TileEntityFactory(FactoryTier type, MachineType machine)
|
||||
{
|
||||
super("null", type.getBaseTier().getName() + "Factory", machine.baseEnergy);
|
||||
super("null", machine.name, machine.baseEnergy);
|
||||
|
||||
tier = type;
|
||||
inventory = new ItemStack[5+type.processes*2];
|
||||
@@ -791,6 +791,12 @@ public class TileEntityFactory extends TileEntityNoisyElectricBlock implements I
|
||||
{
|
||||
return 5+tier.processes+operation;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getInventoryName()
|
||||
{
|
||||
return tier.getBaseTier().getLocalizedName() + " " + recipeType.getName() + " " + super.getInventoryName();
|
||||
}
|
||||
|
||||
@Override
|
||||
@Method(modid = "ComputerCraft")
|
||||
|
||||
Reference in new issue
Block a user