2012-12-13 04:41:40 +01:00
|
|
|
package ee3.common.event;
|
|
|
|
|
2012-12-13 16:01:41 +01:00
|
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
|
|
import net.minecraft.world.World;
|
2012-12-13 04:41:40 +01:00
|
|
|
import net.minecraftforge.event.Event;
|
|
|
|
|
|
|
|
public class WorldTransmutationEvent extends Event {
|
|
|
|
|
|
|
|
public final EntityPlayer player;
|
|
|
|
public final World world;
|
|
|
|
public final int originX, originY, originZ;
|
|
|
|
public final byte sideHit;
|
|
|
|
public final byte rangeX, rangeY, rangeZ;
|
|
|
|
public final String data;
|
|
|
|
|
|
|
|
public WorldTransmutationEvent(EntityPlayer player, World world, int originX, int originY, int originZ, byte sideHit, byte rangeX, byte rangeY, byte rangeZ, String data) {
|
|
|
|
|
|
|
|
this.player = player;
|
|
|
|
this.world = world;
|
|
|
|
this.originX = originX;
|
|
|
|
this.originY = originY;
|
|
|
|
this.originZ = originZ;
|
|
|
|
this.sideHit = sideHit;
|
|
|
|
this.rangeX = rangeX;
|
|
|
|
this.rangeY = rangeY;
|
|
|
|
this.rangeZ = rangeZ;
|
|
|
|
this.data = data;
|
|
|
|
}
|
|
|
|
}
|