How to Create Custom Structures in Minecraft 1.20 - EP 1
Vložit
- čas přidán 13. 06. 2024
- In this video I show you how to create custom structures in Minecraft 1.20 with data packs and how to get them to naturally spawn within your Minecraft world!
📑 Timestamps:
00:00 - Intro
00:10 - Goals of tutorial & series
00:37 - Preparing and Saving Structure
02:46 - Finding Saved Structure File
03:11 - VS Code, Setting Up Folders, JSONs
012:15 - Testing in Minecraft
13:21 - Creating a Test World
14:17 - Copying Datapack into Test World
15:03 - Locating Custom Structure in Test World
15:38 - Natural Spawn of Custom Structure
📢 Hit Me Up On:
➜ Discord: / discord
➜ Twitch.TV: goo.gl/pg9axF
➜ Instagram: goo.gl/Zq11XQ
➜ Twitter: goo.gl/MSrEt8
➜ TikTok: / superchache39
#MinecraftDatapack #MinecraftModding #CodeAlongTutorial #minecraftcrafting - Hry
Download for this data pack is now available in my Discord inside of datapack-downloads chat, link to the Discord: discord.gg/SrkanmuvtG
I been follow all the tutorial, but is't spawning on my wolrds, it just apear on de command /place structure , but it can't faund the structure
How do I do it on bedrock?
@@mitsaori ah, so it's the same as me.
Can't wait to combine my building and coding skills together to make an epic Cherry Blossom themed village that is going to naturally spawn in Minecraft!!! If your interested in seeing how this is done, drop a like on this video and I will be rolling out more tutorials that encompass the use of jigsaw blocks to randomly generate these Cherry Blossom villages with multiple structures!
here is the code :
{
"name":"",
"fallback":"minecraft_empty",
"elements":[{
"weight":1,
"elements":{
"location":"",
"processors":"minecraft_empty",
"projection":"rigid",
"element_type":"minecraft:single_pool_element"
}
}]
}
based af
thank you
code for the next part is:
{
"placement": {
"type": "minecraft:random_spread",
"salt": 19011220,
"separation": 8,
"spacing": 34,
"spread_type": "triangular"
},
"structures": [{
"structure": "",
"weight": 1
}]
}
the preset he used in the next part:
{
"biomes": "minecraft:cherry_grove",
"adapt_noise": false,
"spawn_overrides": {},
"type": "minecraft:jigsaw",
"start_pool": "",
"size": 7,
"step": "surface_structures",
"start_height":{
"absolute": 0
},
"project_start_to_heightmap": "WORLD_SURFACE_WG",
"max_distance_from_center": 116,
"terrain_adaptation": "beard_thin",
"use_expansion_hack": false
}
16 seconds in and I'm already hitting Like, I've never understood datapacks and I love the idea
can you please put the text that you have us copy and paste in the description????? it is really annoying trying to strain my eyes to see if I put the comma in the right spot.
Not in the budget
Loving these tutorials from a OG minecraft YT. Keep it up 👍
Thanks! I plan on it!
This is cool I never knew you could do this
Yeah, datapacks are super awesome! Just wait until you see what I have in store as we build this village!
@superchache39 the structure is not spawning in the game but it is showing it did spawn in the command output please help
good video. only thing that anoyed me was that you keep copy-pasting stuff. where from my guy???
Hey i've been wondering why my structure isn't showing up in the /locate structure or /place structure command
is it possible to have multiple spawn attempts per chunk?
hi so i joined your discord server but i wasn't sure where to ask for help so i've decided to try here, so whenever i try this it doesn't seem to work and continuously ask for a worldgen/configured_structure_feature file but when i do that it crashes vs code and i was wondering how i could get this to work
Thanks for joining the discord! I added a section in discord now for datapacks. I’ll be honest, I’m not really sure without seeing the errors, etc. Best guess I can give if you haven’t tried already is make sure your json is parsed correctly. Configured structure file I believe is the file that it’s trying to look for inside of the world gen folder and it can’t locate it. If you want paste some screenshots in the datapack chat in my discord and I can help you!
Hi, I create a data pack and add 4 structure but the data pack doesn't work, although the code is done the same only the paths are of course different in them if that when the 3 structure, all work
Hey i followed the tutorial and i'm at the part to select the file but my saved build is in generated not in datapacks is that also good or not?
not sure why but when i added the pack.mcmeta file to vscode the icon next to the file wasnt yellow like normal it is a white stack of lines icon? in this video the icon next to the pack.mcmeta file is yellow im so confused. could this cause my data pack to not show up in Minecraft? because i haven't been able to get them to sync up yet and i have a feeling Minecraft cannot read my files without first reading the weird pack.mcmeta
I'm trying to follow the tutorial but I can't find "generated" inside my world folder. I need help!
nevermind I found it (I'm sure there wasn't it before)
Can you use this to like, make random generating rocks?
Yeah you totally can!
Anyone know why when i go to the world file and go to datapacks in VS code nothin is there>
I have an issue with pack.mcmeta where it's registering it as a text file instead of a code file. Do you know of any trouble-shooting things I can do to make it register as a code file?
Im not entirely sure, have you downloaded the extensions?
same problem for me lol
@@superchache39 that fixed it, thx
why is my structure block have different settings? i dont see the size option
I did everything exactly how you said exactly in the video and even watched other videos, but for some weird reason my datapack won't show up even though it's supposed to. How do I fix this?
did u /reload?
I been follow all the tutorial, but is't spawning on my wolrds, it just apear on de command /place structure , but it can't faund the structure
Never mind , i fixed
@@mitsaori how did you fix it, help :(
@@mitsaori how you fixed It?
Doesn't work anymore with the new update just so you know.
i tried the How to Create Custom Structures in Minecraft 1.20 - EP 1 code and it says it was made for an older version of minecraft
make sure the 'pack_format in pack.mcmeta is up to date with your specific version! for example, 15 was the pack format for 1.20.0 and 1.20.1, but if you're using 1.20.4 for example it would be 26! it changes quite often now
wait a second i swear ive seen this torii gate design somewhere
You probably have, this design isn’t my own, don’t remember where I got it from. Had an example build sitting on my build world. Just switched out the blocks for the cherry blossom theme!
what are you pasting at 6:56 ?
Just the json file to save time for the tutorial. I had it pre typed out on notepad++. If your looking for the exact files to download I have them available on my discord, link is in the description
@@superchache39 thank you!
Phenomenal tutorial but sadly this is outdated even for 1.20.4
what is "salt". I am really new in minecraft modding and just learning the basics.
I tried your code. But I am getting validation errors.
I would recommend joining the discord, I have this data pack available for download. That way you can troubleshoot your code easier. Our community can also assist you as well
i cannot find my village
maybe you could include a download link to the tutorial example so I can see what i did wrong?
I have all datapacks expect my two most recent videos available for download in my discord
how would i do it if i dont want it to be part of a village or randomly generated jigsaw structure i might just be being dumb and missing something obvious
Like you just want to spawn it in with a command? Or are you trying to get it to spawn every time?
@@superchache39 to spawn natturally
@@superchache39ye I want to know if you can spawn it using a command
How can i make the town center generate 2 block lower
Gonna be honest, I haven't messed with trying to spawn structures underground/lower than surface level, so I cant give you a solid answer yet. I am interested so I will try and figure this out lol! Not sure if you have tried this yet, but an idea I just thought of is maybe moving the structure block up 2 blocks and re-saving the structure and then try to spawn it. I'll mess around with it, if I find the solution I will let you know!
@@superchache39 thank you im gonna try this myself
Edit: i have tried it it worked, but its not exactly what i had in mind but its good enough.
Does this work in bedrock Windows?
Personally I have not tested this on bedrock, but give it a shot and let me know!
No, Bedrock doesn't support data packs.
I want a city
sry i did not get it
bruh
what