Add a few constants

This commit is contained in:
Glease committed 2021-05-29 23:33:22 +08:00
1 parent 087cab652d
commit 6795b18259
4 files changed
+21 -4

No files matched your search

+2 -2
View File
@@ -59,7 +59,7 @@ artifacts {
idea {
module {
inheritOutputDirs = false
outputDir = compileJava.destinationDir
testOutputDir = compileTestJava.destinationDir
outputDir = new File(compileJava.destinationDir.parentFile.parentFile, "idea")
testOutputDir = new File(compileTestJava.destinationDir.parentFile.parentFile, "ideaTest")
}
}
+1 -1
View File
@@ -1,5 +1,5 @@
modGroup = com.gtnewhorizon
modVersion = 1.0.0
modVersion = 1.0.1
modBaseName = StructureLib
forgeVersion = 1.7.10-10.13.4.1614-1.7.10
@@ -12,6 +12,22 @@ import net.minecraft.world.World;
import static com.gtnewhorizon.structurelib.StructureLib.proxy;
public class StructureLibAPI {
public static final int HINT_BLOCK_META_GENERIC_0 = 0;
public static final int HINT_BLOCK_META_GENERIC_1 = 1;
public static final int HINT_BLOCK_META_GENERIC_2 = 2;
public static final int HINT_BLOCK_META_GENERIC_3 = 3;
public static final int HINT_BLOCK_META_GENERIC_4 = 4;
public static final int HINT_BLOCK_META_GENERIC_5 = 5;
public static final int HINT_BLOCK_META_GENERIC_6 = 6;
public static final int HINT_BLOCK_META_GENERIC_7 = 7;
public static final int HINT_BLOCK_META_GENERIC_8 = 8;
public static final int HINT_BLOCK_META_GENERIC_9 = 9;
public static final int HINT_BLOCK_META_GENERIC_10 = 10;
public static final int HINT_BLOCK_META_GENERIC_11 = 11;
public static final int HINT_BLOCK_META_DEFAULT = 12;
public static final int HINT_BLOCK_META_AIR = 13;
public static final int HINT_BLOCK_META_NOT_AIR = 14;
public static final int HINT_BLOCK_META_ERROR = 15;
public static void hintParticleTinted(World w, int x, int y, int z, IIcon[] icons, short[] RGBa) {
proxy.hintParticleTinted(w, x, y, z, icons, RGBa);
}
@@ -51,7 +51,8 @@ public class StructureDefinition<T> implements IStructureDefinition<T> {
/**
* Adds shape
* +- is air/no air checks
* + is anything but air
* - is air checks
* space bar is skip
* ~ is also skip (but marks controller position, optional and logically it is a space...)
* rest needs to be defined