Jump to content

Recommended Posts

Posted

I want to add some fields to EntityPlayer. What is the better way to do that? If I extend EntityPlayer, how can I replace it everywhere else? Are class transformers avaible in 1.9.4? I've tried replacing classes with MCP, but I couldn't compile it(it works fine in IDE). As I know, reflection can only change fields, but not to add. Please point me in right direction.

Posted

Lookup "extended entity properties" and see if that will let you do what you want.

The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.

Posted

Lookup "extended entity properties" and see if that will let you do what you want.

 

IExtendedEntityProperties

was deprecated in 1.8.9 with the introduction of the capability system and then removed in 1.9.

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

I decided to try making a coremod (if it is possible in 1.9.4), but I don't know how to make my IFMLLoadingPlugin launch. Has someone worked with them? I know this breaks compatibility with other mods, but I don't see any other way to completely remake vanilla combat system.

Posted

You want it to run in Eclipse, I take it?

Yeah, there's a runtime argument you need to add to the run configurations.

 

-Dfml.coreMods.load=path.to.main.coremod_class

 

I'm still pretty sure you can overhaul the combat system without coremodding, though.

 

By the way...

 

You will get virtually no help writing coremods.

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

No, I don't want to run it in IDE, I want to just make it work for now. So I need to search any other coremods and find info there only?

Posted

I'm still pretty sure you can overhaul the combat system without coremodding, though.

 

True dat, with @Capabilities and Events (Attack, Hurt, Death, etc. Events) you can hook and replace any part of attacking/damaging systems (with each and every, even smallest part of detail) - trust me, I am doing it.

 

CoreMod = bleh.

1.7.10 is no longer supported by forge, you are on your own.

Posted

Do not make a coremod.

If you do, or anyone here helps you. You will be banned from the forums.

There is ALWAYS a way to do things without a coremod.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

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.