Java Introduction for Minecraft Modding (2023) - 30: JSON

preview_player
Показать описание
In todays Java Tutorial for Minecraft Modding, we are taking a short look at JSON files.

== SUPPORT ME ON PATREON ==

== ASSETS & DOWNLOAD LINKS ==

== 25% OFF FOR GAMING SERVERS ==

== TAKE A LOOK AT MY COURSES WITH COUPON CODES ==
▶️ NEW NeoForge Modding with Minecraft 1.21.X:
▶️ NEW Fabric Modding with Minecraft 1.21.X:
▶️ NEW Forge Modding with Minecraft 1.21.X:
▶️ Forge Modding with Minecraft 1.20.X:
▶️ Fabric Modding with Minecraft 1.20.X:
▶️ Learn Forge Modding with Minecraft 1.18:
▶️ Learn Fabric Modding with Minecraft 1.18:

== SUPPORT ME ON PATREON ==

== SOCIALS ==

== LICENSE ==
Source Code is distributed under the MIT License. Additional Licenses for other assets can be seen below or in the accompanying CREDITS.txt on download.

== AFFILIATE DISCLAIMER ==
* Some of the links and other products that appear in the video description are from companies which I will earn an affiliate commission or referral bonus from or are my own products. This means that if you click on one of the product links, I’ll receive a small commission or additional kickback without any additional cost for you. This helps support the channel and allows me to continue to make videos. Thank you for the support!

== HASHTAGS ==
#Minecraft #MinecraftModding #MinecraftTutorial #Kaupenjoe
Рекомендации по теме
Комментарии
Автор

Looking forward to the rest of the JSON video. Many mods I've worked with that uses JSON, it keeps warning about depreciated methods, so seeing the more "modern" way would be useful.

SakuraRyokoMusic
Автор

just saying, you forgot to mention how commas are used in json. that's a big issue for many beginners.
also, i was kinda hoping you might show how to use java code to read/write json data. or maybe you could look into that for the next modding tutorials? using json to store.. player data, perhaps? kinda like how the Origins mod does it.

lordender_kitty_official
Автор

Awesome tutorial! My question is: How do I code that the programm knows what the different things in the json file means? How do I create a "connection" between json files and a class.

dr.galaxys
Автор

how does minecraft load .json for example:
there is a json for texture for all sides:
{
"parent": "block/cube_all",
"textures": {
"all": "texture path"
}
}
and there is a json for sided textures:
{
"parent": "minecraft:block/orientable",
"textures": {
"top": "top texture path",
"front": "front texture path",
"side": "side texture path"
}
}

how does it not throw a null because "all" is not defined
and how does it load the correct textures that are defined and not try to load "all",
Hope you understand my question

Miki-
Автор

This video definitely lacks of serialization/deserialization examples

acrm-sjork