15 lines
380 B
Java
15 lines
380 B
Java
package net.minecraft.world.inventory;
|
|
|
|
import net.minecraft.world.Container;
|
|
import net.minecraft.world.item.ItemStack;
|
|
|
|
public class ShulkerBoxSlot extends Slot {
|
|
public ShulkerBoxSlot(Container container, int i, int j, int k) {
|
|
super(container, i, j, k);
|
|
}
|
|
|
|
@Override
|
|
public boolean mayPlace(ItemStack stack) {
|
|
return stack.getItem().canFitInsideContainerItems();
|
|
}
|
|
}
|