-
Hey, I am trying to wire a mod to cc tweaked. I have gauged that I need to create a turtle upgrade to use new items. I managed to get it working with a few vanilla items, but I've had no luck integrating it with the mod in question (TimelessandClassics_Reforged). My intuition says that it has something to do with the item and the registry (perhaps I'm inappropriately handling deferred registration). The mod compiles fine as well, it's just that nothing happens when I try using the modded tools instead of the vanilla ones with turtles. The relevant pieces of code:
As I mentioned, if I replace I am a programmer and consider myself experienced with Java (though I have been avoiding it more and more), but I am new to Minecraft and Minecraft modding. I have gone through the Minecraft Forge modding tutorial, but I have found that resources are quite scarce when it comes to mod/mod integrations. The details of my setup: I would appreciate any help, general instructions, or resources I can use for reference. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
How is |
Beta Was this translation helpful? Give feedback.
There's an
isItemSuitable
method you can override, to ignore NBT. Note that the returned item (fromturtle.unequipNBT()
or whatever) will always have the NBT of the upgrade's item, not the item the turtle was crafted/equipped with.