July 10, 20178 yr Author 37 minutes ago, Animefan8888 said: Where is your blockclear_glass? Is it in the same class? Or in a different one, if so you need to reference the class that it is in. And did you import ModelResourceLocation? Forgot to quote you so Idk if you got the notification
July 10, 20178 yr Don't use Reference use ModBlocks. Your reference contains a enum, not a Block which is what is causing this error. I suggest you learn Java before you try to make a mod, seeing as how Java can be quite complicated if you have never programmed before. VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
July 10, 20178 yr Author 9 minutes ago, Animefan8888 said: Don't use Reference use ModBlocks. Your reference contains a enum, not a Block which is what is causing this error. I suggest you learn Java before you try to make a mod, seeing as how Java can be quite complicated if you have never programmed before. Gotta learn sometime, And I only have trouble, trouble shooting Edited July 10, 20178 yr by Ethansup2082
July 10, 20178 yr Author 12 minutes ago, Animefan8888 said: Don't use Reference use ModBlocks. Your reference contains a enum, not a Block which is what is causing this error. I suggest you learn Java before you try to make a mod, seeing as how Java can be quite complicated if you have never programmed before. Okay I used ModBlocks, and I have no errors everything is good, other than the original issue is still an issue, I still have no texture for the item block.....
July 10, 20178 yr Post your json files. VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
July 10, 20178 yr Do you not have a model for your ItemBlock? VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
July 10, 20178 yr Author https://pastebin.com/aqjtLNaV Here's the log make sure you go to the correct date 24 minutes ago, Jay Avery said: Also post the latest log, it should contain texture/model errors.
July 10, 20178 yr Author 2 minutes ago, Animefan8888 said: Do you not have a model for your ItemBlock? { "parent": "block/cube_all", "textures": { "layer 0": "ves:blocks/clear_glass" } } This is my item model
July 10, 20178 yr Instead of "layer0" use "all" VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
July 10, 20178 yr Author 3 minutes ago, Animefan8888 said: Instead of "layer0" use "all" So do I do the preint thing for all the items now, including the 2 I've already done or?
July 10, 20178 yr Just now, Ethansup2082 said: So do I do the preint thing for all the items now, including the 2 I've already done or? Yes use that method for all model registering. And you could also for your ItemBlock JSONs just set the parent to your Blocks JSON. VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
July 10, 20178 yr Author Just now, Animefan8888 said: Yes use that method for all model registering. And you could also for your ItemBlock JSONs just set the parent to your Blocks JSON. alright thanks
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.