mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-21 12:32:29 +00:00
- Finished the RegisterZenClassesTask and applied it to the API & Mod support projects - Started work on the events API - Added a mod.info file - Added mods detection API
36 lines
745 B
Java
36 lines
745 B
Java
/*
|
|
* To change this license header, choose License Headers in Project Properties.
|
|
* To change this template file, choose Tools | Templates
|
|
* and open the template in the editor.
|
|
*/
|
|
|
|
package minetweaker.api.event;
|
|
|
|
import minetweaker.api.item.IItemStack;
|
|
import minetweaker.api.player.IPlayer;
|
|
import stanhebben.zenscript.annotations.ZenGetter;
|
|
|
|
/**
|
|
*
|
|
* @author Stan
|
|
*/
|
|
public class PlayerSmeltedEvent {
|
|
private final IPlayer player;
|
|
private final IItemStack output;
|
|
|
|
public PlayerSmeltedEvent(IPlayer player, IItemStack output) {
|
|
this.player = player;
|
|
this.output = output;
|
|
}
|
|
|
|
@ZenGetter("player")
|
|
public IPlayer getPlayer() {
|
|
return player;
|
|
}
|
|
|
|
@ZenGetter("output")
|
|
public IItemStack getOutput() {
|
|
return output;
|
|
}
|
|
}
|