aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/multitileentity/interfaces/IItemUpdatable.java
blob: 89d281eb27423a1d13deabec30a17b4dfbebd2ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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);
}