/FileExtraction/Java_unseen/trychen_ChinaCraft/src/main/java/unstudio/chinacraft/event/jade/JadePinkCDReduceEvent.java
package unstudio.chinacraft.event.jade;

import java.util.UUID;

import cpw.mods.fml.common.eventhandler.Cancelable;
import cpw.mods.fml.common.eventhandler.Event;

@Cancelable
public class JadePinkCDReduceEvent extends Event {

    public final UUID playerUUID;
    public final int CD;

    public JadePinkCDReduceEvent(UUID playerUUID, int CD) {
        this.playerUUID = playerUUID;
        this.CD = CD;
    }

    public int getNewCD() {
        return CD - 1;
    }

    public int getOldCD() {
        return CD;
    }
}
