1
0
Fork 0
mirror of https://github.com/haselkern/Minecraft-ArmorStand.git synced 2025-05-17 15:05:33 +00:00
Minecraft-ArmorStand/src/Constants.js
Lars Martens ecac9121a4 Add armor suggestions
I also changed a lot of the version comparison logic to be more sensible
by using comparable constants instead of always checking multiple
strings.
2021-08-28 17:55:31 +02:00

10 lines
No EOL
259 B
JavaScript

// Constants for easily handling supported minecraft versions.
// Earlier versions should have lower numbers, so that comparisons work as expected.
export default {
MC_1_8: 1,
MC_1_9: 2,
MC_1_11: 3,
MC_1_13: 4,
MC_1_14: 5,
MC_1_16: 6
}