Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation Request: List the supported points of interest. #2037

Open
Charlweed opened this issue May 7, 2022 · 1 comment
Open

Documentation Request: List the supported points of interest. #2037

Charlweed opened this issue May 7, 2022 · 1 comment

Comments

@Charlweed
Copy link

Charlweed commented May 7, 2022

Please detail which "minecraft things" are supported as points of interest.
The current docs read: "The Overviewer can display signs, markers, and other points of interest on your map."
I have successfully configured signs, spawners, and chests, but I'd like to recognize village bells and end_portal_frame blocks. This does not seem to be possible, and I don't what "markers" mean in this context.
It would be nice if there was a list of what can be configured as a poi.

@IncredibleHolg
Copy link
Contributor

@Charlweed take the task to update the documentation ( this is GitHub )

You can get a list of the POI if you use a marker function like this ()

global json
import json
def Filter(poi):
    print("poi={}".format(poi['id']))

renders["render1"] = {
        'world': 'World',
        'title': 'World',
        'markers': [dict(name="Things", filterFunction=Filter, icon="markers/marker_town.png" )]
}

If you check the bell data like this

        if poi['id'] == 'minecraft:bell':
                print("Bell: {}".format(json.dumps(poi)))

You get the coordonates
Bell: {"keepPacked": 0, "x": -440, "y": 65, "z": -511, "id": "minecraft:bell"}

This is the POI list, I get on my world:

minecraft:armor_stand
minecraft:banner
minecraft:barrel
minecraft:bat
minecraft:beacon
minecraft:bed
minecraft:beehive
minecraft:bell
minecraft:blast_furnace
minecraft:brewing_stand
minecraft:campfire
minecraft:chest
minecraft:chest_minecart
minecraft:chicken
minecraft:command_block
minecraft:comparator
minecraft:conduit
minecraft:cow
minecraft:creeper
minecraft:daylight_detector
minecraft:dispenser
minecraft:donkey
minecraft:dropper
minecraft:drowned
minecraft:enchanting_table
minecraft:ender_chest
minecraft:enderman
minecraft:end_portal
minecraft:furnace
minecraft:hopper
minecraft:horse
minecraft:iron_golem
minecraft:item
minecraft:item_frame
minecraft:jukebox
minecraft:lectern
minecraft:minecart
minecraft:mob_spawner
minecraft:mooshroom
minecraft:painting
minecraft:pig
minecraft:rabbit
minecraft:sheep
minecraft:shulker_box
minecraft:sign
minecraft:skeleton
minecraft:skull
minecraft:smoker
minecraft:snow_golem
minecraft:spider
minecraft:squid
minecraft:structure_block
minecraft:trapped_chest
minecraft:villager
minecraft:vindicator
minecraft:witch
minecraft:wolf
minecraft:zombie
minecraft:zombie_villager
Player
PlayerSpawn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants