}
case 2:
{
int animationTime = dataStream.readInt();
Vector3 anchorPosition = new Vector3(dataStream.readDouble(), dataStream.readDouble(), dataStream.readDouble());
VectorWorld targetPosition = new VectorWorld(PacketHandler.readNBTTagCompound(dataStream));
boolean isPreview = dataStream.readBoolean();
/**
* Holographic Orbit FXs
*/
NBTTagCompound nbt = PacketHandler.readNBTTagCompound(dataStream);
NBTTagList nbtList = (NBTTagList) nbt.getTag("list");
for (int i = 0; i < nbtList.tagCount(); i++)
{
// Render hologram for starting position
Vector3 vector = new Vector3((NBTTagCompound) nbtList.tagAt(i)).translate(0.5);
if (isPreview)
{
ModularForceFieldSystem.proxy.renderHologramOrbit(this, this.worldObj, anchorPosition, vector, 1, 1, 1, animationTime, 30f);
}
else
{
ModularForceFieldSystem.proxy.renderHologramOrbit(this, this.worldObj, anchorPosition, vector, 0.1f, 1, 0, animationTime, 30f);
}
if (targetPosition.world != null && targetPosition.world.getChunkProvider().chunkExists(targetPosition.intX(), targetPosition.intZ()))
{
// Render hologram for destination position
Vector3 destination = vector.clone().difference(anchorPosition).add(targetPosition);
if (isPreview)