2020-09-09 16:49:01 +02:00
|
|
|
package de.ellpeck.actuallyadditions.common.inventory.slot;
|
2016-08-02 16:32:13 +02:00
|
|
|
|
2020-09-09 16:49:01 +02:00
|
|
|
import de.ellpeck.actuallyadditions.common.util.ItemStackHandlerAA;
|
2016-08-02 16:32:13 +02:00
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
|
2019-05-02 09:10:29 +02:00
|
|
|
public class SlotDeletion extends SlotItemHandlerUnconditioned {
|
2016-08-02 16:32:13 +02:00
|
|
|
|
2019-05-02 09:10:29 +02:00
|
|
|
public SlotDeletion(ItemStackHandlerAA inv, int slot, int x, int y) {
|
2016-08-02 16:32:13 +02:00
|
|
|
super(inv, slot, x, y);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2019-05-02 09:10:29 +02:00
|
|
|
public void putStack(ItemStack stack) {
|
2016-08-02 16:32:13 +02:00
|
|
|
this.onSlotChanged();
|
|
|
|
}
|
|
|
|
}
|