ShadowStrikesMC Posted October 21, 2022 Posted October 21, 2022 So I am following a tutorial by Modding by Kaupenjoe the Minecraft forge modding for 1.19 and am on the blockstates video, number 8, and when I place down a block in my world it is the not loaded texture, pink and black block , and also if you watch the video it shouldn't say anything in chat when I right click but it does. My GitHub page with all my code will be included so you can see it and screen shots from Minecraft too. GitHub page: https://github.com/ShadowBoyCat/forge-1.19-41.1.0-mdk Minecraft screenshot: Minecraft screen shot not work Quote
warjort Posted October 21, 2022 Posted October 21, 2022 If you are going to code a mod, you need to learn how to debug problems. One of the most important tools is the logs/debug.log - another is the debugger in your IDE Your debug.log has the following errors for your blockstates: Quote [21Oct2022 15:56:21.260] [Worker-Main-2/WARN] [net.minecraft.client.resources.model.ModelBakery/]: Exception loading blockstate definition: 'tutorialmod:blockstates/gaze_lantern.json' in resourcepack: 'Mod Resources' for variant: 'lit=false': Unknown blockstate property: 'lit' [21Oct2022 15:56:21.260] [Worker-Main-2/WARN] [net.minecraft.client.resources.model.ModelBakery/]: Exception loading blockstate definition: 'tutorialmod:blockstates/gaze_lantern.json' in resourcepack: 'Mod Resources' for variant: 'lit=true': Unknown blockstate property: 'lit' [21Oct2022 15:56:21.260] [Worker-Main-2/WARN] [net.minecraft.client.resources.model.ModelBakery/]: Exception loading blockstate definition: 'tutorialmod:blockstates/gaze_lantern.json' missing model for variant: 'tutorialmod:gaze_lantern#' Expand i.e. your blockstates file references the property "lit" which doesn't exist in your block's property. This is because what you are registering with that name isn't your GazeLantern block https://github.com/ShadowBoyCat/forge-1.19-41.1.0-mdk/blob/9c9c3a42e921bd6ffdfa0a234042013ee3a11d0b/src/main/java/net/anchit/tutorialmod/blocks/ModBlocks.java#L46 Unrelated: You also seem to have to broken the mineable/shovel block tag by adding a broken/empty file. Quote [21Oct2022 15:56:56.112] [Worker-Main-5/ERROR] [net.minecraft.tags.TagLoader/]: Couldn't read tag list minecraft:mineable/shovel from minecraft:tags/blocks/mineable/shovel.json in data pack main java.lang.RuntimeException: Not a JSON object: null Expand Quote Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post.
ShadowStrikesMC Posted October 21, 2022 Author Posted October 21, 2022 Thank you but where do I find the debuger logs? Quote
ShadowStrikesMC Posted October 21, 2022 Author Posted October 21, 2022 Wait so how do I fix this Quote
ShadowStrikesMC Posted October 21, 2022 Author Posted October 21, 2022 Okay I think I fixed it but running my mod right now Quote
soltair Posted October 22, 2022 Posted October 22, 2022 the forge mod installer in windows errors This page isn’t working adfoc.us redirected you too many times. Try clearing your cookies. ERR_TOO_MANY_REDIRECTS url: https://files.minecraftforge.net/net/minecraftforge/forge/ how do i get past this, i have removed ad blocking and still get the same message. thanks Quote
Ugdhar Posted October 23, 2022 Posted October 23, 2022 On 10/22/2022 at 10:21 PM, soltair said: the forge mod installer in windows errors This page isn’t working adfoc.us redirected you too many times. Try clearing your cookies. ERR_TOO_MANY_REDIRECTS url: https://files.minecraftforge.net/net/minecraftforge/forge/ how do i get past this, i have removed ad blocking and still get the same message. thanks Expand This thread you posted in is totally unrelated, but I've seen people suggest downloading forge using a browser other than google chrome, as it seems to be having issues with the adfocus site Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.