public class GameStageEvent
extends net.minecraftforge.fml.common.eventhandler.Event
| Modifier and Type | Class and Description |
|---|---|
static class |
GameStageEvent.Add
This event is fired every time a stage is added to a player, or unlocked.
|
static class |
GameStageEvent.Check
This event is fired every time a check for a stage is made.
|
static class |
GameStageEvent.ClientSync
This event is fired every time there is a client side stage sync.
|
static class |
GameStageEvent.Remove
This event is fired every time a stage is removed from a player, or locked.
|
| Constructor and Description |
|---|
GameStageEvent(net.minecraft.entity.player.EntityPlayer player,
java.lang.String stageName)
The base constructor for all game stage events.
|
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.entity.player.EntityPlayer |
getPlayer()
Gets the player the event is for.
|
java.lang.String |
getStageName()
Gets the stage name for the event.
|
void |
setStage(java.lang.String stage)
Sets the stage for the event.
|
public GameStageEvent(net.minecraft.entity.player.EntityPlayer player,
java.lang.String stageName)
player - The player the event is for.stageName - The stage the event is for.public net.minecraft.entity.player.EntityPlayer getPlayer()
public java.lang.String getStageName()
public void setStage(java.lang.String stage)
stage - The new name for the stage.