This commit is contained in:
tyuXX 2026-07-11 00:17:56 +03:00
parent bb2beec3c4
commit 6a655eb289
22 changed files with 376 additions and 11 deletions

View file

@ -2,7 +2,9 @@ package org.gsdistance.grimmsServer.Data.Player;
public enum PlayerCapability {
AUTOSELL("Auto Sell", "Allows the player to automatically sell items in their inventory when they reach a certain threshold.", "autosell"),
MAGNET("Magnet", "Magnetises items in a 10 block radius", "magnet");
MAGNET("Magnet", "Magnetises items in a 10 block radius", "magnet"),
VEINMINER("Veinminer", "Breaks all adjacent ores of the same type within 8 blocks and teleports drops to you.", "veinminer"),
SATURATION_PERK("Saturation Perk", "Gives 10 seconds of saturation that refreshes every second when enabled.", "saturation_perk");
public final String displayName;
public final String description;
@ -16,6 +18,6 @@ public enum PlayerCapability {
// $FF: synthetic method
private static PlayerCapability[] $values() {
return new PlayerCapability[]{AUTOSELL, MAGNET};
return new PlayerCapability[]{AUTOSELL, MAGNET, VEINMINER, SATURATION_PERK};
}
}