Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

  • 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

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.

  • 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 by Ethansup2082

  • 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.....

  • 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

  • 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?

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.

  • 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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.