UnwiseDeadkilla Posted July 10, 2014 Posted July 10, 2014 I was curious how to turn my blocks into a block you could use with beacons like a iron block or gold block. Thanks for your help! Quote
TheGreyGhost Posted July 11, 2014 Posted July 11, 2014 Hi For some clues look in TileEntityBeacon.updateState() --> Block.isBeaconBase() has been thoughtfully added by Forge folks exactly for this purpose, i.e. override it for your own block(s). -TGG Quote
UnwiseDeadkilla Posted July 11, 2014 Author Posted July 11, 2014 Thanks! I'll give it a try tomorrow! Quote
brandon3055 Posted July 11, 2014 Posted July 11, 2014 Override "isBeaconBase" in the block class and return true. This is very simple and only took me 30 seconds to find out for you so in the future i suggest you do some research and see what methods are available before you ask for help. Quote I am the author of Draconic Evolution
UnwiseDeadkilla Posted July 11, 2014 Author Posted July 11, 2014 Yeah thanks I got it. And I did a bit of research just didn't spend to much time thought it would be best if I ask I'm very new to coding and all this and I tend to understand better when someone kinda gives me a guideline? yeah I don't know but kinda explains in a way what I need to do. Thanks for your help! Quote
Recommended Posts
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.