Posted March 23, 201312 yr Hello everyone, is there an easy way to make a block suck experience into it and then store the amount of experience orbs into a variable? Like the "Brain in a jar" in Thaumcraft 3 I hope anybody can help me. Sorry for my (maybe) bad english Busti PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered.
March 23, 201312 yr What have you tried? I am not 100% sure on what the code would be so I cannot give code but this is what I think is needed but someone is welcome to correct me. a) get entities in X radius of your block b) iterate over the list of entities c) check that its an XP entity d) if it is a XP entity start moving it closer to the block e) when it is within x distance of your block get the nbttag your saving the xp to add xp to this and then write it back to nbt
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.