2011-03-30 04:03:21 +00:00
|
|
|
package com.earth2me.essentials;
|
|
|
|
|
2011-11-21 01:55:26 +00:00
|
|
|
import static com.earth2me.essentials.I18n._;
|
2011-03-30 04:03:21 +00:00
|
|
|
import java.net.InetSocketAddress;
|
2012-01-20 04:20:37 +00:00
|
|
|
import java.util.*;
|
2011-10-20 23:23:35 +00:00
|
|
|
import lombok.Delegate;
|
2011-11-18 17:42:26 +00:00
|
|
|
import org.bukkit.*;
|
2011-03-30 04:03:21 +00:00
|
|
|
import org.bukkit.block.Block;
|
2012-03-01 15:15:37 +00:00
|
|
|
import org.bukkit.conversations.Conversation;
|
2012-03-15 22:23:26 +00:00
|
|
|
import org.bukkit.conversations.ConversationAbandonedEvent;
|
2011-11-18 17:42:26 +00:00
|
|
|
import org.bukkit.entity.*;
|
2011-05-21 15:40:06 +00:00
|
|
|
import org.bukkit.event.entity.EntityDamageEvent;
|
2011-12-06 22:56:38 +00:00
|
|
|
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
|
2012-09-24 22:04:33 +00:00
|
|
|
import org.bukkit.inventory.Inventory;
|
|
|
|
import org.bukkit.inventory.InventoryView;
|
|
|
|
import org.bukkit.inventory.InventoryView.Property;
|
|
|
|
import org.bukkit.inventory.ItemStack;
|
|
|
|
import org.bukkit.inventory.PlayerInventory;
|
2011-08-15 19:36:43 +00:00
|
|
|
import org.bukkit.map.MapView;
|
2012-03-01 15:15:37 +00:00
|
|
|
import org.bukkit.metadata.MetadataValue;
|
2011-07-17 21:31:12 +00:00
|
|
|
import org.bukkit.permissions.Permission;
|
|
|
|
import org.bukkit.permissions.PermissionAttachment;
|
|
|
|
import org.bukkit.permissions.PermissionAttachmentInfo;
|
|
|
|
import org.bukkit.plugin.Plugin;
|
2012-02-15 06:53:47 +00:00
|
|
|
import org.bukkit.potion.PotionEffect;
|
|
|
|
import org.bukkit.potion.PotionEffectType;
|
2011-03-30 04:03:21 +00:00
|
|
|
import org.bukkit.util.Vector;
|
|
|
|
|
|
|
|
public class OfflinePlayer implements Player
|
|
|
|
{
|
2011-10-20 23:23:35 +00:00
|
|
|
private final transient IEssentials ess;
|
2011-12-19 11:57:09 +00:00
|
|
|
private transient Location location = new Location(null, 0, 0, 0, 0, 0);
|
|
|
|
private transient World world;
|
|
|
|
private final transient UUID uniqueId = UUID.randomUUID();
|
2011-11-21 01:55:26 +00:00
|
|
|
@Delegate(types = org.bukkit.OfflinePlayer.class)
|
2011-12-19 11:57:09 +00:00
|
|
|
private transient org.bukkit.OfflinePlayer base;
|
2011-03-30 04:03:21 +00:00
|
|
|
|
2011-10-20 23:23:35 +00:00
|
|
|
public OfflinePlayer(final String name, final IEssentials ess)
|
2011-03-30 04:03:21 +00:00
|
|
|
{
|
2011-07-15 23:33:22 +00:00
|
|
|
this.ess = ess;
|
2011-07-15 23:35:30 +00:00
|
|
|
this.world = ess.getServer().getWorlds().get(0);
|
2011-09-07 20:34:53 +00:00
|
|
|
this.base = ess.getServer().getOfflinePlayer(name);
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
2011-10-20 23:23:35 +00:00
|
|
|
@Override
|
|
|
|
public void sendMessage(final String string)
|
2011-03-30 04:03:21 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2011-10-20 23:23:35 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public String getDisplayName()
|
|
|
|
{
|
2011-10-20 23:23:35 +00:00
|
|
|
return base.getName();
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
2011-10-20 23:23:35 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public void setDisplayName(String string)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public void setCompassTarget(Location lctn)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public InetSocketAddress getAddress()
|
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public void kickPlayer(String string)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public PlayerInventory getInventory()
|
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public ItemStack getItemInHand()
|
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public void setItemInHand(ItemStack is)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public int getHealth()
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public void setHealth(int i)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public Egg throwEgg()
|
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public Snowball throwSnowball()
|
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public Arrow shootArrow()
|
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public boolean isInsideVehicle()
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public boolean leaveVehicle()
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public Vehicle getVehicle()
|
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public Location getLocation()
|
|
|
|
{
|
|
|
|
return location;
|
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public World getWorld()
|
|
|
|
{
|
2011-05-13 19:18:22 +00:00
|
|
|
return world;
|
|
|
|
}
|
2011-06-02 22:01:57 +00:00
|
|
|
|
2011-05-13 19:18:22 +00:00
|
|
|
public void setLocation(Location loc)
|
|
|
|
{
|
|
|
|
location = loc;
|
|
|
|
world = loc.getWorld();
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public void teleportTo(Location lctn)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
public void teleportTo(Entity entity)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public int getEntityId()
|
|
|
|
{
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public boolean performCommand(String string)
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public int getRemainingAir()
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public void setRemainingAir(int i)
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public int getMaximumAir()
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public void setMaximumAir(int i)
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public boolean isSneaking()
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public void setSneaking(boolean bln)
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public void updateInventory()
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public void chat(String string)
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public double getEyeHeight()
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public double getEyeHeight(boolean bln)
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public List<Block> getLineOfSight(HashSet<Byte> hs, int i)
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public Block getTargetBlock(HashSet<Byte> hs, int i)
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public List<Block> getLastTwoTargetBlocks(HashSet<Byte> hs, int i)
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public int getFireTicks()
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public int getMaxFireTicks()
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public void setFireTicks(int i)
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public void remove()
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public Server getServer()
|
|
|
|
{
|
2011-06-02 22:01:57 +00:00
|
|
|
return ess == null ? null : ess.getServer();
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public Vector getMomentum()
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public void setMomentum(Vector vector)
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public void setVelocity(Vector vector)
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public Vector getVelocity()
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public void damage(int i)
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public void damage(int i, Entity entity)
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 04:03:21 +00:00
|
|
|
public Location getEyeLocation()
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-06-02 22:01:57 +00:00
|
|
|
public void sendRawMessage(String string)
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
2011-03-30 17:58:00 +00:00
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 17:58:00 +00:00
|
|
|
public Location getCompassTarget()
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 17:58:00 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 17:58:00 +00:00
|
|
|
public int getMaximumNoDamageTicks()
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 17:58:00 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 17:58:00 +00:00
|
|
|
public void setMaximumNoDamageTicks(int i)
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 17:58:00 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 17:58:00 +00:00
|
|
|
public int getLastDamage()
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 17:58:00 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 17:58:00 +00:00
|
|
|
public void setLastDamage(int i)
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 17:58:00 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 17:58:00 +00:00
|
|
|
public int getNoDamageTicks()
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 17:58:00 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 17:58:00 +00:00
|
|
|
public void setNoDamageTicks(int i)
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 17:58:00 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 17:58:00 +00:00
|
|
|
public boolean teleport(Location lctn)
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 17:58:00 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 17:58:00 +00:00
|
|
|
public boolean teleport(Entity entity)
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 17:58:00 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 17:58:00 +00:00
|
|
|
public Entity getPassenger()
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 17:58:00 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 17:58:00 +00:00
|
|
|
public boolean setPassenger(Entity entity)
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 17:58:00 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 17:58:00 +00:00
|
|
|
public boolean isEmpty()
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 17:58:00 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-03-30 17:58:00 +00:00
|
|
|
public boolean eject()
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-03-30 17:58:00 +00:00
|
|
|
}
|
2011-04-08 08:16:28 +00:00
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-04-08 08:16:28 +00:00
|
|
|
public void saveData()
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-04-08 08:16:28 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-04-08 08:16:28 +00:00
|
|
|
public void loadData()
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-04-08 08:16:28 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-04-08 08:16:28 +00:00
|
|
|
public boolean isSleeping()
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-04-08 08:16:28 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-04-08 08:16:28 +00:00
|
|
|
public int getSleepTicks()
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-04-08 08:16:28 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-04-08 08:16:28 +00:00
|
|
|
public List<Entity> getNearbyEntities(double d, double d1, double d2)
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-04-08 08:16:28 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-04-08 08:16:28 +00:00
|
|
|
public boolean isDead()
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-04-08 08:16:28 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-04-08 08:16:28 +00:00
|
|
|
public float getFallDistance()
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-04-08 08:16:28 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-04-08 08:16:28 +00:00
|
|
|
public void setFallDistance(float f)
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-04-08 08:16:28 +00:00
|
|
|
}
|
2011-04-13 12:37:56 +00:00
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-04-13 12:37:56 +00:00
|
|
|
public void setSleepingIgnored(boolean bln)
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-04-13 12:37:56 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-04-13 12:37:56 +00:00
|
|
|
public boolean isSleepingIgnored()
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-04-13 12:37:56 +00:00
|
|
|
}
|
2011-04-23 00:30:59 +00:00
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-04-23 00:30:59 +00:00
|
|
|
public void awardAchievement(Achievement a)
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-04-23 00:30:59 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-04-23 00:30:59 +00:00
|
|
|
public void incrementStatistic(Statistic ststc)
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-04-23 00:30:59 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-04-23 00:30:59 +00:00
|
|
|
public void incrementStatistic(Statistic ststc, int i)
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-04-23 00:30:59 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-04-23 00:30:59 +00:00
|
|
|
public void incrementStatistic(Statistic ststc, Material mtrl)
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-04-23 00:30:59 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-04-23 00:30:59 +00:00
|
|
|
public void incrementStatistic(Statistic ststc, Material mtrl, int i)
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-04-23 00:30:59 +00:00
|
|
|
}
|
2011-05-10 12:23:18 +00:00
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-05-10 12:23:18 +00:00
|
|
|
public void playNote(Location lctn, byte b, byte b1)
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-05-10 12:23:18 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-05-10 12:23:18 +00:00
|
|
|
public void sendBlockChange(Location lctn, Material mtrl, byte b)
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-05-10 12:23:18 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-05-10 12:23:18 +00:00
|
|
|
public void sendBlockChange(Location lctn, int i, byte b)
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-05-10 12:23:18 +00:00
|
|
|
}
|
2011-05-21 15:40:06 +00:00
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-05-21 15:40:06 +00:00
|
|
|
public void setLastDamageCause(EntityDamageEvent ede)
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-05-21 15:40:06 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-05-21 15:40:06 +00:00
|
|
|
public EntityDamageEvent getLastDamageCause()
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-05-21 15:40:06 +00:00
|
|
|
}
|
2011-06-11 10:36:17 +00:00
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-06-11 10:36:17 +00:00
|
|
|
public void playEffect(Location lctn, Effect effect, int i)
|
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
throw new UnsupportedOperationException(_("notSupportedYet"));
|
2011-06-11 10:36:17 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-06-11 10:36:17 +00:00
|
|
|
public boolean sendChunkChange(Location lctn, int i, int i1, int i2, byte[] bytes)
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-06-11 10:36:17 +00:00
|
|
|
public UUID getUniqueId()
|
|
|
|
{
|
|
|
|
return uniqueId;
|
|
|
|
}
|
2011-06-23 10:44:16 +00:00
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-06-23 10:44:16 +00:00
|
|
|
public void playNote(Location lctn, Instrument i, Note note)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-06-23 10:44:16 +00:00
|
|
|
public void setPlayerTime(long l, boolean bln)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-06-23 10:44:16 +00:00
|
|
|
public long getPlayerTime()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-06-23 10:44:16 +00:00
|
|
|
public long getPlayerTimeOffset()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-06-23 10:44:16 +00:00
|
|
|
public boolean isPlayerTimeRelative()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-06-23 10:44:16 +00:00
|
|
|
public void resetPlayerTime()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2011-07-17 21:31:12 +00:00
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-07-17 21:31:12 +00:00
|
|
|
public boolean isPermissionSet(String string)
|
|
|
|
{
|
2011-07-17 22:30:39 +00:00
|
|
|
return false;
|
2011-07-17 21:31:12 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-07-17 21:31:12 +00:00
|
|
|
public boolean isPermissionSet(Permission prmsn)
|
|
|
|
{
|
2011-07-17 22:30:39 +00:00
|
|
|
return false;
|
2011-07-17 21:31:12 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-07-17 21:31:12 +00:00
|
|
|
public boolean hasPermission(String string)
|
|
|
|
{
|
2011-07-17 22:30:39 +00:00
|
|
|
return false;
|
2011-07-17 21:31:12 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-07-17 21:31:12 +00:00
|
|
|
public boolean hasPermission(Permission prmsn)
|
|
|
|
{
|
2011-07-17 22:30:39 +00:00
|
|
|
return false;
|
2011-07-17 21:31:12 +00:00
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-07-17 21:31:12 +00:00
|
|
|
public PermissionAttachment addAttachment(Plugin plugin, String string, boolean bln)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-07-17 21:31:12 +00:00
|
|
|
public PermissionAttachment addAttachment(Plugin plugin)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-07-17 21:31:12 +00:00
|
|
|
public PermissionAttachment addAttachment(Plugin plugin, String string, boolean bln, int i)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-07-17 21:31:12 +00:00
|
|
|
public PermissionAttachment addAttachment(Plugin plugin, int i)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-07-17 21:31:12 +00:00
|
|
|
public void removeAttachment(PermissionAttachment pa)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-07-17 21:31:12 +00:00
|
|
|
public void recalculatePermissions()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2011-11-18 18:07:28 +00:00
|
|
|
@Override
|
2011-07-17 21:31:12 +00:00
|
|
|
public Set<PermissionAttachmentInfo> getEffectivePermissions()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2011-11-21 01:55:26 +00:00
|
|
|
|
2011-08-15 19:36:43 +00:00
|
|
|
@Override
|
|
|
|
public void sendMap(MapView mv)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2011-09-07 20:34:53 +00:00
|
|
|
|
2011-09-17 11:14:34 +00:00
|
|
|
@Override
|
|
|
|
public GameMode getGameMode()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void setGameMode(GameMode gm)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public int getLevel()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void setLevel(int i)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public int getTotalExperience()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void setTotalExperience(int i)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public float getExhaustion()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void setExhaustion(float f)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public float getSaturation()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void setSaturation(float f)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public int getFoodLevel()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void setFoodLevel(int i)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2011-10-04 05:54:45 +00:00
|
|
|
|
2011-09-22 08:39:43 +00:00
|
|
|
@Override
|
|
|
|
public boolean isSprinting()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void setSprinting(boolean bln)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2011-10-04 05:54:45 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public void setPlayerListName(String name)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getPlayerListName()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2011-10-11 10:48:44 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public int getTicksLived()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void setTicksLived(int i)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2011-11-20 13:30:54 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public int getMaxHealth()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2011-12-01 16:20:53 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public void giveExp(int i)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public float getExp()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void setExp(float f)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2011-12-06 22:56:38 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean teleport(Location lctn, TeleportCause tc)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean teleport(Entity entity, TeleportCause tc)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2011-12-12 23:00:21 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public Player getKiller()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2011-12-19 11:57:09 +00:00
|
|
|
|
|
|
|
void setName(final String name)
|
|
|
|
{
|
2012-01-20 04:20:37 +00:00
|
|
|
if (!this.base.getName().equalsIgnoreCase(name))
|
|
|
|
{
|
2011-12-19 11:57:09 +00:00
|
|
|
this.base = ess.getServer().getOfflinePlayer(name);
|
|
|
|
}
|
|
|
|
}
|
2012-01-20 04:20:37 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public void sendPluginMessage(Plugin plugin, String string, byte[] bytes)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Set<String> getListeningPluginChannels()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void setAllowFlight(boolean bln)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean getAllowFlight()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void setBedSpawnLocation(Location lctn)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
2012-10-29 17:17:56 +00:00
|
|
|
@Override
|
|
|
|
public void setBedSpawnLocation(Location lctn, boolean force)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
2012-01-20 04:20:37 +00:00
|
|
|
@Override
|
|
|
|
public void playEffect(EntityEffect ee)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2012-02-15 06:53:47 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public void hidePlayer(Player player)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void showPlayer(Player player)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean canSee(Player player)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean addPotionEffect(PotionEffect pe)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean addPotionEffect(PotionEffect pe, boolean bln)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean addPotionEffects(Collection<PotionEffect> clctn)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean hasPotionEffect(PotionEffectType pet)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void removePotionEffect(PotionEffectType pet)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Collection<PotionEffect> getActivePotionEffects()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2012-02-25 17:57:26 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public <T extends Projectile> T launchProjectile(Class<? extends T> arg0)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public EntityType getType()
|
|
|
|
{
|
|
|
|
return EntityType.PLAYER;
|
|
|
|
}
|
2012-03-01 15:15:37 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public <T> void playEffect(Location lctn, Effect effect, T t)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean setWindowProperty(Property prprt, int i)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public InventoryView getOpenInventory()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public InventoryView openInventory(Inventory invntr)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public InventoryView openWorkbench(Location lctn, boolean bln)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public InventoryView openEnchanting(Location lctn, boolean bln)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void openInventory(InventoryView iv)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void closeInventory()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public ItemStack getItemOnCursor()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void setItemOnCursor(ItemStack is)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void setMetadata(String string, MetadataValue mv)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public List<MetadataValue> getMetadata(String string)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean hasMetadata(String string)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void removeMetadata(String string, Plugin plugin)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean isConversing()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void acceptConversationInput(String string)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean beginConversation(Conversation c)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void abandonConversation(Conversation c)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void sendMessage(String[] strings)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2012-03-15 22:23:26 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean isBlocking()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void abandonConversation(Conversation arg0, ConversationAbandonedEvent arg1)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2012-03-22 22:59:52 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean isFlying()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void setFlying(boolean arg0)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2012-08-02 12:48:13 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public int getExpToLevel()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean hasLineOfSight(Entity entity)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean isValid()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
2012-08-21 18:56:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void setFlySpeed(float value) throws IllegalArgumentException
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void setWalkSpeed(float value) throws IllegalArgumentException
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public float getFlySpeed()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public float getWalkSpeed()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Inventory getEnderChest()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2012-08-28 02:08:06 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public void playSound(Location arg0, Sound arg1, float arg2, float arg3)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|