Search in sources :

Example 1 with MessageServerEntitySkinData

use of riskyken.armourersWorkshop.common.network.messages.server.MessageServerEntitySkinData in project Armourers-Workshop by RiskyKen.

the class ExPropsEntityEquipmentData method sendEquipmentDataToPlayerToAllPlayersAround.

private void sendEquipmentDataToPlayerToAllPlayersAround() {
    if (!allowNetworkUpdates) {
        return;
    }
    TargetPoint p = new TargetPoint(entity.dimension, entity.posX, entity.posY, entity.posZ, 512);
    PacketHandler.networkWrapper.sendToAllAround(new MessageServerEntitySkinData(equipmentData, entity.getEntityId()), p);
}
Also used : MessageServerEntitySkinData(riskyken.armourersWorkshop.common.network.messages.server.MessageServerEntitySkinData) TargetPoint(cpw.mods.fml.common.network.NetworkRegistry.TargetPoint)

Aggregations

TargetPoint (cpw.mods.fml.common.network.NetworkRegistry.TargetPoint)1 MessageServerEntitySkinData (riskyken.armourersWorkshop.common.network.messages.server.MessageServerEntitySkinData)1