All versions
0.1
Beta
RegenOre (Beta)2 years ago 287
Compatibility
Minecraft: Java Edition
1.21
Platform
Paper
Changes
Features:
- Define a mining area with /setminingarea
- Only ore blocks are breakable in mining area, all others are blocked.
- Custom regeneration delay for each ore block via
config.yml. - XP drops supported when ores are broken.
- Fortune enchantment support
- Break ores → replace with air → regenerate after delay.
What does this plugin do?
RegenOre plugin allows ores in a defined area to regenerate after being mined, creating an infinite and controlled mining system.
Commands
/setminingarea
config.yml:
regenDelay:
COAL_ORE: 100 # 5 seconds
DEEPSLATE_COAL_ORE: 110 # 5.5 seconds
IRON_ORE: 120 # 6 seconds
DEEPSLATE_IRON_ORE: 130 # 6.5 seconds
GOLD_ORE: 120 # 6 seconds
DEEPSLATE_GOLD_ORE: 130 # 6.5 seconds
REDSTONE_ORE: 100 # 5 seconds
DEEPSLATE_REDSTONE_ORE: 110 # 5.5 seconds
LAPIS_ORE: 140 # 7 seconds
DEEPSLATE_LAPIS_ORE: 150 # 7.5 seconds
DIAMOND_ORE: 180 # 9 seconds
DEEPSLATE_DIAMOND_ORE: 200 # 10 seconds
EMERALD_ORE: 180 # 9 seconds
DEEPSLATE_EMERALD_ORE: 200 # 10 seconds
COPPER_ORE: 100 # 5 seconds
DEEPSLATE_COPPER_ORE: 110 # 5.5 seconds
NETHER_QUARTZ_ORE: 90 # 4.5 seconds
NETHER_GOLD_ORE: 100 # 5 seconds
miningarea:
x1: 0
y1: 0
z1: 0
x2: 100
y2: 100
z2: 100
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:VhLtxlTn:S1buThSs"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:VhLtxlTn:S1buThSs"
}

