Delete src/main/java/de/lasertag/weapon/WeaponType.java via Git Manager GUI
This commit is contained in:
@@ -1,34 +0,0 @@
|
||||
package de.lasertag.weapon;
|
||||
|
||||
import org.bukkit.Material;
|
||||
|
||||
/**
|
||||
* Waffen-Typen.
|
||||
*
|
||||
* Item-Auswahl (Minecraft 1.20.1):
|
||||
* BLAZE_ROD → Laser-Pistole – Leuchtendes orange Item, futuristisch
|
||||
* CROSSBOW → Sniper – Sieht eindeutig wie eine Fernkampfwaffe aus
|
||||
* TRIDENT → Shotgun – Groß, wuchtig, kurze Reichweite passend
|
||||
* LIGHTNING_ROD→ Rapid-Fire – Schmaler Metallstab, elektrisch wirkend
|
||||
*
|
||||
* Alle Waffen-Werte (Schaden, Reichweite, Cooldown) kommen aus config.yml.
|
||||
*/
|
||||
public enum WeaponType {
|
||||
|
||||
LASER_GUN ("laser-gun", Material.BLAZE_ROD),
|
||||
SNIPER ("sniper", Material.CROSSBOW),
|
||||
SHOTGUN ("shotgun", Material.TRIDENT),
|
||||
RAPID_FIRE("rapid-fire", Material.LIGHTNING_ROD);
|
||||
|
||||
private final String configKey;
|
||||
private final Material material;
|
||||
|
||||
WeaponType(String configKey, Material material) {
|
||||
this.configKey = configKey;
|
||||
this.material = material;
|
||||
}
|
||||
|
||||
public String getConfigKey() { return configKey; }
|
||||
public Material getMaterial() { return material; }
|
||||
public int getSlot() { return ordinal(); }
|
||||
}
|
||||
Reference in New Issue
Block a user