Class S2APacketParticles

  • All Implemented Interfaces:
    Packet<INetHandlerPlayClient>

    public class S2APacketParticles
    extends java.lang.Object
    implements Packet<INetHandlerPlayClient>
    + This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
    • Field Detail

      • xCoord

        public float xCoord
      • yCoord

        public float yCoord
      • zCoord

        public float zCoord
      • xOffset

        public float xOffset
      • yOffset

        public float yOffset
      • zOffset

        public float zOffset
      • particleSpeed

        public float particleSpeed
      • particleCount

        public int particleCount
      • longDistance

        public boolean longDistance
      • particleArguments

        public int[] particleArguments
    • Constructor Detail

      • S2APacketParticles

        public S2APacketParticles()
      • S2APacketParticles

        public S2APacketParticles​(EnumParticleTypes particleTypeIn,
                                  boolean longDistanceIn,
                                  float x,
                                  float y,
                                  float z,
                                  float xOffsetIn,
                                  float yOffset,
                                  float zOffset,
                                  float particleSpeedIn,
                                  int particleCountIn,
                                  int... particleArgumentsIn)
    • Method Detail

      • isLongDistance

        public boolean isLongDistance()
      • getXCoordinate

        public double getXCoordinate()
        + Gets the x coordinate to spawn the particle.
      • getYCoordinate

        public double getYCoordinate()
        + Gets the y coordinate to spawn the particle.
      • getZCoordinate

        public double getZCoordinate()
        + Gets the z coordinate to spawn the particle.
      • getXOffset

        public float getXOffset()
        + Gets the x coordinate offset for the particle. The particle may use the offset for particle spread.
      • getYOffset

        public float getYOffset()
        + Gets the y coordinate offset for the particle. The particle may use the offset for particle spread.
      • getZOffset

        public float getZOffset()
        + Gets the z coordinate offset for the particle. The particle may use the offset for particle spread.
      • getParticleSpeed

        public float getParticleSpeed()
        + Gets the speed of the particle animation (used in client side rendering).
      • getParticleCount

        public int getParticleCount()
        + Gets the amount of particles to spawn
      • getParticleArgs

        public int[] getParticleArgs()
        + Gets the particle arguments. Some particles rely on block and/or item ids and sometimes metadata ids to color or texture the particle.