mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-28 15:56:02 +00:00
First push of some small patches and introduction of basic events. As well as the first cases for Forge's Access Transformer
This commit is contained in:
1 parent
5672b783da
commit
1fb042621c
29 files changed
+1904
-170
No files matched your search
@@ -0,0 +1,19 @@
|
||||
package net.minecraftforge.event.entity;
|
||||
|
||||
import net.minecraft.src.Entity;
|
||||
import net.minecraft.src.EntityPlayer;
|
||||
|
||||
public class PlayerEvent extends EntityEvent
|
||||
{
|
||||
private final EntityPlayer player;
|
||||
public PlayerEvent(EntityPlayer player)
|
||||
{
|
||||
super(player);
|
||||
this.player = player;
|
||||
}
|
||||
|
||||
public EntityPlayer getPlayer()
|
||||
{
|
||||
return player;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user