Jump to content

Recommended Posts

Posted

Hey everyone!

I have a quick question. How do I prevent the block I've made from just showing up randomly in the result portion of the crafting grid?

Here is a picture: aNHR0116kLWi6BUiS7Otfh66gU8wyh.png

 

The link to the repository is here: https://github.com/Cyb3rWarri0r8/CommuMod/tree/release/V.-1.5/src/main/java/io/cyb3rwarri0r8/commumod

 

All help is greatly appreciated as i've tried to figure this out and have drawn nothing but blanks as to what i've done wrong.

Posted

First off, your image is broken.

Then, this is probably caused by your recipe registrations. If you have a recipe like this:

"SSS", "SSS", "  " you should omit the 3rd String. Empty spaces should only be there if necessary.

Another example:

 

" S ", " S ", " S " should be "S", "S", "S" instead.

Yeah i'm trying to figure out why the image won't show up.

It is a solid block so all three spaces are filled for every line like so:

"XXX"
"XXX"
"XXX"
'x', ModItems.superbiumIngot

Posted

You call ModBlocks.init before you call ModItems.init, therefor here

ModItems.superbiumIngot

is still null. Also: your repository is a pain in the ass to clone because your .gitignore is missing like... everything. I had to download your entire test world to clone your repository. Things like that should not be there!

Trust me I've been trying to fix the .gitignore file without erasing the entire repo and starting from scratch.

When I change around how it calls the items and blocks it crashes because of the way the blocks are being registered.

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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