Compile issue on 1.11.2
Seegras opened this issue ยท 1 comments
Hi
I tried to compile this for 1.11.2. For that I changed build.properties:
mod_version=1.0.1
minecraft_version=1.11.2
forge_version=13.20.0.2228
mappings=snapshot_20170512
mantle_version=1.2.0.+
tic_version=2.7.+
But it bombs:
:compileJava
TinkersToolLeveling/build/sources/main/java/slimeknights/toolleveling/CommonProxy.java:33: error: cannot find symbol
player.addChatMessage(textComponent);
^
symbol: method addChatMessage(ITextComponent)
location: variable player of type EntityPlayer
TinkersToolLeveling/build/sources/main/java/slimeknights/toolleveling/ModToolLeveling.java:90: error: cannot find symbol
if(player != null && !player.worldObj.isRemote && player.getActiveItemStack() == tool) {
^
symbol: variable worldObj
location: variable player of type EntityPlayer
/usr/src/git/TinkersToolLeveling/build/sources/main/java/slimeknights/toolleveling/ModToolLeveling.java:166: error: cannot find symbol
if(!player.worldObj.isRemote) {
^
symbol: variable worldObj
location: variable player of type EntityPlayer
TinkersToolLeveling/build/sources/main/java/slimeknights/toolleveling/debug/CommandLevelTool.java:15: error: CommandLevelTool is not abstract and does not override abstract method getUsage(ICommandSender) in ICommand
public class CommandLevelTool extends CommandBase {
^
TinkersToolLeveling/build/sources/main/java/slimeknights/toolleveling/debug/CommandLevelTool.java:22: error: method does not override or implement a method from a supertype
@Override
^
TinkersToolLeveling/build/sources/main/java/slimeknights/toolleveling/debug/CommandLevelTool.java:27: error: method does not override or implement a method from a supertype
@Override
^
TinkersToolLeveling/build/sources/main/java/slimeknights/toolleveling/capability/DamageXpHandler.java:143: error: cannot find symbol
ItemStack stack = ItemStack.loadItemStackFromNBT(tag.getCompoundTag(TAG_ITEM));
^
symbol: method loadItemStackFromNBT(NBTTagCompound)
location: class ItemStack
Note: TinkersToolLeveling/build/sources/main/java/slimeknights/toolleveling/EntityXpHandler.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: TinkersToolLeveling/build/sources/main/java/slimeknights/toolleveling/capability/DamageXpHandler.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
7 errors
:compileJava FAILED