Skip to content

Commit

Permalink
Version 1.4.1 : Remove log4j methods
Browse files Browse the repository at this point in the history
A quick fix
  • Loading branch information
Flamarine committed Dec 11, 2021
1 parent 5192c37 commit 68d6442
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ loom_version=0.10-SNAPSHOT
config_version=0.5.1-beta

# Mod Properties
mod_version = 1.4.0-1.18
mod_version = 1.4.1-1.18
maven_group = dev.intelligentcreations
archives_base_name = randore

Expand Down
15 changes: 6 additions & 9 deletions src/main/kotlin/dev/intelligentcreations/randore/RandoreMod.kt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ import net.fabricmc.fabric.api.tool.attribute.v1.FabricToolTags
import net.minecraft.block.Block
import net.minecraft.block.Blocks
import net.minecraft.block.Material
import net.minecraft.item.*
import net.minecraft.item.BlockItem
import net.minecraft.item.ItemGroup
import net.minecraft.structure.rule.BlockMatchRuleTest
import net.minecraft.util.Identifier
import net.minecraft.util.registry.BuiltinRegistries
Expand All @@ -41,8 +42,6 @@ import net.minecraft.world.gen.decorator.CountPlacementModifier
import net.minecraft.world.gen.decorator.HeightRangePlacementModifier
import net.minecraft.world.gen.decorator.SquarePlacementModifier
import net.minecraft.world.gen.feature.*
import org.apache.logging.log4j.LogManager
import org.apache.logging.log4j.Logger


class RandoreMod : ModInitializer {
Expand Down Expand Up @@ -89,7 +88,7 @@ class RandoreMod : ModInitializer {
)
)
} else {
LOGGER.info("Not generating random ores.")
System.out.println("Not generating random ores.");
}

if (dsrandomoregen) {
Expand All @@ -109,7 +108,7 @@ class RandoreMod : ModInitializer {
)
)
} else {
LOGGER.info("Not generating deepslate random ores.")
System.out.println("Not generating deepslate random ores.");
}

if (nrandomoregen) {
Expand All @@ -129,7 +128,7 @@ class RandoreMod : ModInitializer {
)
)
} else {
LOGGER.info("Not generating nether random ores.")
System.out.println("Not generating nether random ores.");
}

if (erandomoregen) {
Expand All @@ -149,13 +148,11 @@ class RandoreMod : ModInitializer {
)
)
} else {
LOGGER.info("Not generating end random ores.")
System.out.println("Not generating end random ores.");
}
}

companion object {
val LOGGER: Logger = LogManager.getLogger("Rand'Ore")

//Ore Blocks
val RANDOM_ORE: Block = Block(FabricBlockSettings.of(Material.STONE).strength(4.0f).requiresTool().breakByTool(FabricToolTags.PICKAXES, 2))
val DEEPSLATE_RANDOM_ORE: Block = Block(FabricBlockSettings.of(Material.STONE).strength(6.0f).requiresTool().breakByTool(FabricToolTags.PICKAXES, 3))
Expand Down

0 comments on commit 68d6442

Please sign in to comment.