@@ -0,0 +1,2601 @@
+/*%0A * The MIT License (MIT)%0A *%0A * Copyright (c) 2014 The Voxel Plugineering Team%0A *%0A * Permission is hereby granted, free of charge, to any person obtaining a copy%0A * of this software and associated documentation files (the %22Software%22), to deal%0A * in the Software without restriction, including without limitation the rights%0A * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell%0A * copies of the Software, and to permit persons to whom the Software is%0A * furnished to do so, subject to the following conditions:%0A *%0A * The above copyright notice and this permission notice shall be included in%0A * all copies or substantial portions of the Software.%0A *%0A * THE SOFTWARE IS PROVIDED %22AS IS%22, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR%0A * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,%0A * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE%0A * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER%0A * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,%0A * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN%0A * THE SOFTWARE.%0A */%0Apackage com.voxelplugineering.voxelsniper.entity;%0A%0Aimport org.bukkit.entity.Entity;%0A%0Aimport com.voxelplugineering.voxelsniper.Gunsmith;%0Aimport com.voxelplugineering.voxelsniper.api.entity.EntityType;%0Aimport com.voxelplugineering.voxelsniper.api.world.Location;%0Aimport com.voxelplugineering.voxelsniper.api.world.World;%0Aimport com.voxelplugineering.voxelsniper.util.BukkitUtility;%0A%0A/**%0A * Represents a Bukkit entity.%0A */%0Apublic class BukkitEntity extends AbstractEntity%3CEntity%3E%0A%7B%0A    /**%0A     * Creates a new entity wrapper.%0A     *%0A     * @param value The entity to wrap%0A     */%0A    public BukkitEntity(Entity value)%0A    %7B%0A        super(value);%0A    %7D%0A%0A    /**%0A     * %7B@inheritDoc%7D%0A     */%0A    @Override%0A    public World getWorld()%0A    %7B%0A        return Gunsmith.getWorldRegistry().getWorld(getThis().getWorld().getName()).get();%0A    %7D%0A%0A    /**%0A     * %7B@inheritDoc%7D%0A     */%0A    @Override%0A    public String getName()%0A    %7B%0A        return getThis().getName();%0A    %7D%0A%0A    /**%0A     * %7B@inheritDoc%7D%0A     */%0A    @Override%0A    public EntityType getType()%0A    %7B%0A        return null;%0A    %7D%0A%0A    /**%0A     * %7B@inheritDoc%7D%0A     */%0A    @Override%0A    public Location getLocation()%0A    %7B%0A        return BukkitUtility.getGunsmithLocation(getThis().getLocation());%0A    %7D%0A%0A    /**%0A     * %7B@inheritDoc%7D%0A     */%0A    @Override%0A    public void setLocation(Location newLocation)%0A    %7B%0A        getThis().teleport(BukkitUtility.getBukkitLocation(newLocation));%0A    %7D%0A%7D%0A

Add implementation of AbstractEntity as BukkitEntity.