summaryrefslogtreecommitdiff
path: root/src/main/java/com/keuin/ohmyvanillamc/DebugUtil.java
diff options
context:
space:
mode:
authorKeuin <[email protected]>2021-01-15 15:33:52 +0800
committerkeuin <[email protected]>2021-01-15 15:33:52 +0800
commit4a0e006c6e3dc63567d84e6bdb28839ea3380941 (patch)
treed08778929e7ab872651844bd0047a351122cf557 /src/main/java/com/keuin/ohmyvanillamc/DebugUtil.java
parentd044c4ebf8c4ad577711afb1875ce5265bc669d8 (diff)
Implement MC-113809 (zero-tick plants farm) reintroduction (only cactus is implemented).
Diffstat (limited to 'src/main/java/com/keuin/ohmyvanillamc/DebugUtil.java')
-rw-r--r--src/main/java/com/keuin/ohmyvanillamc/DebugUtil.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/com/keuin/ohmyvanillamc/DebugUtil.java b/src/main/java/com/keuin/ohmyvanillamc/DebugUtil.java
new file mode 100644
index 0000000..2be644d
--- /dev/null
+++ b/src/main/java/com/keuin/ohmyvanillamc/DebugUtil.java
@@ -0,0 +1,7 @@
+package com.keuin.ohmyvanillamc;
+
+public class DebugUtil {
+ public static void printThreadInfo(String mark) {
+ System.out.printf("[%s] Thread %s : id=%d%n", mark, Thread.currentThread().getName(), Thread.currentThread().getId());
+ }
+}