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
  On 12/29/2017 at 7:31 PM, 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.

Expand  

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
  On 12/29/2017 at 7:21 PM, Newww said:

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

Expand  

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.