2015-08-29 14:33:25 +02:00
|
|
|
|
/*
|
|
|
|
|
* This file ("SmeltEvent.java") is part of the Actually Additions Mod for Minecraft.
|
|
|
|
|
* It is created and owned by Ellpeck and distributed
|
|
|
|
|
* under the Actually Additions License to be found at
|
|
|
|
|
* http://github.com/Ellpeck/ActuallyAdditions/blob/master/README.md
|
|
|
|
|
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
|
|
|
|
|
*
|
|
|
|
|
* <EFBFBD> 2015 Ellpeck
|
|
|
|
|
*/
|
|
|
|
|
|
2015-03-07 12:51:28 +01:00
|
|
|
|
package ellpeck.actuallyadditions.event;
|
2015-03-07 02:23:31 +01:00
|
|
|
|
|
|
|
|
|
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
|
|
|
|
|
import cpw.mods.fml.common.gameevent.PlayerEvent;
|
2015-04-19 01:50:02 +02:00
|
|
|
|
import ellpeck.actuallyadditions.achievement.InitAchievements;
|
2015-03-07 02:23:31 +01:00
|
|
|
|
|
|
|
|
|
public class SmeltEvent{
|
2015-03-29 15:29:05 +02:00
|
|
|
|
|
2015-03-07 02:23:31 +01:00
|
|
|
|
@SubscribeEvent
|
|
|
|
|
public void onSmeltedEvent(PlayerEvent.ItemSmeltedEvent event){
|
2015-07-01 21:32:48 +02:00
|
|
|
|
CraftEvent.checkAchievements(event.smelting, event.player, InitAchievements.SMELTING_ACH);
|
2015-03-07 02:23:31 +01:00
|
|
|
|
}
|
|
|
|
|
}
|