ActuallyAdditions/src/main/java/de/ellpeck/actuallyadditions/mod/inventory/slot/SlotOutput.java
2021-08-22 16:09:06 +01:00

27 lines
772 B
Java

/*
* This file ("SlotOutput.java") is part of the Actually Additions mod for Minecraft.
* It is created and owned by Ellpeck and distributed
* under the Actually Additions License to be found at
* http://ellpeck.de/actaddlicense
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
*
* © 2015-2017 Ellpeck
*/
package de.ellpeck.actuallyadditions.mod.inventory.slot;
import de.ellpeck.actuallyadditions.mod.util.ItemStackHandlerAA;
import net.minecraft.item.ItemStack;
public class SlotOutput extends SlotItemHandlerUnconditioned {
public SlotOutput(ItemStackHandlerAA inventory, int id, int x, int y) {
super(inventory, id, x, y);
}
@Override
public boolean mayPlace(ItemStack stack) {
return false;
}
}