Class TreasureDebuff
java.lang.Object
com.Moshu.TreasureHunt.Components.TreasureDebuff
Represents a debuff system that can be applied to players during treasure hunts.
 This class manages negative effects that can be triggered when players interact
 with treasures, including potion effects, shockwaves, and mob respawning.
- 
Constructor Summary
ConstructorsConstructorDescriptionCreates a new treasure debuff with the specified treasure data. - 
Method Summary
Modifier and TypeMethodDescriptionvoidApplies debuff effects to players near the treasure when triggered.intList<org.bukkit.potion.PotionEffect> booleanbooleanbooleanvoidsetClicksToDebuff(int clicksToDebuff) voidsetEnabled(boolean enabled) voidsetPotionEffects(List<org.bukkit.potion.PotionEffect> potionEffects) voidsetRespawnMobs(boolean respawnMobs) voidsetShockwave(boolean shockwave)  
- 
Constructor Details
- 
TreasureDebuff
Creates a new treasure debuff with the specified treasure data.- Parameters:
 d- The treasure data configuration
 
 - 
 - 
Method Details
- 
getTreasureData
 - 
isEnabled
public boolean isEnabled() - 
setEnabled
public void setEnabled(boolean enabled)  - 
getClicksToDebuff
public int getClicksToDebuff() - 
setClicksToDebuff
public void setClicksToDebuff(int clicksToDebuff)  - 
isShockwave
public boolean isShockwave() - 
setShockwave
public void setShockwave(boolean shockwave)  - 
isRespawnMobs
public boolean isRespawnMobs() - 
setRespawnMobs
public void setRespawnMobs(boolean respawnMobs)  - 
getPotionEffects
 - 
setPotionEffects
 - 
debuff
Applies debuff effects to players near the treasure when triggered.- Parameters:
 t- The treasure instance to apply debuffs for
 
 -