Examples of DeviceUpdateExposureMessage


Examples of erogenousbeef.bigreactors.net.message.DeviceUpdateExposureMessage

  }
 
  private void sendExposureUpdate() {
    if(!this.worldObj.isRemote) {
      // Send unrotated, as the rotation will be re-applied on the client
            CommonPacketHandler.INSTANCE.sendToAllAround(new DeviceUpdateExposureMessage(xCoord, yCoord, zCoord, exposures), new NetworkRegistry.TargetPoint(worldObj.provider.dimensionId, xCoord, yCoord, zCoord, 50));
            this.markChunkDirty();
    }
    else {
      // Re-render block on client
      worldObj.markBlockForUpdate(xCoord, yCoord, zCoord);
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.