IMleader Posted June 2, 2017 Posted June 2, 2017 Hello! I am working on a mod for me and my brother like of like lucky blocks. I am starting with the basics and slowly advancing the mod. I recently ran into an issue where, when i break the block, it drops two of the drops. Not one type. My code works like this: Block gets destroyed Block calls DropDB.getRandomDrop DropDB gets a random drop from an array of drops and returns in Block loops the drops and spawns the items above it It works but when I break it two drops come out. One which I can pick up, and the other which is strangely still registered as an entity. But I cannot pick it up. All of my code it posted on GitHub here: https://github.com/xXXIMMATTHEWXXx/BroCubes Quote
IMleader Posted June 2, 2017 Author Posted June 2, 2017 Personal preference Done I dont??????? Where do you see that???? Example? Only way I know how is how ive done it Quote
IMleader Posted June 2, 2017 Author Posted June 2, 2017 (edited) Ik ik(Newer versions just dont match me. Also I can't even decompile 1.8.9 due to some gradlew error that i spent weeks trying to fix and used every method ever and it never freken worked.) Ive done this. Will edit when test is done I have done this. Now nothing drops at all.... Edited June 2, 2017 by IMleader Update for after testing stuff Quote
IMleader Posted June 2, 2017 Author Posted June 2, 2017 Well arent I dumb, ingore that edit I forgot I set the mat to stone so of couse my fist didn't work... Anyhow it works. THANK YOU!!!! 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.