Package org.spout.vanilla.protocol.msg.world

Examples of org.spout.vanilla.protocol.msg.world.EffectMessage


  @EventHandler
  public void onParticleEffect(PlayParticleEffectEvent event) {
    int x = event.getPosition().getBlockX();
    int y = event.getPosition().getBlockY();
    int z = event.getPosition().getBlockZ();
    event.getMessages().add(new EffectMessage(event.getEffect().getId(), x, y, z, event.getData(), getRepositionManager()));
  }
View Full Code Here


    int x = buffer.readInt();
    int y = buffer.readUnsignedByte();
    int z = buffer.readInt();
    int data = buffer.readInt();
    boolean volumeDecrease = buffer.readByte() != 0;
    return new EffectMessage(id, x, y, z, data, volumeDecrease, NullRepositionManager.getInstance());
  }
View Full Code Here

TOP

Related Classes of org.spout.vanilla.protocol.msg.world.EffectMessage

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.