Jump to content

[1.19.2] Modifying Vanilla Behavior


Sunku

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

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