SanaRinomi Posted August 12, 2016 Share Posted August 12, 2016 I want to add custom drops to Diamond Ore and Obsidian. Quote Link to comment Share on other sites More sharing options...
Animefan8888 Posted August 12, 2016 Share Posted August 12, 2016 HarvestDropsEvent. Quote VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator. Link to comment Share on other sites More sharing options...
SanaRinomi Posted August 12, 2016 Author Share Posted August 12, 2016 How can I control said event? Quote Link to comment Share on other sites More sharing options...
Animefan8888 Posted August 12, 2016 Share Posted August 12, 2016 EventHandler here is a great tutorial on it by cool alias. http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/1571567-forge-1-6-4-1-8-eventhandler-and Quote VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator. Link to comment Share on other sites More sharing options...
SanaRinomi Posted August 12, 2016 Author Share Posted August 12, 2016 EventHandler here is a great tutorial on it by cool alias. http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/1571567-forge-1-6-4-1-8-eventhandler-and Thx! Been looking for a good tutorial on that. Quote Link to comment Share on other sites More sharing options...
SanaRinomi Posted August 12, 2016 Author Share Posted August 12, 2016 I've been reading though it, also looked at said Event class, but I still can't seem to get how I'm suposed to make a block drop a custom item. Quote Link to comment Share on other sites More sharing options...
Animefan8888 Posted August 12, 2016 Share Posted August 12, 2016 When you setup the EventHandler you need to subscribe to HarvestDropsEvent, using the HarvestDropEvent parameter in your method you have access to the block and a list of dropped items you can modify to your liking. Quote VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator. Link to comment Share on other sites More sharing options...
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.