9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-29 11:59:11 +00:00

曲线救营火配方

This commit is contained in:
XiaoMoMi
2025-02-15 21:25:04 +08:00
parent 5f2d85668b
commit 7631adf448
11 changed files with 265 additions and 36 deletions

View File

@@ -22,6 +22,8 @@ public class BlockKeys {
public static final Key BREWING_STAND = Key.of("minecraft:brewing_stand");
public static final Key BEACON = Key.of("minecraft:beacon");
public static final Key CHEST = Key.of("minecraft:chest");
public static final Key CAMPFIRE = Key.of("minecraft:campfire");
public static final Key SOUL_CAMPFIRE = Key.of("minecraft:soul_campfire");
public static final Key ENDER_CHEST = Key.of("minecraft:ender_chest");
public static final Key TRAPPED_CHEST = Key.of("minecraft:trapped_chest");
public static final Key DAYLIGHT_DETECTOR = Key.of("minecraft:daylight_detector");

View File

@@ -106,7 +106,7 @@ public class PackManagerImpl implements PackManager {
}
Pack pack = new Pack(path, new PackMeta(author, description, version, namespace));
this.loadedPacks.put(path.getFileName().toString(), pack);
this.plugin.logger().info("Loaded pack: " + pack.folder().getFileName());
this.plugin.logger().info("Loaded pack: " + pack.folder().getFileName() + ". Default namespace: " + namespace);
}
}
} catch (IOException e) {
@@ -234,7 +234,7 @@ public class PackManagerImpl implements PackManager {
}
}
long t2 = System.nanoTime();
this.plugin.logger().info("Loaded config type: " + parser.sectionId() + ". Took " + String.format("%.2f", ((t2 - t1) / 1_000_000.0)) + " ms");
this.plugin.logger().info("Loaded " + parser.sectionId() + " in " + String.format("%.2f", ((t2 - t1) / 1_000_000.0)) + " ms");
}
}