2011-03-30 04:03:21 +00:00
|
|
|
package com.earth2me.essentials;
|
|
|
|
|
|
|
|
import java.net.InetSocketAddress;
|
|
|
|
import java.util.HashSet;
|
|
|
|
import java.util.List;
|
2011-07-17 21:31:12 +00:00
|
|
|
import java.util.Set;
|
2011-06-11 10:36:17 +00:00
|
|
|
import java.util.UUID;
|
2011-10-20 23:23:35 +00:00
|
|
|
import lombok.Delegate;
|
2011-04-23 00:30:59 +00:00
|
|
|
import org.bukkit.Achievement;
|
2011-06-11 10:36:17 +00:00
|
|
|
import org.bukkit.Effect;
|
2011-09-17 11:14:34 +00:00
|
|
|
import org.bukkit.GameMode;
|
2011-06-23 10:44:16 +00:00
|
|
|
import org.bukkit.Instrument;
|
2011-03-30 04:03:21 +00:00
|
|
|
import org.bukkit.Location;
|
2011-04-23 00:30:59 +00:00
|
|
|
import org.bukkit.Material;
|
2011-06-23 10:44:16 +00:00
|
|
|
import org.bukkit.Note;
|
2011-03-30 04:03:21 +00:00
|
|
|
import org.bukkit.Server;
|
2011-04-23 00:30:59 +00:00
|
|
|
import org.bukkit.Statistic;
|
2011-03-30 04:03:21 +00:00
|
|
|
import org.bukkit.World;
|
|
|
|
import org.bukkit.block.Block;
|
|
|
|
import org.bukkit.entity.Arrow;
|
|
|
|
import org.bukkit.entity.Egg;
|
|
|
|
import org.bukkit.entity.Entity;
|
|
|
|
import org.bukkit.entity.Player;
|
|
|
|
import org.bukkit.entity.Snowball;
|
|
|
|
import org.bukkit.entity.Vehicle;
|
2011-05-21 15:40:06 +00:00
|
|
|
import org.bukkit.event.entity.EntityDamageEvent;
|
2011-03-30 04:03:21 +00:00
|
|
|
import org.bukkit.inventory.ItemStack;
|
|
|
|
import org.bukkit.inventory.PlayerInventory;
|
2011-08-15 19:36:43 +00:00
|
|
|
import org.bukkit.map.MapView;
|
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;
|
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-03-30 04:03:21 +00:00
|
|
|
private Location location = new Location(null, 0, 0, 0, 0, 0);
|
2011-07-15 23:35:30 +00:00
|
|
|
private World world;
|
2011-06-11 10:36:17 +00:00
|
|
|
private UUID uniqueId = UUID.randomUUID();
|
2011-10-20 23:23:35 +00:00
|
|
|
@Delegate(types=org.bukkit.OfflinePlayer.class)
|
|
|
|
private final 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)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setCompassTarget(Location lctn)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
public InetSocketAddress getAddress()
|
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void kickPlayer(String string)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
public PlayerInventory getInventory()
|
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
public ItemStack getItemInHand()
|
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setItemInHand(ItemStack is)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
public int getHealth()
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setHealth(int i)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
public Egg throwEgg()
|
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Snowball throwSnowball()
|
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Arrow shootArrow()
|
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
public boolean isInsideVehicle()
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
public boolean leaveVehicle()
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Vehicle getVehicle()
|
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Location getLocation()
|
|
|
|
{
|
|
|
|
return location;
|
|
|
|
}
|
|
|
|
|
|
|
|
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)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
public int getEntityId()
|
|
|
|
{
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
public boolean performCommand(String string)
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
public boolean isPlayer()
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int getRemainingAir()
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public void setRemainingAir(int i)
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public int getMaximumAir()
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public void setMaximumAir(int i)
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public boolean isSneaking()
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setSneaking(boolean bln)
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public void updateInventory()
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public void chat(String string)
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public double getEyeHeight()
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public double getEyeHeight(boolean bln)
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public List<Block> getLineOfSight(HashSet<Byte> hs, int i)
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public Block getTargetBlock(HashSet<Byte> hs, int i)
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public List<Block> getLastTwoTargetBlocks(HashSet<Byte> hs, int i)
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public int getFireTicks()
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public int getMaxFireTicks()
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public void setFireTicks(int i)
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public void remove()
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
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-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public void setMomentum(Vector vector)
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public void setVelocity(Vector vector)
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public Vector getVelocity()
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public void damage(int i)
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public void damage(int i, Entity entity)
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public Location getEyeLocation()
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
|
|
|
|
2011-06-02 22:01:57 +00:00
|
|
|
public void sendRawMessage(String string)
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 04:03:21 +00:00
|
|
|
}
|
2011-03-30 17:58:00 +00:00
|
|
|
|
|
|
|
public Location getCompassTarget()
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 17:58:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public int getMaximumNoDamageTicks()
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 17:58:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public void setMaximumNoDamageTicks(int i)
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 17:58:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public int getLastDamage()
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 17:58:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public void setLastDamage(int i)
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 17:58:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public int getNoDamageTicks()
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 17:58:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public void setNoDamageTicks(int i)
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 17:58:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public boolean teleport(Location lctn)
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 17:58:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public boolean teleport(Entity entity)
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 17:58:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public Entity getPassenger()
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 17:58:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public boolean setPassenger(Entity entity)
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 17:58:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public boolean isEmpty()
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 17:58:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public boolean eject()
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-03-30 17:58:00 +00:00
|
|
|
}
|
2011-04-08 08:16:28 +00:00
|
|
|
|
|
|
|
public void saveData()
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-04-08 08:16:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public void loadData()
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-04-08 08:16:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public boolean isSleeping()
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-04-08 08:16:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public int getSleepTicks()
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-04-08 08:16:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public List<Entity> getNearbyEntities(double d, double d1, double d2)
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-04-08 08:16:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public boolean isDead()
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-04-08 08:16:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public float getFallDistance()
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-04-08 08:16:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public void setFallDistance(float f)
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-04-08 08:16:28 +00:00
|
|
|
}
|
2011-04-13 12:37:56 +00:00
|
|
|
|
|
|
|
public void setSleepingIgnored(boolean bln)
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-04-13 12:37:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public boolean isSleepingIgnored()
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-04-13 12:37:56 +00:00
|
|
|
}
|
2011-04-23 00:30:59 +00:00
|
|
|
|
|
|
|
public void awardAchievement(Achievement a)
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-04-23 00:30:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public void incrementStatistic(Statistic ststc)
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-04-23 00:30:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public void incrementStatistic(Statistic ststc, int i)
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-04-23 00:30:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public void incrementStatistic(Statistic ststc, Material mtrl)
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-04-23 00:30:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public void incrementStatistic(Statistic ststc, Material mtrl, int i)
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-04-23 00:30:59 +00:00
|
|
|
}
|
2011-05-10 12:23:18 +00:00
|
|
|
|
|
|
|
public void playNote(Location lctn, byte b, byte b1)
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-05-10 12:23:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public void sendBlockChange(Location lctn, Material mtrl, byte b)
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-05-10 12:23:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public void sendBlockChange(Location lctn, int i, byte b)
|
|
|
|
{
|
2011-05-10 19:02:59 +00:00
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
2011-05-10 12:23:18 +00:00
|
|
|
}
|
2011-05-21 15:40:06 +00:00
|
|
|
|
|
|
|
public void setLastDamageCause(EntityDamageEvent ede)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
|
|
|
}
|
|
|
|
|
|
|
|
public EntityDamageEvent getLastDamageCause()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
|
|
|
}
|
2011-06-11 10:36:17 +00:00
|
|
|
|
|
|
|
public void playEffect(Location lctn, Effect effect, int i)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException(Util.i18n("notSupportedYet"));
|
|
|
|
}
|
|
|
|
|
|
|
|
public boolean sendChunkChange(Location lctn, int i, int i1, int i2, byte[] bytes)
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
public UUID getUniqueId()
|
|
|
|
{
|
|
|
|
return uniqueId;
|
|
|
|
}
|
2011-06-23 10:44:16 +00:00
|
|
|
|
|
|
|
public void playNote(Location lctn, Instrument i, Note note)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setPlayerTime(long l, boolean bln)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
public long getPlayerTime()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
public long getPlayerTimeOffset()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
public boolean isPlayerTimeRelative()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
public void resetPlayerTime()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
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
|
|
|
}
|
|
|
|
|
|
|
|
public boolean isPermissionSet(Permission prmsn)
|
|
|
|
{
|
2011-07-17 22:30:39 +00:00
|
|
|
return false;
|
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
|
|
|
}
|
|
|
|
|
|
|
|
public boolean hasPermission(Permission prmsn)
|
|
|
|
{
|
2011-07-17 22:30:39 +00:00
|
|
|
return false;
|
2011-07-17 21:31:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public PermissionAttachment addAttachment(Plugin plugin, String string, boolean bln)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
public PermissionAttachment addAttachment(Plugin plugin)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
public PermissionAttachment addAttachment(Plugin plugin, String string, boolean bln, int i)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
public PermissionAttachment addAttachment(Plugin plugin, int i)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
public void removeAttachment(PermissionAttachment pa)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
public void recalculatePermissions()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
public Set<PermissionAttachmentInfo> getEffectivePermissions()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2011-10-20 23:23:35 +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 getExperience()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void setExperience(int i)
|
|
|
|
{
|
|
|
|
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-21 20:29:31 +00:00
|
|
|
@Override
|
|
|
|
public Location getBedSpawnLocation()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
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-03-30 04:03:21 +00:00
|
|
|
}
|