Jump to content

Recommended Posts

Posted

So, I'm basically making my own variant of an XP Orb, but no matter what I try, I can't get the value from the Orb, and therefore can't set the proper texture per Orb.

 

Here's the Entity file:

 

  Reveal hidden contents

 

I'm at such a loss of what to do.

I've added System.outs over various places, and the only place that zero's out the value completely is the "getTextureByValue" part

 

If needed, here's the render file:

 

  Reveal hidden contents

 

 

And the dropEvent File (a mess):

 

  Reveal hidden contents

 

Please help me, I'm almost ripping my hair out

Posted

http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/2137055-1-7-2-customizing-packet-handling-with

OR simple/short:

http://www.minecraftforge.net/forum/index.php/topic,20135.0.html

 

IMPORTANT

In 1.8 there are 4 threads (not 2 like in pre-1.8).

Server, Client and two netty (for server and client).

Because of that you might have problems if e.g server constructs entity and will send packet to client, but client won't be able to apply changes on entity because it hasn't constructed it yet. To avoid that create new Runnable and throw it into mc main thread:

Minecraft.getMinecraft().addScheduledTask(Runnable);

  Quote

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

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.