entity.worldObj.playSoundEffect(entity.posX, entity.posY, entity.posZ, sound, 0.8F, 0.4F);
boolean isOpen = (playersUsing > 0);
if (isOpen != (prevPlayersUsing > 0)) {
BetterStorage.networkChannel.sendToAndAllTracking(
new PacketBackpackIsOpen(entity.getEntityId(), isOpen), entity);
prevPlayersUsing = playersUsing;
}
if (!ItemStack.areItemStacksEqual(backpack, prevBackpack)) {
BetterStorage.networkChannel.sendToAndAllTracking(
new PacketBackpackStack(entity.getEntityId(), backpack), entity);