Posted April 27, 201312 yr Alright, so I have an entity that displays a message when clicked. However, it sends this message twice per click. How can I fix this? Relevant code: public boolean interact(EntityPlayer player) { player.sendChatToPlayer("Testing"); return true; } Thanks
April 27, 201312 yr Add if(!player.worldObj.isRemote){Send chat} "you seem to be THE best modder I've seen imo." ~spynathan ლ(́◉◞౪◟◉‵ლ
April 28, 201312 yr Thank you SO MUCH for this topic! It really helped! ;D ;D -Mitchellbrine Minecraft can do ANYTHING, it's coded in Java and you got the full power of Java behind you when you code. So nothing is impossible. It may be freaking fucking hard though, but still possible If you create a topic on Modder Support, live by this motto: I don't want your charity, I want your information
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.