-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
32f4ff8
commit 513df62
Showing
2 changed files
with
55 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 53 additions & 0 deletions
53
src/main/java/me/defender/cosmetics/api/categories/islandtoppers/items/dummy.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
package me.defender.cosmetics.api.categories.islandtoppers.items; | ||
|
||
import com.cryptomorin.xseries.XMaterial; | ||
import me.defender.cosmetics.api.categories.islandtoppers.IslandTopper; | ||
import me.defender.cosmetics.api.enums.RarityType; | ||
import org.bukkit.Location; | ||
import org.bukkit.entity.Player; | ||
import org.bukkit.inventory.ItemStack; | ||
|
||
import java.util.Arrays; | ||
import java.util.List; | ||
|
||
public class dummy extends IslandTopper { | ||
@Override | ||
public ItemStack getItem() { | ||
return XMaterial.BARRIER.parseItem(); | ||
} | ||
|
||
@Override | ||
public String base64() { | ||
return null; | ||
} | ||
|
||
@Override | ||
public String getIdentifier() { | ||
return "disabled"; | ||
} | ||
|
||
@Override | ||
public String getDisplayName() { | ||
return "DISABLED"; | ||
} | ||
|
||
@Override | ||
public List<String> getLore() { | ||
return Arrays.asList("Island Toppers are DISABLED for some reason!"); | ||
} | ||
|
||
@Override | ||
public int getPrice() { | ||
return 0; | ||
} | ||
|
||
@Override | ||
public RarityType getRarity() { | ||
return RarityType.NONE; | ||
} | ||
|
||
@Override | ||
public void execute(Player player, Location topperLocation, String selected) { | ||
|
||
} | ||
} |