cn.nukkit.network.protocol.CameraPresetsPacket Maven / Gradle / Ivy
package cn.nukkit.network.protocol;
import cn.nukkit.api.PowerNukkitXOnly;
import cn.nukkit.api.Since;
import cn.nukkit.nbt.tag.CompoundTag;
import lombok.Getter;
@Since("1.19.70-r1")
@PowerNukkitXOnly
@Getter
public class CameraPresetsPacket extends DataPacket {
private CompoundTag data;
@Override
public byte pid() {
return ProtocolInfo.CAMERA_PRESETS_PACKET;
}
@Override
public void decode() {
this.data = this.getTag();
}
@Override
public void encode() {
this.reset();
this.putTag(this.data);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy