public EntryStatsPotion(
     String path, JsonObject root, int index, JsonObject node, IPropertyReader loader) {
   super(node, path);
   this.potionId = FileHelper.readPotion(node, path, "id").id;
   this.amplifiers = FileHelper.readCounts(node, path, "amplifier", 0.0, 0.0);
   this.durations =
       FileHelper.readCounts(node, path, "duration", Integer.MAX_VALUE, Integer.MAX_VALUE);
   this.ambient = FileHelper.readBoolean(node, path, "ambient", false);
   this.override = FileHelper.readBoolean(node, path, "override", false);
 }