mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-11-17 11:05:02 +00:00
Moving to Forestry 3.6; updating deprecated methods to new versions.
This commit is contained in:
1 parent
a1a4506a14
commit
03068d7ddb
16 files changed
+631
-479
No files matched your search
@@ -3,7 +3,6 @@ package magicbees.storage;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import forestry.api.storage.IBackpackDefinition;
|
||||
|
||||
@@ -39,11 +38,6 @@ public class BackpackDefinition implements IBackpackDefinition
|
||||
return name;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getPrimaryColour()
|
||||
{
|
||||
@@ -65,12 +59,6 @@ public class BackpackDefinition implements IBackpackDefinition
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isValidItem(EntityPlayer player, ItemStack itemStack)
|
||||
{
|
||||
return isValidItem(itemStack);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isValidItem(ItemStack itemStack) {
|
||||
boolean flag = false;
|
||||
|
||||
Reference in new issue
Block a user