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

Posted

Hi I'm trying to make a kind of volcanic lava that will flow differently. To begin with I can't find the water block or lava block class to use extend from or use as a template or refernse point if that is how you implement fluids in forge and if someone could contribute to some informations about how to make fluids, that would be apprecited.

 

Anyway as the topic I would like to use the same texture that is used in vanilla minecraft for the lava block. However I've done some testing and thought that it would be fine using new ResourceLocation("minecraft", "lava_still") and just use the minecraft assets, but that don't seem to work and forge complains.

 

I don't want to copy the resources and put them in my own resource folder since I want it to take the same appearance as lava even if a resourcepack would be used.

 

Are there any simple way to do this or is it possible to copy the resources I want from the net/minecraft at initialization? In that case I'm unsure about the root folder.

  • Author

Sorry for the late response. I found the problem. I was doing new ResourceLocation("minecraft", [resource path]); but i found that the first parameter is actually mod id. And I suppose minecraft ain't defined as a forge mod right? :P so I used new ResourceLocation("minecraft/[the rest of the path]");

Sorry for the late response. I found the problem. I was doing new ResourceLocation("minecraft", [resource path]); but i found that the first parameter is actually mod id. And I suppose minecraft ain't defined as a forge mod right? :P so I used new ResourceLocation("minecraft/[the rest of the path]");

 

HAHAHAaaaaa xD laugh of the night right there. good stuff *high five*.

I'll give some applause.

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.