Package forestry.core.network

Examples of forestry.core.network.PacketFXSignal


  public boolean setBlockWithNotify(World world, int x, int y, int z, Block block) {
    return world.setBlock(x, y, z, block, 0, Defaults.FLAG_BLOCK_SYNCH);
  }

  public void playSoundFX(World world, int x, int y, int z, Block block) {
    Proxies.net.sendNetworkPacket(new PacketFXSignal(PacketFXSignal.SoundFXType.LEAF, x, y, z, block, 0), x, y, z);
  }
View Full Code Here


  }

  public void sendFXSignal(PacketFXSignal.VisualFXType visualFX, PacketFXSignal.SoundFXType soundFX, World world, int xCoord, int yCoord, int zCoord,
      Block block, int i) {
    if (Proxies.common.isSimulating(world))
      Proxies.net.sendNetworkPacket(new PacketFXSignal(visualFX, soundFX, xCoord, yCoord, zCoord, block, i), xCoord, yCoord, zCoord);
  }
View Full Code Here

TOP

Related Classes of forestry.core.network.PacketFXSignal

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.