Posted July 10, 201510 yr All, I am currently working on a mod that allows placed blocks called Totems to radiate a vanilla status effect for a set duration to nearby players. E.g. Craft block, place like any other, start receiving status effect such as Regeneration. This would be similar to a Shamans Totems in WoW. I am not looking for a handout, but if anyone can point me in the right direction for applying a status effect to placed blocks in a certain radius that would be excellent. I am new to modding and I am not sure where to look for code examples for things like this. Thanks!
July 10, 201510 yr Take a look at beacons - that's exactly what they do. TileEntityBeacon#updateEntity is where it all starts. http://i.imgur.com/NdrFdld.png[/img]
July 10, 201510 yr Author Thanks Cool, that's what I was suspecting - I'm just not sure where to see the code for Beacons - is that a package in Forge that I can view in my IDE (Eclipse)? Edit: just saw the bit about tile. Thanks!
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.