Class ItemListeners
java.lang.Object
com.pixelmonmod.pixelmon.quests.listeners.ItemListeners
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
onDropItem
(net.minecraftforge.event.entity.item.ItemTossEvent event) void
onItemCrafted
(net.minecraftforge.event.entity.player.PlayerEvent.ItemCraftedEvent event) void
onItemSmelted
(net.minecraftforge.event.entity.player.PlayerEvent.ItemSmeltedEvent event) void
onItemUse
(net.minecraftforge.event.entity.player.PlayerInteractEvent.RightClickItem event) void
onPickupItem
(net.minecraftforge.event.entity.player.PlayerEvent.ItemPickupEvent event) void
onPlayerTick
(net.minecraftforge.event.TickEvent.PlayerTickEvent event)
-
Constructor Details
-
ItemListeners
public ItemListeners()
-
-
Method Details
-
onApricornHarvest
- Throws:
InvalidQuestArgsException
-
onItemUse
public void onItemUse(net.minecraftforge.event.entity.player.PlayerInteractEvent.RightClickItem event) throws InvalidQuestArgsException - Throws:
InvalidQuestArgsException
-
onPickupItem
public void onPickupItem(net.minecraftforge.event.entity.player.PlayerEvent.ItemPickupEvent event) throws InvalidQuestArgsException - Throws:
InvalidQuestArgsException
-
onDropItem
public void onDropItem(net.minecraftforge.event.entity.item.ItemTossEvent event) throws InvalidQuestArgsException - Throws:
InvalidQuestArgsException
-
onItemCrafted
public void onItemCrafted(net.minecraftforge.event.entity.player.PlayerEvent.ItemCraftedEvent event) throws InvalidQuestArgsException - Throws:
InvalidQuestArgsException
-
onItemSmelted
public void onItemSmelted(net.minecraftforge.event.entity.player.PlayerEvent.ItemSmeltedEvent event) throws InvalidQuestArgsException - Throws:
InvalidQuestArgsException
-
onPlayerTick
public void onPlayerTick(net.minecraftforge.event.TickEvent.PlayerTickEvent event) throws InvalidQuestArgsException - Throws:
InvalidQuestArgsException
-