diff --git a/common/src/main/java/io/github/gregtechintergalactical/gtcore/GTCoreConfig.java b/common/src/main/java/io/github/gregtechintergalactical/gtcore/GTCoreConfig.java index 3a2a3e7..581532f 100644 --- a/common/src/main/java/io/github/gregtechintergalactical/gtcore/GTCoreConfig.java +++ b/common/src/main/java/io/github/gregtechintergalactical/gtcore/GTCoreConfig.java @@ -19,7 +19,7 @@ public class GTCoreConfig { public static BoolValue DISABLE_WOOD_TOOLS; public static BoolValue DISABLE_CHARCOAL_SMELTING; public static BoolValue VILLAGER_TRADE_REPLACEMENTS; - public static BoolValue COMPOSTER_OUTPUT_RePLACEMENT; + public static BoolValue COMPOSTER_OUTPUT_REPLACEMENT; public static EnumValue CIRCUIT_RECIPE_MODE; public static void createConfig(){ @@ -39,7 +39,7 @@ public static void createConfig(){ DISABLE_WOOD_TOOLS = section.addBool("disable_wood_tools", true, "If true disables crafting recipes for wood tools(except wood shovels) and hides them in jei/rei - Default: true"); DISABLE_CHARCOAL_SMELTING = section.addBool("disable_charcoal_smelting", true, "If true disables log to charcoal recipes in the vanilla furnace - Default: true"); VILLAGER_TRADE_REPLACEMENTS = section.addBool("villager_trade_replacements", true, "If true replaces emeralds with gt credits in all villager trades - Default: true"); - COMPOSTER_OUTPUT_RePLACEMENT = section.addBool("composter_output_replacement", true, "If true makes the composter make fertilizer instead of bonemeal - Default: true"); + COMPOSTER_OUTPUT_REPLACEMENT = section.addBool("composter_output_replacement", true, "If true makes the composter make fertilizer instead of bonemeal - Default: true"); CONFIG = AntimatterPlatformUtils.createConfig(GTCore.ID, config); CONFIG.register(); } diff --git a/common/src/main/java/io/github/gregtechintergalactical/gtcore/data/GTCoreMaterials.java b/common/src/main/java/io/github/gregtechintergalactical/gtcore/data/GTCoreMaterials.java index d990f22..735ada1 100644 --- a/common/src/main/java/io/github/gregtechintergalactical/gtcore/data/GTCoreMaterials.java +++ b/common/src/main/java/io/github/gregtechintergalactical/gtcore/data/GTCoreMaterials.java @@ -196,6 +196,7 @@ public class GTCoreMaterials { public static Material Brick = AntimatterAPI.register(Material.class, new Material(GTCore.ID, "brick", 0x9b5643, ROUGH)); public static Material Clay = AntimatterAPI.register(Material.class, new Material(GTCore.ID, "clay", 0xc8c8dc, ROUGH)); public static Material Energium = AntimatterAPI.register(Material.class, new Material(GTCore.ID, "energium", 0xe81e21, NONE)); + public static Material Lapotronium = AntimatterAPI.register(Material.class, new Material(GTCore.ID, "lapotronium", 0x6464c8, NONE)); public static Material Fireclay = AntimatterAPI.register(Material.class, new Material(GTCore.ID, "fireclay", 0xada09b, ROUGH)); diff --git a/common/src/main/java/io/github/gregtechintergalactical/gtcore/mixin/MixinComposterBlock.java b/common/src/main/java/io/github/gregtechintergalactical/gtcore/mixin/MixinComposterBlock.java index 83a3391..11ddfd4 100644 --- a/common/src/main/java/io/github/gregtechintergalactical/gtcore/mixin/MixinComposterBlock.java +++ b/common/src/main/java/io/github/gregtechintergalactical/gtcore/mixin/MixinComposterBlock.java @@ -2,8 +2,6 @@ import io.github.gregtechintergalactical.gtcore.GTCoreConfig; import io.github.gregtechintergalactical.gtcore.data.GTCoreItems; -import net.minecraft.world.item.Item; -import net.minecraft.world.item.ItemStack; import net.minecraft.world.level.ItemLike; import net.minecraft.world.level.block.ComposterBlock; import org.spongepowered.asm.mixin.Mixin; @@ -15,7 +13,7 @@ public class MixinComposterBlock { @ModifyArg(method = "extractProduce", at = @At(value = "INVOKE", target = "Lnet/minecraft/world/item/ItemStack;(Lnet/minecraft/world/level/ItemLike;)V")) private static ItemLike modifyResult(ItemLike item){ - if (GTCoreConfig.COMPOSTER_OUTPUT_RePLACEMENT.get()){ + if (GTCoreConfig.COMPOSTER_OUTPUT_REPLACEMENT.get()){ return GTCoreItems.Fertilizer; } return item;