Skip to content

Commit ea38c4e

Browse files
committed
add API to get hologram item
1 parent 50e8c97 commit ea38c4e

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

src/main/java/com/gtnewhorizon/structurelib/StructureLibAPI.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public static void disableInstrument() {
8686

8787
/**
8888
* Check if instrumenting is enabled.
89-
*
89+
*
9090
* @return true if enabled, false otherwise
9191
*/
9292
public static boolean isInstrumentEnabled() {
@@ -272,6 +272,13 @@ public static Item getItemBlockHint() {
272272
return StructureLib.itemBlockHint;
273273
}
274274

275+
/**
276+
* Get the hologram item.
277+
*/
278+
public static Item getDefaultHologramItem() {
279+
return StructureLib.itemConstructableTrigger;
280+
}
281+
275282
/**
276283
* Check if structure debug mode is on.
277284
*

0 commit comments

Comments
 (0)