ItemEntityPickupPostEvent
Link to itementitypickuppostevent
Importing the class
Link to importing-the-class
Importing the class is recommended for events, simply add this line to the top of your script file.
ZenScript Copyimport crafttweaker.neoforge.api.event.item.ItemEntityPickupPostEvent;
Listening to the event
Link to listening-to-the-event
ZenScript Copyevents.register<crafttweaker.neoforge.api.event.item.ItemEntityPickupPostEvent>(event => {
println("ItemEntityPickupPostEvent ran!");
});
Supertype
Link to supertype
ItemEntityPickupPostEvent extends ItemEntityPickupEvent. That means all methods available in ItemEntityPickupEvent are also available in ItemEntityPickupPostEvent
Properties
Link to properties
Name | Type | Has Getter | Has Setter |
---|---|---|---|
Name currentStack | Type ItemStack | Has Getter true | Has Setter false |
Name originalStack | Type ItemStack | Has Getter true | Has Setter false |