Hello,
I need to grab an entity and keep it stationary in air, i tried this code but it still trying to fall:
x = player.posX + player.getLookVec().xCoord;
y = player.posY + player.getLookVec().yCoord;
z = player.posZ + player.getLookVec().zCoord;
entity.prevPosX = x;
entity.prevPosY = y;
entity.prevPosZ = z;
entity.setPosition(x, y, z);
entity.fallDistance = 0.0F;
entity.onGround = false;
entity.isAirBorne = true;
entity.timeUntilPortal = 5;
entity.setInWeb();
help....