RF! :D
This commit is contained in:
parent
a9fde31c97
commit
10da5406de
2 changed files with 7 additions and 1 deletions
|
@ -52,9 +52,10 @@ public class ItemBlockTransmitter extends ItemBlock
|
|||
else if(itemstack.getItemDamage() == 1)
|
||||
{
|
||||
list.add(EnumColor.DARK_GREY + "Capable of transferring:");
|
||||
list.add("- " + EnumColor.PURPLE + "RF " + EnumColor.GREY + "(ThermalExpansion)");
|
||||
list.add("- " + EnumColor.PURPLE + "EU " + EnumColor.GREY + "(IndustrialCraft)");
|
||||
list.add("- " + EnumColor.PURPLE + "MJ " + EnumColor.GREY + "(BuildCraft)");
|
||||
list.add("- " + EnumColor.PURPLE + "Joules " + EnumColor.GREY + "(Mekanism)");
|
||||
list.add("- " + EnumColor.PURPLE + "Joules " + EnumColor.GREY + "(Mekanism, UE)");
|
||||
}
|
||||
else if(itemstack.getItemDamage() == 2)
|
||||
{
|
||||
|
|
|
@ -169,6 +169,11 @@ public class TileEntityUniversalCable extends TileEntityTransmitter<EnergyNetwor
|
|||
@Override
|
||||
public PowerReceiver getPowerReceiver(ForgeDirection side)
|
||||
{
|
||||
if(getTransmitterNetwork().getEnergyNeeded(new ArrayList()) == 0)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
return powerHandler.getPowerReceiver();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue