Jump to content

Recommended Posts

Posted (edited)

I was under the idea that you were coding post Minecraft 1.7, due to your use of "net.minecraftforge ", but the evidence of "cpw.mods.fml" states that this is 1.7 or lower.
1.7 is not supported in this forum. Please update, before a moderator locks the thread.
 

@Differentiation

He does not need proxies when he's merely using events that happen on both sides aka COMMON.
I also told him to use static, so that he could annotate his class with @Mod.EventBusSubscriber instead of having to manually register it.
Please do not barge in stating things are wrong when they are not.

Edited by Matryoshika

Also previously known as eAndPi.

"Pi, is there a station coming up where we can board your train of thought?" -Kronnn

Published Mods: Underworld

Handy links: Vic_'s Forge events Own WIP Tutorials.

Posted
1 minute ago, Matryoshika said:

I was under the idea that you were coding post Minecraft 1.7, due to your use of "net.minecraftforge ", but the evidence of "cpw.mods.fml" states that this is 1.7 or lower.
1.7 is not supported in this forum. Please update, before a moderator locks the thread.
 

@Differentiation

He does not need proxies when he's merely using events that happen on both sides aka COMMON.
I also told him to use static, so that he could annotate his method with @Mod.EventBusSubscriber instead of having to manually register it.
Please do not barge in stating things are wrong when they are not.

Well, I'm not going to update since I want this modification to work in 1.7.10 :L

Does it make much of a difference with the code?

Posted
13 minutes ago, Newww said:

               ItemStack itemstack = event.entityPlayer.inventory.getCurrentItem();

That's not how you get the item being used.

The event provides it for you if you are using a proper Minecraft version (aka 1.9 +)

ItemStack stack = event.item;

or something along these lines.

  • 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.