Files
CraftTweaker/MineTweaker3-API/src/main/java/minetweaker/api/event/PlayerLoggedInEvent.java
T
Stan Hebben 0c535134c5 - Removed the Transformer classes as transformation-based class detection is too slow
- 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
2014-06-25 11:54:08 +02:00

30 lines
654 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.player.IPlayer;
import stanhebben.zenscript.annotations.ZenClass;
import stanhebben.zenscript.annotations.ZenGetter;
/**
*
* @author Stan
*/
@ZenClass("minetweaker.event.PlayerLoggedInEvent")
public class PlayerLoggedInEvent {
private final IPlayer player;
public PlayerLoggedInEvent(IPlayer player) {
this.player = player;
}
@ZenGetter("player")
public IPlayer getPlayer() {
return player;
}
}