Package net.minecraft.network.packet

Examples of net.minecraft.network.packet.Packet41EntityEffect


        entityPlayerMP.theItemInWorldManager.setWorld(toDimension);
        this.updateTimeAndWeatherForPlayer(entityPlayerMP, toDimension);
        this.syncPlayerInventory(entityPlayerMP);

        for (PotionEffect potionEffect : (Iterable<PotionEffect>) entityPlayerMP.getActivePotionEffects()) {
          entityPlayerMP.playerNetServerHandler.sendPacketToPlayer(new Packet41EntityEffect(entityPlayerMP.entityId, potionEffect));
        }

        GameRegistry.onPlayerChangedDimension(entityPlayerMP);
      }
      fromDimension.getPlayerManager().removePlayer(entityPlayerMP);
View Full Code Here

TOP

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

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.