Package net.minecraft.network.packet

Examples of net.minecraft.network.packet.Packet9Respawn


            toDimension.spawnEntityInWorld(entityPlayerMP);
          }
          Log.severe("Can't transfer player to the dimension they are already in! " + entityPlayerMP + ", dimension: " + Log.name(toDimension));
          return;
        }
        entityPlayerMP.playerNetServerHandler.sendPacketToPlayer(new Packet9Respawn(entityPlayerMP.dimension, (byte) entityPlayerMP.worldObj.difficultySetting, toDimension.getWorldInfo().getTerrainType(), toDimension.getHeight(), entityPlayerMP.theItemInWorldManager.getGameType()));
        fromDimension.playerEntities.remove(entityPlayerMP);
        fromDimension.loadedEntityList.remove(entityPlayerMP);
        fromDimension.onEntityRemoved(entityPlayerMP);
        fromDimension.updateAllPlayersSleepingFlag();
        int x = entityPlayerMP.chunkCoordX;
View Full Code Here

TOP

Related Classes of net.minecraft.network.packet.Packet9Respawn

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.