Posted October 4, 201212 yr The main conditional in the EntityItems onCollideWithPlayer is if (!this.worldObj.isRemote){...} The event never fires when connected to a server and I can't find the alternative place for when a player collides with an EntityItem. http://www.minecraftforum.net/topic/1522738-132-forge-425-gokimods/
October 10, 201212 yr Events are fired twice, once for client, and once for server. the isRemote is to filter who runs what. When you put your mod in a real server things get confusing, and getting isRemote right can be critical. As for the block event, there is none. if there were, the server would die. Ask yourself how many blocks are broken per minute when multiple people are mining on a sever, say 30 people. That should answer why there is none. I like collars. XP
October 10, 201212 yr Author Thanks for the information. I'll see what I can do about it not firing on servers, knowing this. http://www.minecraftforum.net/topic/1522738-132-forge-425-gokimods/
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.