package net.minecraft.world.inventory;

import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.block.ShulkerBoxBlock;
import net.minecraft.world.item.ItemStack;
import net.minecraft.world.Container;

public class ShulkerBoxSlot extends Slot {
    public ShulkerBoxSlot(final Container aje, final int integer2, final int integer3, final int integer4) {
        super(aje, integer2, integer3, integer4);
    }
    
    @Override
    public boolean mayPlace(final ItemStack ben) {
        return !(Block.byItem(ben.getItem()) instanceof ShulkerBoxBlock);
    }
}
