package top.r3944realms.lib39.core.sync;

import top.r3944realms.lib39.core.network.NetworkHandler;
import top.r3944realms.lib39.core.network.toClient.SyncNBTCapDataEntityS2CPacket;

/**
 * The interface Forge update.
 */
public interface IForgeUpdate extends IUpdate {
    default void update() {
        NetworkHandler.sendToAllPlayer(new SyncNBTCapDataEntityS2CPacket(getSyncData().entityId(), getSyncData().id, getSyncData().serializeNBT()));
    }
}
