0
This repository has been archived on 2025-04-25. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Minecraft-Overviewer/overviewer_core
Jens e9bb7d340e Add regiondir property to CroppedRegionSet
- CroppedRegionSet is a Wrapper for RegionSet and should have all of
  it's Variables / Parameters
- genPOI sorts a list by (Cropped)RegionSet objects
- The comparing method (__lt__) was correct in CroppedRegionSet but not
  in RegionSet. To prevent this issue from happening again, the
  RegionSetWrapper now has the regiondir property, too
- Fixes Issue: #1706
- Example config: see below

def testFilter(poi):
    if poi['id'] == 'Town':
        return poi['name']
def townFilter(poi):
    if poi['id'] == 'Town':
        return poi['name']

renders["normalrender"] = {
    "world": "Test12985",
    "title": "Normal Render of Testworld",
    'markers': [dict(name="Towns", filterFunction=townFilter), dict(name="Test", filterFunction=testFilter)],
}

renders["secondrender"] = {
    "world": "Test12985",
    "title": "Second Render of Testworld",
    "crop": (180, -230, 220, -260),
    'markers': [dict(name="Towns", filterFunction=townFilter), dict(name="Test", filterFunction=testFilter)],
}
2020-02-06 20:14:08 +01:00
..
2019-07-24 09:49:25 +02:00
2019-12-23 23:50:20 +01:00
2019-03-07 15:43:01 +01:00
2019-07-24 09:35:52 +02:00
2016-11-29 09:13:42 -05:00
2019-06-23 12:47:05 -04:00
2019-12-26 17:28:51 +01:00
2019-03-17 17:57:07 +01:00
2019-07-09 13:44:43 +02:00
2019-03-17 17:57:07 +01:00
2019-07-12 17:48:32 +02:00
2019-12-27 14:42:55 +01:00
2019-04-20 10:36:53 +01:00