@Override public boolean isAnalogousTo(ConfigFunction<BiomeConfig> other) { if (getClass() == other.getClass()) { try { CustomStructureGen otherO = (CustomStructureGen) other; return otherO.objectNames.size() == this.objectNames.size() && otherO.objectNames.containsAll(this.objectNames); } catch (Exception ex) { TerrainControl.log(LogMarker.WARN, ex.getMessage()); } } return false; }
@Override public boolean isAnalogousTo(ConfigFunction<BiomeConfig> other) { return getClass() == other.getClass(); }