Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

How would one add new item to an existing drop list?

In my case I would like to add a new item to the pig drop list.

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.

Can't you also just handle the LivingDropsEvent, test if the entity is a pig and add your item to the list? I guess maybe that wouldn't be a proper realization of the loot table system, but it works pretty darn good for just adding an item regardless of the rest of the loot system.

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

1 hour ago, jabelar said:

Can't you also just handle the LivingDropsEvent, test if the entity is a pig and add your item to the list? I guess maybe that wouldn't be a proper realization of the loot table system, but it works pretty darn good for just adding an item regardless of the rest of the loot system.

You can, but you should use loot tables instead.

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.

  • 2 years later...
On 1/16/2018 at 2:24 PM, Draco18s said:

 

I know this is 2 years later but can you help me with this problem. I tried to use your LootUtils and base on your FarmingEventHandler to make an item drop from a chicken. It did not work. Can you please take a look and let me know what is missing? 

 

https://github.com/anhphan2705/ChickenMod_1.12.2/blob/master/src/main/java/com/chickenmod/util/handlers/LootEventHandler.java

https://github.com/anhphan2705/ChickenMod_1.12.2/blob/master/src/main/java/com/chickenmod/util/loot/LootUtils.java

 

 

Thank you.

Edited by SniperBoiz
Missing a link

1.12.2 isn't supported on this forum anymore so this thread will be closed soon. Also for the future don't bump old threads make a new one instead. PM me if you don't find any answers to your problem currently I'm still working with 1.12.

My Projects:

Cruelars Triforcemod (1.12 release; 1.14 alpha soon coming)

 

Important:

As my mod is on at least 10 different third party sites without my permission, I want to warn you about that with a link to StopModReposts

Guest
This topic is now closed to further replies.

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.