// Path: src/main/java/src/john01dav/serverforge/api/entity/EntityBase.java
// public class EntityBase{
//     private Entity entity;
// 
//     public EntityBase(Entity entity){
//         this.entity = entity;
//     }
// 
//     /**
//      * Returns the player behind this entity, or null if this entity is not a player
//      * @return The player behind this entity
//      */
//     public Player getPlayer(){
//         if(entity instanceof EntityPlayer){
//             EntityPlayer player = ((EntityPlayer) entity);
//             return Player.get(player);
//         }else{
//             return null;
//         }
//     }
// 
// }


import net.minecraftforge.event.entity.EntityJoinWorldEvent;
import src.john01dav.serverforge.api.entity.EntityBase;
package src.john01dav.serverforge.api.events;

public class JoinWorldEvent {
    private EntityJoinWorldEvent entityJoinWorldEvent;

    public JoinWorldEvent(EntityJoinWorldEvent entityJoinWorldEvent){
        this.entityJoinWorldEvent = entityJoinWorldEvent;
    }

    /**
     * Returns the entity whom is joining the world
     * @return The entity whom is joining the world
     */
// Path: src/main/java/src/john01dav/serverforge/api/entity/EntityBase.java
// public class EntityBase{
//     private Entity entity;
// 
//     public EntityBase(Entity entity){
//         this.entity = entity;
//     }
// 
//     /**
//      * Returns the player behind this entity, or null if this entity is not a player
//      * @return The player behind this entity
//      */
//     public Player getPlayer(){
//         if(entity instanceof EntityPlayer){
//             EntityPlayer player = ((EntityPlayer) entity);
//             return Player.get(player);
//         }else{
//             return null;
//         }
//     }
// 
// }


// Path: src/main/java/src/john01dav/serverforge/api/events/JoinWorldEvent.java
import net.minecraftforge.event.entity.EntityJoinWorldEvent;
import src.john01dav.serverforge.api.entity.EntityBase;

package src.john01dav.serverforge.api.events;

public class JoinWorldEvent {
    private EntityJoinWorldEvent entityJoinWorldEvent;

    public JoinWorldEvent(EntityJoinWorldEvent entityJoinWorldEvent){
        this.entityJoinWorldEvent = entityJoinWorldEvent;
    }

    /**
     * Returns the entity whom is joining the world
     * @return The entity whom is joining the world
     */
    public EntityBase getEntity(){