Jump to content

Recommended Posts

Posted

Hello, I'm new to mod programming, and I have a problem: I'd like to set a variable "Mask" to a number that depends on the damage of a piece of armor (the helmet). I almost finished the code, but the checker I put did not work. Could someone help me to correct the problem? Thank you in advance. Sorry for the gross mistakes. Line to be corrected:

			MineterstellarModVariables.mask = (double) (((itemstack)).getDamage());

The name of armor is:

mineterstellar.item.ItemSpacesuit

ItemSpacesuit.helmet

PS: My mod is for 1.14.

Posted

Stop using MCreator. It is garbage software made by people who don't know what they're doing.

We support Forge here, not MCreator.

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
4 minutes ago, Draco18s said:

Stop using MCreator. It is garbage software made by people who don't know what they're doing.

We support Forge here, not MCreator.

I know it's not great. But could you just answer my question without judging, please?

  • Guest locked this topic
Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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