Add newer CoalGov update

This commit is contained in:
CoalGov Deploy
2026-07-11 02:06:53 +00:00
parent dd69ab17a5
commit 963cdd2d9d
39 changed files with 2763 additions and 43 deletions

View File

@@ -33,6 +33,9 @@ public final class SuperFurnaceService {
public void registerRecipe() {
Bukkit.removeRecipe(recipeKey);
if (!plugin.getConfig().getBoolean("super_furnace.recipe_enabled", false)) {
return;
}
ShapedRecipe recipe = new ShapedRecipe(recipeKey, item());
recipe.shape("SSS", "SFS", "SSS");
recipe.setIngredient('S', Material.STONE);
@@ -54,6 +57,14 @@ public final class SuperFurnaceService {
return item;
}
public boolean syntheticDiamondsEnabled() {
return plugin.getConfig().getBoolean("synthetic_diamonds.enabled", true);
}
public int syntheticDiamondCoalInput() {
return Math.max(2, plugin.getConfig().getInt("synthetic_diamonds.coal_input", 40));
}
public boolean isItem(ItemStack item) {
if (item == null || item.getType() != Material.FURNACE || !item.hasItemMeta()) {
return false;