All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.nukkit.network.protocol.OnScreenTextureAnimationPacket Maven / Gradle / Ivy

There is a newer version: 1.20.40-r1
Show newest version
package cn.nukkit.network.protocol;

public class OnScreenTextureAnimationPacket extends DataPacket {

    public int effectId;

    @Override
    public byte pid() {
        return ProtocolInfo.ON_SCREEN_TEXTURE_ANIMATION_PACKET;
    }

    @Override
    public void decode() {
        this.effectId = this.getLInt();
    }

    @Override
    public void encode() {
        this.reset();
        this.putLInt(this.effectId);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy