Class ObfuscatedReward
java.lang.Object
com.Moshu.TreasureHunt.Components.Rewards.ObfuscatedReward
Represents an obfuscated reward item used to hide the true identity of treasure rewards.
This class manages placeholder items that are shown to players instead of the actual
rewards until they interact with them.
Supports various item types including vanilla items, ItemsAdder, Oraxen, and Nexo items.
-
Constructor Summary
ConstructorsConstructorDescriptionObfuscatedReward
(String itemStr, String name, List<String> lore) Creates a new obfuscated reward with the specified configuration. -
Method Summary
-
Constructor Details
-
ObfuscatedReward
Creates a new obfuscated reward with the specified configuration.- Parameters:
itemStr
- The item identifier stringname
- The display name of the obfuscated itemlore
- The lore text for the obfuscated item
-
-
Method Details
-
getItemId
-
getName
-
getLore
-
isOraxen
public boolean isOraxen() -
isNexo
public boolean isNexo() -
isItemsAdder
public boolean isItemsAdder() -
get
public org.bukkit.inventory.ItemStack get()
-