Class PunchBlockParticle

java.lang.Object
org.cloudburstmc.server.level.particle.Particle
org.cloudburstmc.server.level.particle.PunchBlockParticle

public class PunchBlockParticle extends Particle
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    PunchBlockParticle​(com.nukkitx.math.vector.Vector3f pos, org.cloudburstmc.api.block.BlockState state, org.cloudburstmc.api.util.Direction face)
     
    PunchBlockParticle​(com.nukkitx.math.vector.Vector3f pos, org.cloudburstmc.api.util.Identifier blockId, int blockDamage, org.cloudburstmc.api.util.Direction face)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.nukkitx.protocol.bedrock.BedrockPacket[]
     

    Methods inherited from class org.cloudburstmc.server.level.particle.Particle

    getPosition, setPosition

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • data

      protected final int data
  • Constructor Details

    • PunchBlockParticle

      public PunchBlockParticle(com.nukkitx.math.vector.Vector3f pos, org.cloudburstmc.api.block.BlockState state, org.cloudburstmc.api.util.Direction face)
    • PunchBlockParticle

      public PunchBlockParticle(com.nukkitx.math.vector.Vector3f pos, org.cloudburstmc.api.util.Identifier blockId, int blockDamage, org.cloudburstmc.api.util.Direction face)
  • Method Details

    • encode

      public com.nukkitx.protocol.bedrock.BedrockPacket[] encode()
      Specified by:
      encode in class Particle