#why aren't my maps working?

1 messages · Page 1 of 1 (latest)

steel portal
indigo galeBOT
#

<@&1201956957406109788>

Someone will come and help soon!

💬 While you wait, take this time to provide more context and details.

✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve

indigo galeBOT
# indigo gale <@&1201956957406109788>

<@&1166082198152159386> <@&1202694677766348840>

🙇 Helpers Arise!

Please note that you still might not immediately get a response since all helpers are human beings and volunteers (and also might be sleeping right now)

foggy juniper
#

please provide us with your code in text form, we do this in our free time and the last thing we want to do is reverse engineer your code inorder to help you...

steel portal
#

{
"type": "minecraft:chest",
"pools": [
{
"rolls": {
"type": "minecraft:uniform",
"min": 1.0,
"max": 1.0
},
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"function": "minecraft:exploration_map",
"decoration": "village_snowy",
"destination": "doska:pillager_fort",
"zoom": 4,
"skip_existing_chunks": false
},
{
"function": "minecraft:set_components",
"components": {
"minecraft:map_color": 13293823,
"minecraft:item_name": {"translate": "item.doska.filled_map.pillager_fort", "fallback": "Pillager Fortress Map", "italic": false}
}
}
],
"name": "minecraft:map"
}
]
}
],
"functions": [
{
"function": "minecraft:reference",
"name": "doska:loot_modifier"
}
]
}

#

the code i pasted is located in data/doska/loot_table/maps

foggy juniper
#

also what vaersion is this for?

#

IC the problem, instead of using an empty_map you have to use a filled_map

steel portal
#

where is that empty and filled map?

foggy juniper
#

the item

#

"name":"empty_map"

steel portal
#

{
"type": "minecraft:chest",
"pools": [
{
"rolls": {
"type": "minecraft:uniform",
"min": 1.0,
"max": 1.0
},
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"function": "minecraft:exploration_map",
"decoration": "village_snowy",
"destination": "doska:pillager_fort",
"zoom": 4,
"skip_existing_chunks": false
},
{
"function": "minecraft:set_components",
"components": {
"minecraft:map_color": 13293823,
"minecraft:item_name": {"translate": "item.doska.filled_map.pillager_fort", "fallback": "Pillager Fortress Map", "italic": false}
}
}
],
"name": "minecraft:map"
}
]
}
],
"functions": [
{
"function": "minecraft:reference",
"name": "doska:loot_modifier"
}
]
} there is no such a thing likeempty map

foggy juniper
#

ooh uuum it's called minecraft:map. Just change the item to minecraft:filled_map

steel portal
#

can't use somewhy

foggy juniper
#

can you locate the structure

steel portal
#

yes

#

i mean

#

structures are working

#

i tried it

#

map is not

foggy juniper
#

within 50 chunks?

steel portal
#

oh

#

it has seperatation 48

#

and spacing 64

foggy juniper
#

also I lied apparently you do not need a filled_map anymore you have to use map

foggy juniper
steel portal
#

not working even near it

foggy juniper
#

you have to run the loottable everytime you want to check again

steel portal
#

still not

foggy juniper
#

are you using any mods?

steel portal
#

nope

foggy juniper
#

try looking into the logs...

steep hollowBOT
#
Logs

When making or debugging Minecraft datapacks, it is useful to have the Minecraft logs open in order to view errors quickly.

To open the logs:

  1. Enable the logs in the Minecraft Launcher (see image)
  2. Start Minecraft

The logs should open in a separate window. Datapack errors are shown in the when you /reload and are almost always in red text or yellow text.

steel portal
#

But there are not errors

#

it is working fine

foggy juniper
#

none? even when running the loottable?

steel portal
#

and i copied maps from dnt and changed namespace and structure names

#

i also run trough dnt few times

#

no functions or smt other

#

for maps

#

so it should be working fine

#

i only don't know why aren't maps showing themselves when i right click

steel portal
#

@steep hollow so can somebody help me?

rigid hazel
#

Simplify the problem. Instead of doing the whole loot table with everything you want the item to have, try just doing the exploration map function

#

Then if it still doesn't work, we can narrow down further

#

Or if it does work, we can figure out what thing breaks it when added back in

steel portal
#

How to make exploration map mcfunction? can you help with code because i have no experience with mcfunction, only json

#

@rigid hazel can you help, please?

steel portal
#

@steep hollow anyone?

rugged gazelle
#

-# pinging datapack helper doesn't do anything, that is the bot

steel portal
#

ok

#

so can anybody help me please?

olive roost
steel portal
#

?

#

i have no experience with mcfunction

rugged gazelle
#

Yeah and it has nothing to do with it, so you'll be fine

steel portal
#

yes but my is not working too. I need help to fix it

#

i found this on reddit: {
"function" : "minecraft:exploration_map",
"destination" : "minecraft:mineshaft",
"skip_existing_chunks" : false
} they say to put it into item_modifier

#

so should i do it?

steel portal
#

@rugged gazelle @olive roost help?

#

can you give me code or smt and instruct where to put it into datapack?

#

anyone?

#

@rigid hazel help?

olive roost
#

Don’t ping random people, use time to try and make helping you easier

#

People will come when they find the time

steel portal
#

yes but from few days ago i was trying to make this thing but those random people would say something i already knew or something that didn't help at all. and when i ask for more info or code or anything, new person replies

rigid hazel
#

Use Misode if you need to

steel portal
#

?

#

i dont understand

#

what is not necessary?

rigid hazel
#

... The set components function and the reference function...?????

indigo galeBOT