FireController1847 Posted May 17, 2016 Posted May 17, 2016 I'm kind of a noob, and this is what code I have: @Override public Item getItemDropped(int metadata, Random random, int fortune){ return cms.itemAcidDust; } How would I be able to drop 4 of itemAcidDust? Quote I am on my journey of making a remake of matmos, as explained here.
winnetrie Posted May 17, 2016 Posted May 17, 2016 There is a method called quantityDropped. You need to Override it with your own value for example: @Override public int quantityDropped(Random rand){ return 2 + rand.nextInt(2); } Quote Try out my new Modpack for MC 1.15.2 https://www.curseforge.com/minecraft/modpacks/terran-civilization
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.