Jump to content

Morgrhim

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by Morgrhim

  1. So I'm familiar with Java, but not so much the Forge API. I've gotten my environment set up, and I'm working on some code for a mod I have in mind. Part of the mod involves adding quite a few NBT tags to the player. To figure out how this works, I'm using the tutorial at https://github.com/coolAlias/Forge_Tutorials/blob/master/IExtendedEntityPropertiesTutorial.java. My questions are these: 1. When I try to use @ForgeSubscribe on line 192, I get an error "ForgeSubscribe cannot be resolved to a type". Do I need to replace this with SubscribeEvent? 2. I want to overhaul the health and armor system with my own algorithms. I've specified tags and have the algorithms worked out. If I add health and maxhealth to the NBT tags will it override the vanilla health system? 3. I'm understanding how to implement these tags for players. Is it the same for mobs? I need to be able to edit mobs as well and going through the Forge javadocs I'm not seeing how I would override mobs.
×
×
  • Create New...

Important Information

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