Jump to content

Recommended Posts

Posted
  On 3/20/2019 at 9:09 PM, diesieben07 said:

Your repository includes none of your code and instead a lot of unnecessary stuff.

Why did you change the default .gitignore file that comes with the MDK? It exists for a reason.

Expand  

Oh boy, i thought it went in! I'll update it.

i have no idea what to put here, so i'll just say you can edit your signature at https://www.minecraftforge.net/forum/settings/signature/

Posted (edited)

1. Stop using ItemBase.

2. You are initializing your items in init. Don't do this; initialize them in the item registry.

3. You are currently manually adding recipes via java, which is not recommended. Use json instead.

4.

  On 3/20/2019 at 9:04 PM, matthyplayz said:

how to link the Taco.json (taco is the item) to the Taco item

Expand  

Json recipes unter the recipes folder are registered automatically. You don't have to link them.

5.

static Object[] craftTaco = {
			" # ",
	        "#CO",
	        "CCC",
	        Character.valueOf('#'), Items.COOKED_BEEF,
	        Character.valueOf('C'), corncobname,
	        Character.valueOf('O'), Blocks.LEAVES
	};

... Why Character#valueOf? Just use character literals normally.

Edited by DavidM

Some tips:

  Reveal hidden contents

 

Posted
  On 3/20/2019 at 11:03 PM, DavidM said:

1. Stop using ItemBase.

2. You are initializing your items in init. Don't do this; initialize them in the item registry.

3. You are currently manually adding recipes via java, which is not recommended. Use json instead.

4.

Json recipes unter the recipes folder are registered automatically. You don't have to link them.

5.

static Object[] craftTaco = {
			" # ",
	        "#CO",
	        "CCC",
	        Character.valueOf('#'), Items.COOKED_BEEF,
	        Character.valueOf('C'), corncobname,
	        Character.valueOf('O'), Blocks.LEAVES
	};

... Why Character#valueOf? Just use character literals normally.

Expand  

But how do i use the JSON file in 

GameRegistry.addShapedRecipe

 

i have no idea what to put here, so i'll just say you can edit your signature at https://www.minecraftforge.net/forum/settings/signature/

Posted
  On 3/22/2019 at 7:03 PM, matthyplayz said:

But how do i use the JSON file in 

GameRegistry.addShapedRecipe

 

Expand  

You don't. Remove the reference to the GameRegistry. You don't need it. 

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

New error: 

  Reveal hidden contents

 

i have no idea what to put here, so i'll just say you can edit your signature at https://www.minecraftforge.net/forum/settings/signature/

Posted

Post your json files

About Me

  Reveal hidden contents

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted

Why is there a taco.json in src/main/java/com/matthyfamily/init/recipes/? Remove it.

 

No wonder you're getting those ZipExceptions, your entire resource folder structure is messed up.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Posted (edited)

1. You didn't put anything in the result of your json recipe.

2. You still hasn't fix ItemBase.

3. Recipes, models, textures, etc should be in the appropriate subdirectories of the folder resources/assets/<modid>. You have recipe json files under main/java, which should never be the case. Move it to the appropriate subdirectories of the folder resources/assets/<modid>.

Edited by DavidM

Some tips:

  Reveal hidden contents

 

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.

Announcements



×
×
  • Create New...

Important Information

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