AccessMode curMode = b.id == ID_PRIVATE ? AccessMode.PRIVATE : b.id == ID_PROTECTED ? AccessMode.PROTECTED : AccessMode.PUBLIC;
te.setAccessMode(curMode);
BlockCoord bc = te.getLocation();
PacketAccessMode p = new PacketAccessMode(bc.x, bc.y, bc.z, curMode);
PacketHandler.INSTANCE.sendToServer(p);
}