aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/multitileentity/interfaces/IItemUpdatable.java
blob: 77def5e8fd7f4115ecd13acd8501b7a82c8fa899 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package gregtech.api.multitileentity.interfaces;

import net.minecraft.item.ItemStack;
import net.minecraft.world.World;

public interface IItemUpdatable {
    /**
     * Updates the Data of the ItemStack. Not called every tick but instead called whenever something important happens to the Stack.
     */
    void updateItemStack(ItemStack aStack);
    /**
     * Updates the Data of the ItemStack. Not called every tick but instead called whenever something important happens to the Stack.
     */
    void updateItemStack(ItemStack aStack, World aWorld, int aX, int aY, int aZ);
}