package net.minecraft.world.item;

import net.minecraft.world.level.block.state.BlockState;
import net.minecraft.world.level.block.Block;

public class BedItem extends BlockItem {
    public BedItem(final Block bph, final Properties a) {
        super(bph, a);
    }
    
    @Override
    protected boolean placeBlock(final BlockPlaceContext bcq, final BlockState byj) {
        return bcq.getLevel().setBlock(bcq.getClickedPos(), byj, 26);
    }
}
