Examples of HealthUpdatePacket


Examples of tconstruct.util.network.HealthUpdatePacket

            return;

        // this callback is only called serverside
        float oldHealth = event.player.getHealth();
        // tell the client to update its hp
        TConstruct.packetPipeline.sendTo(new HealthUpdatePacket(oldHealth), (net.minecraft.entity.player.EntityPlayerMP) event.player);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.