This commit is contained in:
bbldrizzy committed 2026-10-23 00:28:57 +01:00
1 parent 83aea53e57
commit aa4f6b6ddc
842 files changed
+47284 -91563

No files matched your search

@@ -0,0 +1,30 @@
package dev.zprestige.prestige.combat;
import net.minecraft.entity.EquipmentSlot;
// $VF: synthetic class
public class EquipmentSlotSwitchMap {
public static final int[] SWITCH_MAP = new int[EquipmentSlot.values().length];
static {
try {
SWITCH_MAP[EquipmentSlot.HEAD.ordinal()] = 1;
} catch (NoSuchFieldError headMissing) {
}
try {
SWITCH_MAP[EquipmentSlot.CHEST.ordinal()] = 2;
} catch (NoSuchFieldError chestMissing) {
}
try {
SWITCH_MAP[EquipmentSlot.LEGS.ordinal()] = 3;
} catch (NoSuchFieldError legsMissing) {
}
try {
SWITCH_MAP[EquipmentSlot.FEET.ordinal()] = 4;
} catch (NoSuchFieldError feetMissing) {
}
}
}