Minecraft wiki entry for Creating_behavior_packs, associated text: Notice that the ending brace for target_nearby_sensor does not have a comma after it because it is the last value in the value list for "components".