1.7.10 Port

Initial 1.7.10 Port. Everything seems to be working, but can't be tested
without access to Thaumcraft.
Got rid of Forestrys Item/BlockInterfaces and created my own.
Started to use @Optional.Interface
Implemented @Pahimar s LogHelper to deal with log4j
Changed localization system to use the vanilla one
This commit is contained in:
Arkandos committed 2014-08-01 04:05:49 +02:00
1 parent 5b053dd990
commit d3c6ad5433
28 files changed
+1581 -771

No files matched your search

@@ -1,5 +1,6 @@
package magicbees.tileentity;
import com.mojang.authlib.GameProfile;
import magicbees.main.CommonProxy;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.IInventory;
@@ -12,11 +13,12 @@ import forestry.api.apiculture.IBee;
import forestry.api.genetics.IEffectData;
import net.minecraftforge.common.util.Constants;
public class TileEntityEffectJar extends TileEntity implements IInventory
{
public static final String tileEntityName = CommonProxy.DOMAIN + ".effectJar";
private String ownerName;
private GameProfile ownerName;
private EffectJarHousing housingLogic;
private static final int SLOT_COUNT = 2;
@@ -38,7 +40,7 @@ public class TileEntityEffectJar extends TileEntity implements IInventory
public void setOwner(EntityPlayer player)
{
this.ownerName = player.getCommandSenderName();
this.ownerName = player.getGameProfile();
}
@Override
@@ -47,7 +49,7 @@ public class TileEntityEffectJar extends TileEntity implements IInventory
return pass == 1;
}
public String getOwner()
public GameProfile getOwner()
{
return this.ownerName;
}