Java Code Examples for net.minecraftforge.fml.common.gameevent.PlayerEvent#ItemSmeltedEvent
The following examples show how to use
net.minecraftforge.fml.common.gameevent.PlayerEvent#ItemSmeltedEvent .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: RewardForPossessingItemImplementation.java From malmo with MIT License | 4 votes |
@SubscribeEvent public void onItemSmelt(PlayerEvent.ItemSmeltedEvent event) { if (event.player instanceof EntityPlayerMP && !event.smelting.isEmpty()) checkForMatch(event.smelting); }
Example 2
Source File: AgentQuitFromCollectingItemQuantityImplementation.java From malmo with MIT License | 4 votes |
@SubscribeEvent public void onItemSmelt(PlayerEvent.ItemSmeltedEvent event) { if (event.player instanceof EntityPlayerMP && !event.smelting.isEmpty()) checkForMatch(event.smelting); }
Example 3
Source File: AgentQuitFromPossessingItemImplementation.java From malmo with MIT License | 4 votes |
@SubscribeEvent public void onItemSmelt(PlayerEvent.ItemSmeltedEvent event) { if (event.player instanceof EntityPlayerMP && !event.smelting.isEmpty()) checkForMatch(event.smelting); }
Example 4
Source File: RewardForCollectingItemQuantityImplementation.java From malmo with MIT License | 4 votes |
@SubscribeEvent public void onItemSmelt(PlayerEvent.ItemSmeltedEvent event) { if (event.player instanceof EntityPlayerMP && !event.smelting.isEmpty()) checkForMatch(event.smelting); }
Example 5
Source File: RewardForSmeltingItemImplementation.java From malmo with MIT License | 4 votes |
@SubscribeEvent public void onItemSmelt(PlayerEvent.ItemSmeltedEvent event) { if (event.player instanceof EntityPlayerMP && !event.smelting.isEmpty()) checkForMatch(event.smelting); }
Example 6
Source File: AgentQuitFromSmeltingItemImplementation.java From malmo with MIT License | 4 votes |
@SubscribeEvent @SideOnly(Side.CLIENT) public void onItemSmelt(PlayerEvent.ItemSmeltedEvent event) { if (event.player instanceof EntityPlayerMP && !event.smelting.isEmpty()) checkForMatch(event.smelting); }