Jump to content

1.10.2 how is crafting recipes handled for shears


TheRPGAdventurer

Recommended Posts

4 minutes ago, TheRPGAdventurer said:

I need to figure out how shears are crafted but I can't see the class where it is handled.

It is added on line 29 of RecipesTools.class, which is added on line 42 of the CraftingManager.class.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

Just now, TheRPGAdventurer said:

location of the recipetools.class like net.minecraft.etc?

net.minecraft.item.crafting

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

To open a class by name, use Navigate > Class (Ctrl-N) in IDEA or Navigate > Go To > Type... in Eclipse. This will avoid manually searching or asking for the fully qualified name.

Edited by Choonster

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Link to comment
Share on other sites

Just now, Choonster said:

To open a class by name, use Navigate > Class (Ctrl-N) in IDEA or Navigate > Go To > Type... in Eclipse. This will avoid manually searching or asking for the fully qualified name.

I've already done it thanks btw, I have been using the method before you taught me, I just wondered why it didn't work on registertools.class, laso do you know how to store things in the world?

Link to comment
Share on other sites

Just now, Choonster said:

To open a class by name, use Navigate > Class (Ctrl-N) in IDEA or Navigate > Go To > Type... in Eclipse. This will avoid manually searching or asking for the fully qualified name.

dude also where can I find the durability of diamond, I am trying to compare it to my own armor and tools but the problem is, I see the diamond is more durable.

Link to comment
Share on other sites

12 minutes ago, TheRPGAdventurer said:

dude also where can I find the durability of diamond, I am trying to compare it to my own armor and tools but the problem is, I see the diamond is more durable.

ToolMaterial for Tools and ArmorMaterial for armor

Edited by Animefan8888
Typo

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

16 minutes ago, TheRPGAdventurer said:

I've already done it thanks btw, I have been using the method before you taught me, I just wondered why it didn't work on registertools.class,

 

Because there's no class with that name.

 

16 minutes ago, TheRPGAdventurer said:

laso do you know how to store things in the world?

 

Use World Capabilities or World Saved Data. If you want more help with this, create a new thread.

 

11 minutes ago, TheRPGAdventurer said:

dude also where can I find the durability of diamond, I am trying to compare it to my own armor and tools but the problem is, I see the diamond is more durable.

 

The Item.ToolMaterial and ItemArmor.ArmorMaterial enums control the stats of tools and armour, respectively.

Edited by Choonster

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

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.