2025-11-24 22:52:51 +03:00

22 lines
502 B
Java

/*
* Decompiled with CFR 0.152.
*/
package net.minecraft.world.inventory;
import net.minecraft.world.Container;
import net.minecraft.world.inventory.Slot;
import net.minecraft.world.item.ItemStack;
public class ShulkerBoxSlot
extends Slot {
public ShulkerBoxSlot(Container container, int slot, int x, int y) {
super(container, slot, x, y);
}
@Override
public boolean mayPlace(ItemStack itemStack) {
return itemStack.getItem().canFitInsideContainerItems();
}
}