-
Posts
6 -
Joined
-
Last visited
Posts posted by Glados1235
-
-
2 hours ago, Draco18s said:
Line 20 is wrong.
i had a feeling but i don't know how to properly fix it i know there is the .containerItem() function that i can add to the item but no matter what way i try i does not work
-
11 hours ago, diesieben07 said:
Then you should know how to make an instance of a class and how inheritance works...
I don't that is why I'm asking for help here as there are no tutorials or examples anywhere that help with what I'm trying to do I've been trying for a few days now to figure it out and I cant I don't know what I'm supposed to do as no one wants to help
-
41 minutes ago, diesieben07 said:
Do you know basic Java?
sort of i mostly know basic c# or unity code i came here to ask for help as i found barely anything on the topic of the post and i learn through examples as alot of stuff just wont make sense to my brain
-
6 minutes ago, diesieben07 said:
The lego_mold class is never used in the code you posted.
i know its not thats why im asking how do i do that like i said i know its the thing i need to use but how to i apply that lego_mold class to a item like the lego mold item
-
hello! I am new to Minecraft modding and I'm modding for 1.16.4 I want to create an item that doesn't get used and takes damage during crafting (like ic2's hammer or cutters)
this is the first mod I'm trying to make to learn and I prefer to learn through examples
here is what I have for the item in question LEGO_MOLD or lego_mold
my Item Init class
the container item class I think is correct? (followed a tutorial kiiinda know how it works but not really)
and the recipe I want to affect
I know the container class is what's needed but how do I make the LEGO_MOLD the item it's affecting?
like I said I'm brand new to this and don't know much java so examples would be super helpful!
and it this is in the wrong place please tell me i dont post on forms much thanks!
[1.16.4] help with container items
in Modder Support
Posted
okay so i sorta got it
i added
and changed line 20 to
and now it works but instead of giving me back the mold but damaged it just gives me a air block so i assume i need to tell it what item to give?