Finished BlankTeleporter?

This commit is contained in:
zangamj 2016-08-05 10:20:08 -04:00
parent c319f79aa8
commit c753535e0f

View file

@ -4,35 +4,23 @@ import net.minecraft.entity.Entity;
import net.minecraft.world.Teleporter;
import net.minecraft.world.WorldServer;
public class BlankTeleporter extends Teleporter
{
public class BlankTeleporter extends Teleporter {
public BlankTeleporter(WorldServer worldIn) {super(worldIn);}
public BlankTeleporter(WorldServer par1WorldServer)
{
super(par1WorldServer);
}
/**
* Create a new portal near an entity.
*/
/**
* Create a new portal near an entity.
*/
@Override
public void placeInPortal(Entity par1Entity, float rotationyaw) {
}
public void placeInPortal(Entity entityIn, float rotationYaw) {}
public void setEntityPosition(Entity entity, double x, double y, double z) {
entity.lastTickPosX = entity.prevPosX = entity.posX = x;
entity.lastTickPosY = entity.prevPosY = entity.posY = y + entity.getYOffset();
entity.lastTickPosZ = entity.prevPosZ = entity.posZ = z;
y = y+entity.getYOffset();
entity.lastTickPosX = entity.prevPosX = x;
entity.lastTickPosY = entity.prevPosY = y;
entity.lastTickPosZ = entity.prevPosZ = z;
entity.setPosition(x, y, z);
}
@Override
public void removeStalePortalLocations(long par1) {
}
public void removeStalePortalLocations(long par1) {}
}