Posted September 22, 20186 yr I am making a mod but I need vanilla mobs to drop custom items on death. How would I do that? Edited September 22, 20186 yr by M1st3rMinecraft
September 22, 20186 yr 12 minutes ago, M1st3rMinecraft said: I am making a mod but I need vanilla items to drop custom items. Hiw would I do that? How do Items drop Items 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.
September 22, 20186 yr Author 1 hour ago, Animefan8888 said: How do Items drop Items Sorry I meant how to make mobs drop items ?
September 22, 20186 yr Loot tables. There's a couple ways to go about it. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
September 22, 20186 yr Author 2 hours ago, Draco18s said: Loot tables. There's a couple ways to go about it. Can you name the easiest. Thanks
September 23, 20186 yr My best guess would be to subscribe to the LivingDropsEvent in an eventHandler and change the item drops there, since you can't modify vanilla functionality. Read https://mcforge.readthedocs.io/en/latest/events/intro/ to get started. Edited September 23, 20186 yr by Lumby
September 23, 20186 yr Or wait for 1.13 data packs About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.github.io/tutorials Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support. When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible. Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)
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.