
I redone where the items/blocsks are stored and how the configs are handled to clean up it and give space. You can change the config line to AWWayofTime if you want to keep the compatibility with old configs. Now you reference the blocks from the ModBlocks and Items from the ModItems.
15 lines
403 B
Java
15 lines
403 B
Java
package WayofTime.alchemicalWizardry.common;
|
|
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
import net.minecraft.item.ItemStack;
|
|
import net.minecraft.world.World;
|
|
|
|
public interface ArmourUpgrade {
|
|
//Called when the armour ticks
|
|
public void onArmourUpdate(World world, EntityPlayer player, ItemStack thisItemStack);
|
|
|
|
public boolean isUpgrade();
|
|
|
|
public int getEnergyForTenSeconds();
|
|
}
|