Jump to content

Recommended Posts

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

Posted (edited)

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.

Posted
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?

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

Posted (edited)
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.

Posted (edited)
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.

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.