package org.allaymc.server.network.protocol.v844;

import org.allaymc.server.network.protocol.ProtocolData;
import org.allaymc.server.network.protocol.v827.PacketEncoder_v827;
import org.cloudburstmc.protocol.bedrock.data.ExperimentData;
import org.cloudburstmc.protocol.bedrock.data.SoundEvent;

import java.util.List;

public class PacketEncoder_v844 extends PacketEncoder_v827 {
    public PacketEncoder_v844(ProtocolData data) {
        super(data);
    }

    @Override
    protected boolean supportsSoundEvent(SoundEvent soundEvent) {
        return soundEvent == SoundEvent.SINGLE_ITEM_SWAP
                || soundEvent == SoundEvent.MULTI_ITEM_SWAP
                || super.supportsSoundEvent(soundEvent);
    }

    @Override
    protected List<ExperimentData> createExperiments() {
        return createDefaultExperiments();
    }
}
