feat: BlackKnife DeltaMine v1.0.0 - Paper 1.21.1 SWOON/Stars/Sword/Diamond/Lunge/Snipe/Tri/Overhead + Magic 4commons Parry chat 400words +12h updates

This commit is contained in:
SashegDev
2026-08-27 01:55:05 +03:00
commit 10faf5679f
29 changed files with 2681 additions and 0 deletions
@@ -0,0 +1,43 @@
package me.sashegdev.blackknife;
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
public class MagicProfile {
public String nick;
public UUID uuid;
public long firstSeen;
public int casts;
public double tpSpent;
public int heals;
public int selectedIdx;
public List<String> common = new ArrayList<>(List.of("DETERMORE","FROSHE","PRAYER","SHIELDO"));
public List<String> rare = new ArrayList<>();
public List<String> story = new ArrayList<>();
public boolean rareRolled;
public MagicProfile(String nick, UUID uuid) {
this.nick = nick; this.uuid = uuid; this.firstSeen = System.currentTimeMillis();
}
public List<MagicType> all() {
List<MagicType> out = new ArrayList<>();
for (String s : common) try { out.add(MagicType.valueOf(s)); } catch (Exception ignored) {}
for (String s : rare) try { out.add(MagicType.valueOf(s)); } catch (Exception ignored) {}
for (String s : story) try { out.add(MagicType.valueOf(s)); } catch (Exception ignored) {}
if (out.isEmpty()) out.add(MagicType.DETERMORE);
return out;
}
public MagicType getSelected() {
List<MagicType> a = all();
if (selectedIdx < 0 || selectedIdx >= a.size()) selectedIdx = 0;
return a.get(selectedIdx);
}
public void cycle() {
List<MagicType> a = all();
selectedIdx = (selectedIdx + 1) % a.size();
}
}