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

I will start off by getting this right off the table

 

>> The reason I'm doing it is the same reason any modder would want to overwrite or "fix" vanilla stuff <<

 

I simply want to know how to register a block/item over vanilla block item to be used as such.

Ya know, like making grass be sand instead? 
 

I found a post some time ago and honestly I thought it would work but I'm running into issues.

 

Here is my source code:

https://pastebin.com/i71DsTiS

 

The result?

"Caused by: java.lang.RuntimeException: Invalid vanilla replacement. See log for details."

 

So hopefully what I've provided is enough, if not I can provide the whole log as well, but I don't think we'll learn much more?

Thanks in advance!

 

EDIT:

The syntax is a horrid mess because I got frustrated going back and forth with what I thought was correct (obviously wasn't) to just keep getting the same error or my code not ran

Double edit, I am sorry if I come off as rude. I do not mean to

Edited by Sunku

For loops inside of For loops inside of For loops inside a For loop.

  • Author

So from more research, my understanding it's just bad to do this with blocks for vanilla in general, but that isn't the same with items is it?

For loops inside of For loops inside of For loops inside a For loop.

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.