2023-09-06 04:34:53 +02:00
|
|
|
package com.moulberry.axiom;
|
|
|
|
|
|
|
|
import net.minecraft.core.BlockPos;
|
|
|
|
import org.bukkit.NamespacedKey;
|
|
|
|
|
|
|
|
public class AxiomConstants {
|
|
|
|
|
|
|
|
public static final long MIN_POSITION_LONG = BlockPos.asLong(-33554432, -2048, -33554432);
|
|
|
|
static {
|
|
|
|
if (MIN_POSITION_LONG != 0b1000000000000000000000000010000000000000000000000000100000000000L) {
|
|
|
|
throw new Error("BlockPos representation changed!");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-10-10 04:25:02 +02:00
|
|
|
public static final int API_VERSION = 7;
|
2023-09-06 04:34:53 +02:00
|
|
|
public static final NamespacedKey ACTIVE_HOTBAR_INDEX = new NamespacedKey("axiom", "active_hotbar_index");
|
|
|
|
public static final NamespacedKey HOTBAR_DATA = new NamespacedKey("axiom", "hotbar_data");
|
|
|
|
|
|
|
|
public static final NamespacedKey ACTIVE_VIEW = new NamespacedKey("axiom", "active_view");
|
|
|
|
public static final NamespacedKey VIEWS = new NamespacedKey("axiom", "views");
|
|
|
|
|
|
|
|
}
|