Solved How to find out the constructor of a packet

Discussion in 'Plugin Development' started by mcdorli, Nov 30, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    mcdorli

    Hi guys! I was trying to implement a simple plugin with particles, but I couldn't find out what the packet's real constructor is. I even looked up in the net.minecraft.server github, but it didn't helped me a lot
    Code:
    public PacketPlayOutWorldParticles(String s, float f, float f1, float f2, float f3, float f4, float f5, float f6, int i) {
    this.a = s;
    this.b = f;
    this.c = f1;
    this.d = f2;
    this.e = f3;
    this.f = f4;
    this.g = f5;
    this.h = f6;
    this.i = i;
    }
    
    My question is, how can you find out the constructor of a packet. I don't just mean PacketPlayOutWorldParticles, but every packet? Thank for the help.
     
  2. Offline

    Zombie_Striker

  3. Offline

    mcdorli

  4. Offline

    LemonCoder

    So is this thread solved?
     
Thread Status:
Not open for further replies.

Share This Page