diff --git a/src/main/java/mekanism/client/gui/GuiRobitMain.java b/src/main/java/mekanism/client/gui/GuiRobitMain.java index 74b3a89bf..abe05ea3d 100644 --- a/src/main/java/mekanism/client/gui/GuiRobitMain.java +++ b/src/main/java/mekanism/client/gui/GuiRobitMain.java @@ -107,7 +107,7 @@ public class GuiRobitMain extends GuiMekanism if(!displayNameChange) { CharSequence owner = robit.getOwnerName().length() > 14 ? robit.getOwnerName().subSequence(0, 14) : robit.getOwnerName(); - fontRendererObj.drawString(MekanismUtils.localize("gui.robit.greeting") + " " + robit.getTranslatedEntityName() + "!", 29, 18, 0x00CD00); + fontRendererObj.drawString(MekanismUtils.localize("gui.robit.greeting") + " " + robit.getCommandSenderName() + "!", 29, 18, 0x00CD00); fontRendererObj.drawString(MekanismUtils.localize("gui.energy") + ": " + MekanismUtils.getEnergyDisplay(robit.getEnergy()), 29, 36-4, 0x00CD00); fontRendererObj.drawString(MekanismUtils.localize("gui.robit.following") + ": " + robit.getFollowing(), 29, 45-4, 0x00CD00); fontRendererObj.drawString(MekanismUtils.localize("gui.robit.dropPickup") + ": " + robit.getDropPickup(), 29, 54-4, 0x00CD00); diff --git a/src/main/java/mekanism/api/gas/FuelHandler.java b/src/main/java/mekanism/common/FuelHandler.java similarity index 95% rename from src/main/java/mekanism/api/gas/FuelHandler.java rename to src/main/java/mekanism/common/FuelHandler.java index ff3537dc4..f4ae79af7 100644 --- a/src/main/java/mekanism/api/gas/FuelHandler.java +++ b/src/main/java/mekanism/common/FuelHandler.java @@ -1,15 +1,12 @@ -package mekanism.api.gas; +package mekanism.common; import java.util.HashMap; -import mekanism.common.Mekanism; - +import mekanism.api.gas.Gas; import net.minecraftforge.fluids.FluidContainerRegistry; - -import cpw.mods.fml.common.ModAPIManager; - import buildcraft.api.fuels.IronEngineFuel; import buildcraft.api.fuels.IronEngineFuel.Fuel; +import cpw.mods.fml.common.ModAPIManager; public class FuelHandler { diff --git a/src/main/java/mekanism/common/Mekanism.java b/src/main/java/mekanism/common/Mekanism.java index 1ae709f04..5854ff4a8 100644 --- a/src/main/java/mekanism/common/Mekanism.java +++ b/src/main/java/mekanism/common/Mekanism.java @@ -18,7 +18,6 @@ import mekanism.api.MekanismAPI; import mekanism.api.MekanismAPI.BoxBlacklistEvent; import mekanism.api.PressurizedProducts; import mekanism.api.PressurizedReactants; -import mekanism.api.gas.FuelHandler; import mekanism.api.gas.Gas; import mekanism.api.gas.GasNetwork.GasTransferEvent; import mekanism.api.gas.GasRegistry; diff --git a/src/main/java/mekanism/common/entity/EntityRobit.java b/src/main/java/mekanism/common/entity/EntityRobit.java index 3fc48aa0c..db8abee5a 100644 --- a/src/main/java/mekanism/common/entity/EntityRobit.java +++ b/src/main/java/mekanism/common/entity/EntityRobit.java @@ -19,7 +19,6 @@ import mekanism.common.item.ItemConfigurator; import mekanism.common.item.ItemRobit; import mekanism.common.tile.TileEntityChargepad; import mekanism.common.util.MekanismUtils; - import micdoodle8.mods.galacticraft.api.entity.IEntityBreathable; import net.minecraft.entity.EntityCreature; import net.minecraft.entity.SharedMonsterAttributes; @@ -43,7 +42,6 @@ import net.minecraftforge.common.ForgeHooks; import net.minecraftforge.common.util.Constants; import cpw.mods.fml.common.Optional.Interface; import cpw.mods.fml.common.Optional.Method; - import cofh.api.energy.IEnergyContainerItem; @Interface(iface = "micdoodle8.mods.galacticraft.api.entity.IEntityBreathable", modid = "Galacticrat API") @@ -405,7 +403,7 @@ public class EntityRobit extends EntityCreature implements IInventory, ISustaine ItemRobit item = (ItemRobit)entityItem.getEntityItem().getItem(); item.setEnergy(entityItem.getEntityItem(), getEnergy()); item.setInventory(getInventory(), entityItem.getEntityItem()); - item.setName(entityItem.getEntityItem(), getTranslatedEntityName()); + item.setName(entityItem.getEntityItem(), getCommandSenderName()); float k = 0.05F; entityItem.motionX = 0; @@ -723,7 +721,8 @@ public class EntityRobit extends EntityCreature implements IInventory, ISustaine return tagList; } - public String getTranslatedEntityName() + @Override + public String getCommandSenderName() { return getName().isEmpty() ? "Robit" : getName(); } diff --git a/src/main/java/mekanism/common/item/ItemAtomicDisassembler.java b/src/main/java/mekanism/common/item/ItemAtomicDisassembler.java index d4eccb054..56ae1be0a 100644 --- a/src/main/java/mekanism/common/item/ItemAtomicDisassembler.java +++ b/src/main/java/mekanism/common/item/ItemAtomicDisassembler.java @@ -97,6 +97,11 @@ public class ItemAtomicDisassembler extends ItemEnergized { Block block = player.worldObj.getBlock(x, y, z); int meta = player.worldObj.getBlockMetadata(x, y, z); + + if(block == Blocks.lit_redstone_ore) + { + block = Blocks.redstone_ore; + } ItemStack stack = new ItemStack(block, 1, meta); Coord4D orig = new Coord4D(x, y, z, player.worldObj.provider.dimensionId); diff --git a/src/main/java/mekanism/common/network/PacketLogisticalSorterGui.java b/src/main/java/mekanism/common/network/PacketLogisticalSorterGui.java index 3a6b65053..5250048ee 100644 --- a/src/main/java/mekanism/common/network/PacketLogisticalSorterGui.java +++ b/src/main/java/mekanism/common/network/PacketLogisticalSorterGui.java @@ -185,7 +185,7 @@ public class PacketLogisticalSorterGui implements IMessageHandler