fix: resolve build errors and link tool/armor stats to config
This commit is contained in:
@@ -30,7 +30,12 @@
|
|||||||
"Bash(dir \"C:\\\\Program Files\\\\Eclipse Adoptium\")",
|
"Bash(dir \"C:\\\\Program Files\\\\Eclipse Adoptium\")",
|
||||||
"Bash(\"C:\\\\Program Files\\\\Java\\\\latest\\\\bin\\\\java.exe\":*)",
|
"Bash(\"C:\\\\Program Files\\\\Java\\\\latest\\\\bin\\\\java.exe\":*)",
|
||||||
"Bash(/c/Program Files/Java/latest/bin/java.exe:*)",
|
"Bash(/c/Program Files/Java/latest/bin/java.exe:*)",
|
||||||
"Bash(/c/Program Files/Java/jdk-24/bin/java.exe:*)"
|
"Bash(/c/Program Files/Java/jdk-24/bin/java.exe:*)",
|
||||||
|
"Bash(git show:*)",
|
||||||
|
"Bash(git fetch:*)",
|
||||||
|
"Bash(git pull:*)",
|
||||||
|
"Bash(set:*)",
|
||||||
|
"Bash(JAVA_HOME=/c/Program Files/Java/jdk-24 ./gradlew:*)"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,28 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<projectDescription>
|
||||||
|
<name>custom_ore_gem</name>
|
||||||
|
<comment>Project custom_ore_gem created by Buildship.</comment>
|
||||||
|
<projects>
|
||||||
|
</projects>
|
||||||
|
<buildSpec>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
</buildSpec>
|
||||||
|
<natures>
|
||||||
|
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
|
||||||
|
</natures>
|
||||||
|
<filteredResources>
|
||||||
|
<filter>
|
||||||
|
<id>1770104171004</id>
|
||||||
|
<name></name>
|
||||||
|
<type>30</type>
|
||||||
|
<matcher>
|
||||||
|
<id>org.eclipse.core.resources.regexFilterMatcher</id>
|
||||||
|
<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
|
||||||
|
</matcher>
|
||||||
|
</filter>
|
||||||
|
</filteredResources>
|
||||||
|
</projectDescription>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
arguments=--init-script C\:\\Users\\felden.r\\.local\\share\\opencode\\bin\\jdtls\\config_win\\org.eclipse.osgi\\58\\0\\.cp\\gradle\\init\\init.gradle
|
||||||
|
auto.sync=false
|
||||||
|
build.scans.enabled=false
|
||||||
|
connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER)
|
||||||
|
connection.project.dir=
|
||||||
|
eclipse.preferences.version=1
|
||||||
|
gradle.user.home=
|
||||||
|
java.home=C\:/Program Files/Java/jdk-1.8
|
||||||
|
jvm.arguments=
|
||||||
|
offline.mode=false
|
||||||
|
override.workspace.settings=true
|
||||||
|
show.console.view=true
|
||||||
|
show.executions.view=true
|
||||||
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
-6
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "forge:add_features",
|
|
||||||
"biomes": "#custom_ore_gen:tempered_biomes",
|
|
||||||
"features": "custom_ore_gen:concentratedcoalore",
|
|
||||||
"step": "underground_ores"
|
|
||||||
}
|
|
||||||
-6
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "forge:add_features",
|
|
||||||
"biomes": "#custom_ore_gen:hot_biomes",
|
|
||||||
"features": "custom_ore_gen:copperhighore",
|
|
||||||
"step": "underground_ores"
|
|
||||||
}
|
|
||||||
-6
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "forge:add_features",
|
|
||||||
"biomes": "#custom_ore_gen:hot_biomes",
|
|
||||||
"features": "custom_ore_gen:copperlowerore",
|
|
||||||
"step": "underground_ores"
|
|
||||||
}
|
|
||||||
-6
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "forge:add_features",
|
|
||||||
"biomes": "#custom_ore_gen:cold_biomes",
|
|
||||||
"features": "custom_ore_gen:deepslatediamondore",
|
|
||||||
"step": "underground_ores"
|
|
||||||
}
|
|
||||||
-6
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "forge:add_features",
|
|
||||||
"biomes": "#custom_ore_gen:tempered_biomes",
|
|
||||||
"features": "custom_ore_gen:deepslateironore",
|
|
||||||
"step": "underground_ores"
|
|
||||||
}
|
|
||||||
-6
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "forge:add_features",
|
|
||||||
"biomes": "#custom_ore_gen:cold_biomes",
|
|
||||||
"features": "custom_ore_gen:deepslatelapisore",
|
|
||||||
"step": "underground_ores"
|
|
||||||
}
|
|
||||||
-6
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "forge:add_features",
|
|
||||||
"biomes": "#custom_ore_gen:hot_biomes",
|
|
||||||
"features": "custom_ore_gen:deepslatepuregoldenore",
|
|
||||||
"step": "underground_ores"
|
|
||||||
}
|
|
||||||
-6
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "forge:add_features",
|
|
||||||
"biomes": "#custom_ore_gen:hot_biomes",
|
|
||||||
"features": "custom_ore_gen:deepslateredstoneore",
|
|
||||||
"step": "underground_ores"
|
|
||||||
}
|
|
||||||
-8
@@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "forge:add_features",
|
|
||||||
"biomes": {
|
|
||||||
"type": "forge:any"
|
|
||||||
},
|
|
||||||
"features": "custom_ore_gen:deepslatesharddiamondore",
|
|
||||||
"step": "underground_ores"
|
|
||||||
}
|
|
||||||
-6
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "forge:add_features",
|
|
||||||
"biomes": "#custom_ore_gen:mountain_biomes",
|
|
||||||
"features": "custom_ore_gen:highemeraldore",
|
|
||||||
"step": "underground_ores"
|
|
||||||
}
|
|
||||||
-6
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "forge:add_features",
|
|
||||||
"biomes": "#custom_ore_gen:tempered_biomes",
|
|
||||||
"features": "custom_ore_gen:ironore",
|
|
||||||
"step": "underground_ores"
|
|
||||||
}
|
|
||||||
-6
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "forge:add_features",
|
|
||||||
"biomes": "#custom_ore_gen:cold_biomes",
|
|
||||||
"features": "custom_ore_gen:lapisore",
|
|
||||||
"step": "underground_ores"
|
|
||||||
}
|
|
||||||
-6
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "forge:add_features",
|
|
||||||
"biomes": "#custom_ore_gen:rare_biomes",
|
|
||||||
"features": "custom_ore_gen:loweremeraldore",
|
|
||||||
"step": "underground_ores"
|
|
||||||
}
|
|
||||||
-6
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "forge:add_features",
|
|
||||||
"biomes": "#custom_ore_gen:hot_biomes",
|
|
||||||
"features": "custom_ore_gen:puregoldenore",
|
|
||||||
"step": "underground_ores"
|
|
||||||
}
|
|
||||||
-6
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "forge:add_features",
|
|
||||||
"biomes": "#custom_ore_gen:hot_biomes",
|
|
||||||
"features": "custom_ore_gen:redstoneore",
|
|
||||||
"step": "underground_ores"
|
|
||||||
}
|
|
||||||
-8
@@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "forge:add_features",
|
|
||||||
"biomes": {
|
|
||||||
"type": "forge:any"
|
|
||||||
},
|
|
||||||
"features": "custom_ore_gen:sharddiamondblockore",
|
|
||||||
"step": "underground_ores"
|
|
||||||
}
|
|
||||||
@@ -1,82 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "minecraft:block",
|
|
||||||
"pools": [
|
|
||||||
{
|
|
||||||
"rolls": 1,
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:item",
|
|
||||||
"name": "minecraft:coal",
|
|
||||||
"weight": 1,
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:inverted",
|
|
||||||
"term": {
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"enchantments": [
|
|
||||||
{
|
|
||||||
"enchantment": "minecraft:silk_touch",
|
|
||||||
"levels": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"functions": [
|
|
||||||
{
|
|
||||||
"function": "set_count",
|
|
||||||
"count": {
|
|
||||||
"min": 1,
|
|
||||||
"max": 2
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"function": "minecraft:apply_bonus",
|
|
||||||
"enchantment": "minecraft:fortune",
|
|
||||||
"formula": "minecraft:ore_drops"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"rolls": 1,
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:item",
|
|
||||||
"name": "minecraft:coal_ore",
|
|
||||||
"weight": 1,
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"enchantments": [
|
|
||||||
{
|
|
||||||
"enchantment": "minecraft:silk_touch",
|
|
||||||
"levels": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"functions": [
|
|
||||||
{
|
|
||||||
"function": "set_count",
|
|
||||||
"count": {
|
|
||||||
"min": 1,
|
|
||||||
"max": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"random_sequence": "custom_ore_gen:blocks/concentratedcoalore"
|
|
||||||
}
|
|
||||||
@@ -1,85 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "minecraft:block",
|
|
||||||
"pools": [
|
|
||||||
{
|
|
||||||
"rolls": {
|
|
||||||
"min": 1,
|
|
||||||
"max": 2
|
|
||||||
},
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:item",
|
|
||||||
"name": "minecraft:raw_copper",
|
|
||||||
"weight": 1,
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:inverted",
|
|
||||||
"term": {
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"enchantments": [
|
|
||||||
{
|
|
||||||
"enchantment": "minecraft:silk_touch",
|
|
||||||
"levels": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"functions": [
|
|
||||||
{
|
|
||||||
"function": "set_count",
|
|
||||||
"count": {
|
|
||||||
"min": 2,
|
|
||||||
"max": 5
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"function": "minecraft:apply_bonus",
|
|
||||||
"enchantment": "minecraft:fortune",
|
|
||||||
"formula": "minecraft:ore_drops"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"rolls": 1,
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:item",
|
|
||||||
"name": "minecraft:copper_ore",
|
|
||||||
"weight": 1,
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"enchantments": [
|
|
||||||
{
|
|
||||||
"enchantment": "minecraft:silk_touch",
|
|
||||||
"levels": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"functions": [
|
|
||||||
{
|
|
||||||
"function": "set_count",
|
|
||||||
"count": {
|
|
||||||
"min": 1,
|
|
||||||
"max": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"random_sequence": "custom_ore_gen:blocks/copperhighore"
|
|
||||||
}
|
|
||||||
@@ -1,85 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "minecraft:block",
|
|
||||||
"pools": [
|
|
||||||
{
|
|
||||||
"rolls": {
|
|
||||||
"min": 1,
|
|
||||||
"max": 2
|
|
||||||
},
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:item",
|
|
||||||
"name": "minecraft:raw_copper",
|
|
||||||
"weight": 1,
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:inverted",
|
|
||||||
"term": {
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"enchantments": [
|
|
||||||
{
|
|
||||||
"enchantment": "minecraft:silk_touch",
|
|
||||||
"levels": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"functions": [
|
|
||||||
{
|
|
||||||
"function": "set_count",
|
|
||||||
"count": {
|
|
||||||
"min": 2,
|
|
||||||
"max": 6
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"function": "minecraft:apply_bonus",
|
|
||||||
"enchantment": "minecraft:fortune",
|
|
||||||
"formula": "minecraft:ore_drops"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"rolls": 1,
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:item",
|
|
||||||
"name": "minecraft:deepslate_copper_ore",
|
|
||||||
"weight": 1,
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"enchantments": [
|
|
||||||
{
|
|
||||||
"enchantment": "minecraft:silk_touch",
|
|
||||||
"levels": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"functions": [
|
|
||||||
{
|
|
||||||
"function": "set_count",
|
|
||||||
"count": {
|
|
||||||
"min": 1,
|
|
||||||
"max": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"random_sequence": "custom_ore_gen:blocks/copperlowerore"
|
|
||||||
}
|
|
||||||
@@ -1,82 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "minecraft:block",
|
|
||||||
"pools": [
|
|
||||||
{
|
|
||||||
"rolls": 1,
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:item",
|
|
||||||
"name": "minecraft:diamond",
|
|
||||||
"weight": 1,
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:inverted",
|
|
||||||
"term": {
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"enchantments": [
|
|
||||||
{
|
|
||||||
"enchantment": "minecraft:silk_touch",
|
|
||||||
"levels": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"functions": [
|
|
||||||
{
|
|
||||||
"function": "set_count",
|
|
||||||
"count": {
|
|
||||||
"min": 1,
|
|
||||||
"max": 2
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"function": "minecraft:apply_bonus",
|
|
||||||
"enchantment": "minecraft:fortune",
|
|
||||||
"formula": "minecraft:ore_drops"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"rolls": 1,
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:item",
|
|
||||||
"name": "minecraft:diamond_ore",
|
|
||||||
"weight": 1,
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"enchantments": [
|
|
||||||
{
|
|
||||||
"enchantment": "minecraft:silk_touch",
|
|
||||||
"levels": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"functions": [
|
|
||||||
{
|
|
||||||
"function": "set_count",
|
|
||||||
"count": {
|
|
||||||
"min": 1,
|
|
||||||
"max": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"random_sequence": "custom_ore_gen:blocks/deepslatediamondore"
|
|
||||||
}
|
|
||||||
@@ -1,82 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "minecraft:block",
|
|
||||||
"pools": [
|
|
||||||
{
|
|
||||||
"rolls": 1,
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:item",
|
|
||||||
"name": "minecraft:raw_iron",
|
|
||||||
"weight": 1,
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:inverted",
|
|
||||||
"term": {
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"enchantments": [
|
|
||||||
{
|
|
||||||
"enchantment": "minecraft:silk_touch",
|
|
||||||
"levels": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"functions": [
|
|
||||||
{
|
|
||||||
"function": "set_count",
|
|
||||||
"count": {
|
|
||||||
"min": 1,
|
|
||||||
"max": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"function": "minecraft:apply_bonus",
|
|
||||||
"enchantment": "minecraft:fortune",
|
|
||||||
"formula": "minecraft:ore_drops"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"rolls": 1,
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:item",
|
|
||||||
"name": "custom_ore_gen:deepslateironore",
|
|
||||||
"weight": 1,
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"enchantments": [
|
|
||||||
{
|
|
||||||
"enchantment": "minecraft:silk_touch",
|
|
||||||
"levels": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"functions": [
|
|
||||||
{
|
|
||||||
"function": "set_count",
|
|
||||||
"count": {
|
|
||||||
"min": 1,
|
|
||||||
"max": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"random_sequence": "custom_ore_gen:blocks/deepslateironore"
|
|
||||||
}
|
|
||||||
@@ -1,90 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "minecraft:block",
|
|
||||||
"pools": [
|
|
||||||
{
|
|
||||||
"rolls": 1,
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:item",
|
|
||||||
"name": "minecraft:lapis_lazuli",
|
|
||||||
"weight": 1,
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:inverted",
|
|
||||||
"term": {
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"enchantments": [
|
|
||||||
{
|
|
||||||
"enchantment": "minecraft:silk_touch",
|
|
||||||
"levels": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"functions": [
|
|
||||||
{
|
|
||||||
"function": "set_count",
|
|
||||||
"count": {
|
|
||||||
"min": 4,
|
|
||||||
"max": 6
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"function": "enchant_with_levels",
|
|
||||||
"treasure": true,
|
|
||||||
"levels": {
|
|
||||||
"min": 1,
|
|
||||||
"max": 10
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"function": "minecraft:apply_bonus",
|
|
||||||
"enchantment": "minecraft:fortune",
|
|
||||||
"formula": "minecraft:ore_drops"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"rolls": 1,
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:item",
|
|
||||||
"name": "minecraft:deepslate_lapis_ore",
|
|
||||||
"weight": 1,
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"enchantments": [
|
|
||||||
{
|
|
||||||
"enchantment": "minecraft:silk_touch",
|
|
||||||
"levels": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"functions": [
|
|
||||||
{
|
|
||||||
"function": "set_count",
|
|
||||||
"count": {
|
|
||||||
"min": 1,
|
|
||||||
"max": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"random_sequence": "custom_ore_gen:blocks/deepslatelapisore"
|
|
||||||
}
|
|
||||||
-89
@@ -1,89 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "minecraft:block",
|
|
||||||
"pools": [
|
|
||||||
{
|
|
||||||
"rolls": {
|
|
||||||
"min": 1,
|
|
||||||
"max": 2
|
|
||||||
},
|
|
||||||
"bonus_rolls": {
|
|
||||||
"min": 1,
|
|
||||||
"max": 2
|
|
||||||
},
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:item",
|
|
||||||
"name": "minecraft:raw_gold",
|
|
||||||
"weight": 1,
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:inverted",
|
|
||||||
"term": {
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"enchantments": [
|
|
||||||
{
|
|
||||||
"enchantment": "minecraft:silk_touch",
|
|
||||||
"levels": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"functions": [
|
|
||||||
{
|
|
||||||
"function": "set_count",
|
|
||||||
"count": {
|
|
||||||
"min": 1,
|
|
||||||
"max": 2
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"function": "minecraft:apply_bonus",
|
|
||||||
"enchantment": "minecraft:fortune",
|
|
||||||
"formula": "minecraft:ore_drops"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"rolls": 1,
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:item",
|
|
||||||
"name": "minecraft:gold_ore",
|
|
||||||
"weight": 1,
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"enchantments": [
|
|
||||||
{
|
|
||||||
"enchantment": "minecraft:silk_touch",
|
|
||||||
"levels": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"functions": [
|
|
||||||
{
|
|
||||||
"function": "set_count",
|
|
||||||
"count": {
|
|
||||||
"min": 1,
|
|
||||||
"max": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"random_sequence": "custom_ore_gen:blocks/deepslatepuregoldenore"
|
|
||||||
}
|
|
||||||
@@ -1,85 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "minecraft:block",
|
|
||||||
"pools": [
|
|
||||||
{
|
|
||||||
"rolls": {
|
|
||||||
"min": 1,
|
|
||||||
"max": 2
|
|
||||||
},
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:item",
|
|
||||||
"name": "minecraft:redstone",
|
|
||||||
"weight": 1,
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:inverted",
|
|
||||||
"term": {
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"enchantments": [
|
|
||||||
{
|
|
||||||
"enchantment": "minecraft:silk_touch",
|
|
||||||
"levels": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"functions": [
|
|
||||||
{
|
|
||||||
"function": "set_count",
|
|
||||||
"count": {
|
|
||||||
"min": 4,
|
|
||||||
"max": 6
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"function": "minecraft:apply_bonus",
|
|
||||||
"enchantment": "minecraft:fortune",
|
|
||||||
"formula": "minecraft:ore_drops"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"rolls": 1,
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:item",
|
|
||||||
"name": "minecraft:deepslate_redstone_ore",
|
|
||||||
"weight": 1,
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"enchantments": [
|
|
||||||
{
|
|
||||||
"enchantment": "minecraft:silk_touch",
|
|
||||||
"levels": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"functions": [
|
|
||||||
{
|
|
||||||
"function": "set_count",
|
|
||||||
"count": {
|
|
||||||
"min": 1,
|
|
||||||
"max": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"random_sequence": "custom_ore_gen:blocks/deepslateredstoneore"
|
|
||||||
}
|
|
||||||
-82
@@ -1,82 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "minecraft:block",
|
|
||||||
"pools": [
|
|
||||||
{
|
|
||||||
"rolls": 1,
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:item",
|
|
||||||
"name": "custom_ore_gen:diamondshard",
|
|
||||||
"weight": 1,
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:inverted",
|
|
||||||
"term": {
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"enchantments": [
|
|
||||||
{
|
|
||||||
"enchantment": "minecraft:silk_touch",
|
|
||||||
"levels": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"functions": [
|
|
||||||
{
|
|
||||||
"function": "set_count",
|
|
||||||
"count": {
|
|
||||||
"min": 1,
|
|
||||||
"max": 2
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"function": "minecraft:apply_bonus",
|
|
||||||
"enchantment": "minecraft:fortune",
|
|
||||||
"formula": "minecraft:ore_drops"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"rolls": 1,
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:item",
|
|
||||||
"name": "custom_ore_gen:deepslatesharddiamondore",
|
|
||||||
"weight": 1,
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"enchantments": [
|
|
||||||
{
|
|
||||||
"enchantment": "minecraft:silk_touch",
|
|
||||||
"levels": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"functions": [
|
|
||||||
{
|
|
||||||
"function": "set_count",
|
|
||||||
"count": {
|
|
||||||
"min": 1,
|
|
||||||
"max": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"random_sequence": "custom_ore_gen:blocks/deepslatesharddiamondore"
|
|
||||||
}
|
|
||||||
@@ -1,82 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "minecraft:block",
|
|
||||||
"pools": [
|
|
||||||
{
|
|
||||||
"rolls": 1,
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:item",
|
|
||||||
"name": "minecraft:emerald",
|
|
||||||
"weight": 1,
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:inverted",
|
|
||||||
"term": {
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"enchantments": [
|
|
||||||
{
|
|
||||||
"enchantment": "minecraft:silk_touch",
|
|
||||||
"levels": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"functions": [
|
|
||||||
{
|
|
||||||
"function": "set_count",
|
|
||||||
"count": {
|
|
||||||
"min": 1,
|
|
||||||
"max": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"function": "minecraft:apply_bonus",
|
|
||||||
"enchantment": "minecraft:fortune",
|
|
||||||
"formula": "minecraft:ore_drops"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"rolls": 1,
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:item",
|
|
||||||
"name": "minecraft:emerald_ore",
|
|
||||||
"weight": 1,
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"enchantments": [
|
|
||||||
{
|
|
||||||
"enchantment": "minecraft:silk_touch",
|
|
||||||
"levels": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"functions": [
|
|
||||||
{
|
|
||||||
"function": "set_count",
|
|
||||||
"count": {
|
|
||||||
"min": 1,
|
|
||||||
"max": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"random_sequence": "custom_ore_gen:blocks/highemeraldore"
|
|
||||||
}
|
|
||||||
@@ -1,82 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "minecraft:block",
|
|
||||||
"pools": [
|
|
||||||
{
|
|
||||||
"rolls": 1,
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:item",
|
|
||||||
"name": "minecraft:raw_iron",
|
|
||||||
"weight": 1,
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:inverted",
|
|
||||||
"term": {
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"enchantments": [
|
|
||||||
{
|
|
||||||
"enchantment": "minecraft:silk_touch",
|
|
||||||
"levels": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"functions": [
|
|
||||||
{
|
|
||||||
"function": "set_count",
|
|
||||||
"count": {
|
|
||||||
"min": 1,
|
|
||||||
"max": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"function": "minecraft:apply_bonus",
|
|
||||||
"enchantment": "minecraft:fortune",
|
|
||||||
"formula": "minecraft:ore_drops"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"rolls": 1,
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:item",
|
|
||||||
"name": "minecraft:iron_ore",
|
|
||||||
"weight": 1,
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"enchantments": [
|
|
||||||
{
|
|
||||||
"enchantment": "minecraft:silk_touch",
|
|
||||||
"levels": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"functions": [
|
|
||||||
{
|
|
||||||
"function": "set_count",
|
|
||||||
"count": {
|
|
||||||
"min": 1,
|
|
||||||
"max": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"random_sequence": "custom_ore_gen:blocks/ironore"
|
|
||||||
}
|
|
||||||
@@ -1,90 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "minecraft:block",
|
|
||||||
"pools": [
|
|
||||||
{
|
|
||||||
"rolls": 1,
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:item",
|
|
||||||
"name": "minecraft:lapis_lazuli",
|
|
||||||
"weight": 1,
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:inverted",
|
|
||||||
"term": {
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"enchantments": [
|
|
||||||
{
|
|
||||||
"enchantment": "minecraft:silk_touch",
|
|
||||||
"levels": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"functions": [
|
|
||||||
{
|
|
||||||
"function": "set_count",
|
|
||||||
"count": {
|
|
||||||
"min": 4,
|
|
||||||
"max": 8
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"function": "enchant_with_levels",
|
|
||||||
"treasure": true,
|
|
||||||
"levels": {
|
|
||||||
"min": 0,
|
|
||||||
"max": 5
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"function": "minecraft:apply_bonus",
|
|
||||||
"enchantment": "minecraft:fortune",
|
|
||||||
"formula": "minecraft:ore_drops"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"rolls": 1,
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:item",
|
|
||||||
"name": "minecraft:lapis_ore",
|
|
||||||
"weight": 1,
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"enchantments": [
|
|
||||||
{
|
|
||||||
"enchantment": "minecraft:silk_touch",
|
|
||||||
"levels": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"functions": [
|
|
||||||
{
|
|
||||||
"function": "set_count",
|
|
||||||
"count": {
|
|
||||||
"min": 1,
|
|
||||||
"max": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"random_sequence": "custom_ore_gen:blocks/lapisore"
|
|
||||||
}
|
|
||||||
@@ -1,82 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "minecraft:block",
|
|
||||||
"pools": [
|
|
||||||
{
|
|
||||||
"rolls": 1,
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:item",
|
|
||||||
"name": "minecraft:emerald",
|
|
||||||
"weight": 1,
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:inverted",
|
|
||||||
"term": {
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"enchantments": [
|
|
||||||
{
|
|
||||||
"enchantment": "minecraft:silk_touch",
|
|
||||||
"levels": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"functions": [
|
|
||||||
{
|
|
||||||
"function": "set_count",
|
|
||||||
"count": {
|
|
||||||
"min": 1,
|
|
||||||
"max": 2
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"function": "minecraft:apply_bonus",
|
|
||||||
"enchantment": "minecraft:fortune",
|
|
||||||
"formula": "minecraft:ore_drops"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"rolls": 1,
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:item",
|
|
||||||
"name": "minecraft:deepslate_emerald_ore",
|
|
||||||
"weight": 1,
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"enchantments": [
|
|
||||||
{
|
|
||||||
"enchantment": "minecraft:silk_touch",
|
|
||||||
"levels": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"functions": [
|
|
||||||
{
|
|
||||||
"function": "set_count",
|
|
||||||
"count": {
|
|
||||||
"min": 1,
|
|
||||||
"max": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"random_sequence": "custom_ore_gen:blocks/loweremeraldore"
|
|
||||||
}
|
|
||||||
@@ -1,89 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "minecraft:block",
|
|
||||||
"pools": [
|
|
||||||
{
|
|
||||||
"rolls": {
|
|
||||||
"min": 1,
|
|
||||||
"max": 2
|
|
||||||
},
|
|
||||||
"bonus_rolls": {
|
|
||||||
"min": 1,
|
|
||||||
"max": 2
|
|
||||||
},
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:item",
|
|
||||||
"name": "minecraft:raw_gold",
|
|
||||||
"weight": 1,
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:inverted",
|
|
||||||
"term": {
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"enchantments": [
|
|
||||||
{
|
|
||||||
"enchantment": "minecraft:silk_touch",
|
|
||||||
"levels": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"functions": [
|
|
||||||
{
|
|
||||||
"function": "set_count",
|
|
||||||
"count": {
|
|
||||||
"min": 1,
|
|
||||||
"max": 2
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"function": "minecraft:apply_bonus",
|
|
||||||
"enchantment": "minecraft:fortune",
|
|
||||||
"formula": "minecraft:ore_drops"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"rolls": 1,
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:item",
|
|
||||||
"name": "minecraft:gold_ore",
|
|
||||||
"weight": 1,
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"enchantments": [
|
|
||||||
{
|
|
||||||
"enchantment": "minecraft:silk_touch",
|
|
||||||
"levels": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"functions": [
|
|
||||||
{
|
|
||||||
"function": "set_count",
|
|
||||||
"count": {
|
|
||||||
"min": 1,
|
|
||||||
"max": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"random_sequence": "custom_ore_gen:blocks/puregoldenore"
|
|
||||||
}
|
|
||||||
@@ -1,82 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "minecraft:block",
|
|
||||||
"pools": [
|
|
||||||
{
|
|
||||||
"rolls": 1,
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:item",
|
|
||||||
"name": "minecraft:redstone",
|
|
||||||
"weight": 1,
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:inverted",
|
|
||||||
"term": {
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"enchantments": [
|
|
||||||
{
|
|
||||||
"enchantment": "minecraft:silk_touch",
|
|
||||||
"levels": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"functions": [
|
|
||||||
{
|
|
||||||
"function": "set_count",
|
|
||||||
"count": {
|
|
||||||
"min": 4,
|
|
||||||
"max": 5
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"function": "minecraft:apply_bonus",
|
|
||||||
"enchantment": "minecraft:fortune",
|
|
||||||
"formula": "minecraft:ore_drops"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"rolls": 1,
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:item",
|
|
||||||
"name": "minecraft:redstone_ore",
|
|
||||||
"weight": 1,
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"enchantments": [
|
|
||||||
{
|
|
||||||
"enchantment": "minecraft:silk_touch",
|
|
||||||
"levels": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"functions": [
|
|
||||||
{
|
|
||||||
"function": "set_count",
|
|
||||||
"count": {
|
|
||||||
"min": 1,
|
|
||||||
"max": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"random_sequence": "custom_ore_gen:blocks/redstoneore"
|
|
||||||
}
|
|
||||||
@@ -1,82 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "minecraft:block",
|
|
||||||
"pools": [
|
|
||||||
{
|
|
||||||
"rolls": 1,
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:item",
|
|
||||||
"name": "custom_ore_gen:diamondshard",
|
|
||||||
"weight": 1,
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:inverted",
|
|
||||||
"term": {
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"enchantments": [
|
|
||||||
{
|
|
||||||
"enchantment": "minecraft:silk_touch",
|
|
||||||
"levels": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"functions": [
|
|
||||||
{
|
|
||||||
"function": "set_count",
|
|
||||||
"count": {
|
|
||||||
"min": 1,
|
|
||||||
"max": 2
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"function": "minecraft:apply_bonus",
|
|
||||||
"enchantment": "minecraft:fortune",
|
|
||||||
"formula": "minecraft:ore_drops"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"rolls": 1,
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:item",
|
|
||||||
"name": "custom_ore_gen:sharddiamondblockore",
|
|
||||||
"weight": 1,
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"enchantments": [
|
|
||||||
{
|
|
||||||
"enchantment": "minecraft:silk_touch",
|
|
||||||
"levels": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"functions": [
|
|
||||||
{
|
|
||||||
"function": "set_count",
|
|
||||||
"count": {
|
|
||||||
"min": 1,
|
|
||||||
"max": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"random_sequence": "custom_ore_gen:blocks/sharddiamondblockore"
|
|
||||||
}
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "minecraft:crafting_shaped",
|
|
||||||
"category": "misc",
|
|
||||||
"pattern": [
|
|
||||||
"aa",
|
|
||||||
"ab",
|
|
||||||
" b"
|
|
||||||
],
|
|
||||||
"key": {
|
|
||||||
"a": {
|
|
||||||
"item": "custom_ore_gen:diamondshard"
|
|
||||||
},
|
|
||||||
"b": {
|
|
||||||
"item": "minecraft:stick"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"result": {
|
|
||||||
"item": "custom_ore_gen:sharddiamondaxe",
|
|
||||||
"count": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "minecraft:crafting_shaped",
|
|
||||||
"category": "misc",
|
|
||||||
"pattern": [
|
|
||||||
"aaa",
|
|
||||||
"aaa",
|
|
||||||
"aaa"
|
|
||||||
],
|
|
||||||
"key": {
|
|
||||||
"a": {
|
|
||||||
"item": "custom_ore_gen:diamondshard"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"result": {
|
|
||||||
"item": "minecraft:diamond",
|
|
||||||
"count": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "minecraft:crafting_shaped",
|
|
||||||
"pattern": [
|
|
||||||
"DCD",
|
|
||||||
"C C",
|
|
||||||
"DCD"
|
|
||||||
],
|
|
||||||
"key": {
|
|
||||||
"C": {
|
|
||||||
"item": "minecraft:compass"
|
|
||||||
},
|
|
||||||
"D": {
|
|
||||||
"item": "custom_ore_gen:diamondshard"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"result": {
|
|
||||||
"item": "custom_ore_gen:ore_biome_finder",
|
|
||||||
"count": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "minecraft:crafting_shaped",
|
|
||||||
"category": "misc",
|
|
||||||
"pattern": [
|
|
||||||
"aaa",
|
|
||||||
" b ",
|
|
||||||
" b "
|
|
||||||
],
|
|
||||||
"key": {
|
|
||||||
"a": {
|
|
||||||
"item": "custom_ore_gen:diamondshard"
|
|
||||||
},
|
|
||||||
"b": {
|
|
||||||
"item": "minecraft:stick"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"result": {
|
|
||||||
"item": "custom_ore_gen:sharddiamondpickaxe",
|
|
||||||
"count": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "minecraft:crafting_shaped",
|
|
||||||
"category": "misc",
|
|
||||||
"pattern": [
|
|
||||||
"DSD",
|
|
||||||
"SCS",
|
|
||||||
"DSD"
|
|
||||||
],
|
|
||||||
"key": {
|
|
||||||
"D": {
|
|
||||||
"item": "custom_ore_gen:diamondshard"
|
|
||||||
},
|
|
||||||
"S": {
|
|
||||||
"item": "minecraft:soul_sand"
|
|
||||||
},
|
|
||||||
"C": {
|
|
||||||
"item": "minecraft:soul_soil"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"result": {
|
|
||||||
"item": "minecraft:sculk_catalyst",
|
|
||||||
"count": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "minecraft:crafting_shaped",
|
|
||||||
"category": "equipment",
|
|
||||||
"pattern": [
|
|
||||||
"a a",
|
|
||||||
"a a"
|
|
||||||
],
|
|
||||||
"key": {
|
|
||||||
"a": {
|
|
||||||
"item": "custom_ore_gen:diamondshard"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"result": {
|
|
||||||
"item": "custom_ore_gen:sharddiamondboots",
|
|
||||||
"count": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "minecraft:crafting_shaped",
|
|
||||||
"category": "equipment",
|
|
||||||
"pattern": [
|
|
||||||
"aDa",
|
|
||||||
"aaa",
|
|
||||||
"aaa"
|
|
||||||
],
|
|
||||||
"key": {
|
|
||||||
"a": {
|
|
||||||
"item": "custom_ore_gen:diamondshard"
|
|
||||||
},
|
|
||||||
"D": {
|
|
||||||
"item": "minecraft:diamond"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"result": {
|
|
||||||
"item": "custom_ore_gen:sharddiamondchestplate",
|
|
||||||
"count": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "minecraft:crafting_shaped",
|
|
||||||
"category": "equipment",
|
|
||||||
"pattern": [
|
|
||||||
"aaa",
|
|
||||||
"a a",
|
|
||||||
" "
|
|
||||||
],
|
|
||||||
"key": {
|
|
||||||
"a": {
|
|
||||||
"item": "custom_ore_gen:diamondshard"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"result": {
|
|
||||||
"item": "custom_ore_gen:sharddiamondhelmet",
|
|
||||||
"count": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "minecraft:crafting_shaped",
|
|
||||||
"category": "equipment",
|
|
||||||
"pattern": [
|
|
||||||
"aDa",
|
|
||||||
"a a",
|
|
||||||
"a a"
|
|
||||||
],
|
|
||||||
"key": {
|
|
||||||
"a": {
|
|
||||||
"item": "custom_ore_gen:diamondshard"
|
|
||||||
},
|
|
||||||
"D": {
|
|
||||||
"item": "minecraft:diamond"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"result": {
|
|
||||||
"item": "custom_ore_gen:sharddiamondleggings",
|
|
||||||
"count": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "minecraft:crafting_shaped",
|
|
||||||
"category": "equipment",
|
|
||||||
"pattern": [
|
|
||||||
"PSA",
|
|
||||||
" T ",
|
|
||||||
" T "
|
|
||||||
],
|
|
||||||
"key": {
|
|
||||||
"P": {
|
|
||||||
"item": "custom_ore_gen:sharddiamondpickaxe"
|
|
||||||
},
|
|
||||||
"S": {
|
|
||||||
"item": "custom_ore_gen:sharddiamondshovel"
|
|
||||||
},
|
|
||||||
"A": {
|
|
||||||
"item": "custom_ore_gen:sharddiamondaxe"
|
|
||||||
},
|
|
||||||
"T": {
|
|
||||||
"item": "minecraft:stick"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"result": {
|
|
||||||
"item": "custom_ore_gen:sharddiamondpaxel",
|
|
||||||
"count": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "minecraft:crafting_shaped",
|
|
||||||
"category": "misc",
|
|
||||||
"pattern": [
|
|
||||||
"a",
|
|
||||||
"b",
|
|
||||||
"b"
|
|
||||||
],
|
|
||||||
"key": {
|
|
||||||
"a": {
|
|
||||||
"item": "custom_ore_gen:diamondshard"
|
|
||||||
},
|
|
||||||
"b": {
|
|
||||||
"item": "minecraft:stick"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"result": {
|
|
||||||
"item": "custom_ore_gen:sharddiamondshovel",
|
|
||||||
"count": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "mekanism:enriching",
|
|
||||||
"input": {
|
|
||||||
"ingredient": {
|
|
||||||
"tag": "forge:ores/shard_diamond"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"output": {
|
|
||||||
"item": "custom_ore_gen:diamondshard",
|
|
||||||
"count": 2
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"replace": false,
|
|
||||||
"values": [
|
|
||||||
"custom_ore_gen:sharddiamondaxe"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"replace": false,
|
|
||||||
"values": [
|
|
||||||
"custom_ore_gen:sharddiamondpickaxe"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"replace": false,
|
|
||||||
"values": [
|
|
||||||
"custom_ore_gen:sharddiamondshovel"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"pack": {
|
"pack": {
|
||||||
"pack_format": 15,
|
"pack_format": 48,
|
||||||
"description": "Changement de la distribution des ressources sur Minecraft, ne pas utilisé seul sans KubeJS"
|
"description": "Changement de la distribution des ressources sur Minecraft, ne pas utilisé seul sans KubeJS"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Binary file not shown.
@@ -1,6 +1,5 @@
|
|||||||
org.gradle.jvmargs=-Xmx4G
|
org.gradle.jvmargs=-Xmx4G
|
||||||
org.gradle.daemon=true
|
org.gradle.daemon=true
|
||||||
org.gradle.java.home=C:\\Program Files\\Java\\jdk-24
|
|
||||||
|
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
mod_version=3.0
|
mod_version=3.0
|
||||||
|
|||||||
@@ -1,123 +0,0 @@
|
|||||||
// Custom Ore Gem - Commande pour voir les minerais du biome actuel
|
|
||||||
// Placez ce fichier dans: kubejs/server_scripts/
|
|
||||||
// Commande: /ores
|
|
||||||
|
|
||||||
ServerEvents.commandRegistry(event => {
|
|
||||||
const oresByBiome = {
|
|
||||||
// Biomes froids (taiga, snowy_*, frozen_*, ice_spikes, grove, cold_ocean)
|
|
||||||
cold: {
|
|
||||||
biomes: ['minecraft:taiga', 'minecraft:frozen_ocean', 'minecraft:frozen_river',
|
|
||||||
'minecraft:snowy_plains', 'minecraft:snowy_beach', 'minecraft:snowy_taiga',
|
|
||||||
'minecraft:old_growth_pine_taiga', 'minecraft:grove', 'minecraft:snowy_slopes',
|
|
||||||
'minecraft:jagged_peaks', 'minecraft:frozen_peaks', 'minecraft:cold_ocean',
|
|
||||||
'minecraft:deep_cold_ocean', 'minecraft:deep_frozen_ocean', 'minecraft:ice_spikes'],
|
|
||||||
ores: ['Lapis (stone)', 'Lapis (deepslate)', 'Diamant Concentre']
|
|
||||||
},
|
|
||||||
// Biomes chauds (desert, jungle, savanna, badlands)
|
|
||||||
hot: {
|
|
||||||
biomes: ['minecraft:desert', 'minecraft:jungle', 'minecraft:sparse_jungle',
|
|
||||||
'minecraft:savanna', 'minecraft:savanna_plateau', 'minecraft:stony_peaks',
|
|
||||||
'minecraft:warm_ocean', 'minecraft:windswept_savanna', 'minecraft:eroded_badlands',
|
|
||||||
'minecraft:bamboo_jungle', 'minecraft:mangrove_swamp', 'minecraft:badlands',
|
|
||||||
'minecraft:wooded_badlands'],
|
|
||||||
ores: ['Or Pur (stone)', 'Or Pur (deepslate)', 'Redstone (stone)',
|
|
||||||
'Redstone (deepslate)', 'Cuivre (haut)', 'Cuivre (bas)']
|
|
||||||
},
|
|
||||||
// Biomes montagnes (peaks, slopes, meadow)
|
|
||||||
mountain: {
|
|
||||||
biomes: ['minecraft:jagged_peaks', 'minecraft:frozen_peaks', 'minecraft:stony_peaks',
|
|
||||||
'minecraft:savanna_plateau', 'minecraft:wooded_badlands', 'minecraft:meadow',
|
|
||||||
'minecraft:grove', 'minecraft:snowy_slopes', 'minecraft:windswept_hills'],
|
|
||||||
ores: ['Emeraude (haute altitude)']
|
|
||||||
},
|
|
||||||
// Biomes tempérés (plains, forest, swamp, coniferous)
|
|
||||||
tempered: {
|
|
||||||
biomes: ['minecraft:plains', 'minecraft:snowy_plains', 'minecraft:meadow',
|
|
||||||
'minecraft:sunflower_plains', 'minecraft:swamp', 'minecraft:mangrove_swamp',
|
|
||||||
'minecraft:taiga', 'minecraft:snowy_taiga', 'minecraft:old_growth_pine_taiga',
|
|
||||||
'minecraft:grove', 'minecraft:cherry_grove', 'minecraft:windswept_hills',
|
|
||||||
'minecraft:windswept_forest', 'minecraft:beach', 'minecraft:river', 'minecraft:stony_shore',
|
|
||||||
'minecraft:ocean', 'minecraft:lukewarm_ocean', 'minecraft:deep_ocean',
|
|
||||||
'minecraft:deep_lukewarm_ocean', 'minecraft:dripstone_caves', 'minecraft:lush_caves'],
|
|
||||||
ores: ['Charbon Concentre', 'Fer (stone)', 'Fer (deepslate)']
|
|
||||||
},
|
|
||||||
// Biomes rares (mushroom_fields, flower_forest, ice_spikes, etc.)
|
|
||||||
rare: {
|
|
||||||
biomes: ['minecraft:mushroom_fields', 'minecraft:sparse_jungle', 'minecraft:savanna_plateau',
|
|
||||||
'minecraft:sunflower_plains', 'minecraft:windswept_gravelly_hills',
|
|
||||||
'minecraft:flower_forest', 'minecraft:ice_spikes', 'minecraft:old_growth_birch_forest',
|
|
||||||
'minecraft:old_growth_spruce_taiga', 'minecraft:windswept_savanna',
|
|
||||||
'minecraft:eroded_badlands', 'minecraft:bamboo_jungle', 'minecraft:deep_dark',
|
|
||||||
'minecraft:dark_forest'],
|
|
||||||
ores: ['Emeraude (basse altitude)']
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
const oresEverywhere = ['Diamant Shard (deepslate)', 'Bloc Diamant Shard']
|
|
||||||
|
|
||||||
// Enregistrement de la commande /ores
|
|
||||||
const oresCmd = event.register('ores')
|
|
||||||
oresCmd.executes(function (ctx) {
|
|
||||||
const player = ctx.source.player
|
|
||||||
if (!player) {
|
|
||||||
ctx.source.sendFailure('Cette commande ne peut etre utilisee que par un joueur')
|
|
||||||
return 1
|
|
||||||
}
|
|
||||||
|
|
||||||
const level = player.getLevel()
|
|
||||||
const pos = player.blockPosition()
|
|
||||||
const biomeHolder = level.getBiome(pos)
|
|
||||||
|
|
||||||
if (!biomeHolder) {
|
|
||||||
ctx.source.sendFailure('Impossible de determiner le biome')
|
|
||||||
return 1
|
|
||||||
}
|
|
||||||
|
|
||||||
const biomeKey = biomeHolder.unwrapKey().toString()
|
|
||||||
const biomeName = biomeHolder.value().getName().getString()
|
|
||||||
const biomeId = biomeKey.replace('minecraft:', '').replace(/^.*:/, '')
|
|
||||||
|
|
||||||
// Trouver les minerais pour ce biome
|
|
||||||
const foundOres = Java.to(['empty'], 'java.util.Set')
|
|
||||||
const foundCategories = []
|
|
||||||
|
|
||||||
for (const category in oresByBiome) {
|
|
||||||
const data = oresByBiome[category]
|
|
||||||
if (data.biomes.indexOf(biomeKey) >= 0 || data.biomes.indexOf('minecraft:' + biomeId) >= 0) {
|
|
||||||
for (let i = 0; i < data.ores.length; i++) {
|
|
||||||
foundOres.add(data.ores[i])
|
|
||||||
}
|
|
||||||
foundCategories.push(category)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Ajouter les minerais presents partout
|
|
||||||
for (let i = 0; i < oresEverywhere.length; i++) {
|
|
||||||
foundOres.add(oresEverywhere[i])
|
|
||||||
}
|
|
||||||
|
|
||||||
// Afficher le resultat
|
|
||||||
ctx.source.sendSuccess('=== Minerais dans: ' + biomeName + ' ===')
|
|
||||||
ctx.source.sendSuccess('Biome ID: ' + biomeId)
|
|
||||||
ctx.source.sendSuccess('Tags: ' + (foundCategories.join(', ') || 'standard'))
|
|
||||||
|
|
||||||
if (foundOres.size() > 0) {
|
|
||||||
ctx.source.sendSuccess('Minerais trouvables:')
|
|
||||||
const iterator = foundOres.iterator()
|
|
||||||
while (iterator.hasNext()) {
|
|
||||||
ctx.source.sendSuccess(' * ' + iterator.next())
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
ctx.source.sendSuccess('Aucun minerai specifique a ce biome')
|
|
||||||
}
|
|
||||||
|
|
||||||
return 1
|
|
||||||
})
|
|
||||||
|
|
||||||
// Alias /ore
|
|
||||||
const oreCmd = event.register('ore')
|
|
||||||
oreCmd.executes(function (ctx) {
|
|
||||||
ctx.source.server.commands.executeCommand(ctx.source.source, 'ores')
|
|
||||||
return 1
|
|
||||||
})
|
|
||||||
})
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+2281
-675
File diff suppressed because it is too large
Load Diff
+1624
-68
File diff suppressed because it is too large
Load Diff
+137
-9
@@ -1,12 +1,140 @@
|
|||||||
bobView:false
|
version:3955
|
||||||
fboEnable:true
|
ao:false
|
||||||
lastServer:localhost:25463
|
biomeBlendRadius:2
|
||||||
renderDistance:5
|
|
||||||
fancyGraphics:false
|
|
||||||
entityShadows:true
|
|
||||||
enableVsync:false
|
enableVsync:false
|
||||||
|
entityDistanceScaling:1.0
|
||||||
|
entityShadows:true
|
||||||
|
forceUnicodeFont:false
|
||||||
|
japaneseGlyphVariants:false
|
||||||
|
fov:0.0
|
||||||
|
fovEffectScale:1.0
|
||||||
|
darknessEffectScale:1.0
|
||||||
|
glintSpeed:0.5
|
||||||
|
glintStrength:0.75
|
||||||
|
prioritizeChunkUpdates:0
|
||||||
|
fullscreen:false
|
||||||
|
gamma:0.5
|
||||||
|
graphicsMode:0
|
||||||
|
guiScale:0
|
||||||
maxFps:260
|
maxFps:260
|
||||||
|
mipmapLevels:2
|
||||||
|
narrator:0
|
||||||
particles:0
|
particles:0
|
||||||
renderClouds:false
|
reducedDebugInfo:false
|
||||||
ao:0
|
renderClouds:"false"
|
||||||
mipmapLevels:2
|
renderDistance:5
|
||||||
|
simulationDistance:12
|
||||||
|
screenEffectScale:1.0
|
||||||
|
soundDevice:""
|
||||||
|
autoJump:false
|
||||||
|
operatorItemsTab:false
|
||||||
|
autoSuggestions:true
|
||||||
|
chatColors:true
|
||||||
|
chatLinks:true
|
||||||
|
chatLinksPrompt:true
|
||||||
|
discrete_mouse_scroll:false
|
||||||
|
invertYMouse:false
|
||||||
|
realmsNotifications:true
|
||||||
|
showSubtitles:false
|
||||||
|
directionalAudio:false
|
||||||
|
touchscreen:false
|
||||||
|
bobView:false
|
||||||
|
toggleCrouch:false
|
||||||
|
toggleSprint:false
|
||||||
|
darkMojangStudiosBackground:false
|
||||||
|
hideLightningFlashes:false
|
||||||
|
hideSplashTexts:false
|
||||||
|
mouseSensitivity:0.5
|
||||||
|
damageTiltStrength:1.0
|
||||||
|
highContrast:false
|
||||||
|
narratorHotkey:true
|
||||||
|
resourcePacks:[]
|
||||||
|
incompatibleResourcePacks:[]
|
||||||
|
lastServer:localhost:25463
|
||||||
|
lang:en_us
|
||||||
|
chatVisibility:0
|
||||||
|
chatOpacity:1.0
|
||||||
|
chatLineSpacing:0.0
|
||||||
|
textBackgroundOpacity:0.5
|
||||||
|
backgroundForChatOnly:true
|
||||||
|
hideServerAddress:false
|
||||||
|
advancedItemTooltips:false
|
||||||
|
pauseOnLostFocus:true
|
||||||
|
overrideWidth:0
|
||||||
|
overrideHeight:0
|
||||||
|
chatHeightFocused:1.0
|
||||||
|
chatDelay:0.0
|
||||||
|
chatHeightUnfocused:0.4375
|
||||||
|
chatScale:1.0
|
||||||
|
chatWidth:1.0
|
||||||
|
notificationDisplayTime:1.0
|
||||||
|
useNativeTransport:true
|
||||||
|
mainHand:"right"
|
||||||
|
attackIndicator:1
|
||||||
|
tutorialStep:none
|
||||||
|
mouseWheelSensitivity:1.0
|
||||||
|
rawMouseInput:true
|
||||||
|
glDebugVerbosity:1
|
||||||
|
skipMultiplayerWarning:false
|
||||||
|
hideMatchedNames:true
|
||||||
|
joinedFirstServer:false
|
||||||
|
hideBundleTutorial:false
|
||||||
|
syncChunkWrites:true
|
||||||
|
showAutosaveIndicator:true
|
||||||
|
allowServerListing:true
|
||||||
|
onlyShowSecureChat:false
|
||||||
|
panoramaScrollSpeed:1.0
|
||||||
|
telemetryOptInExtra:false
|
||||||
|
onboardAccessibility:false
|
||||||
|
menuBackgroundBlurriness:5
|
||||||
|
key_key.attack:key.mouse.left
|
||||||
|
key_key.use:key.mouse.right
|
||||||
|
key_key.forward:key.keyboard.w
|
||||||
|
key_key.left:key.keyboard.a
|
||||||
|
key_key.back:key.keyboard.s
|
||||||
|
key_key.right:key.keyboard.d
|
||||||
|
key_key.jump:key.keyboard.space
|
||||||
|
key_key.sneak:key.keyboard.left.shift
|
||||||
|
key_key.sprint:key.keyboard.left.control
|
||||||
|
key_key.drop:key.keyboard.q
|
||||||
|
key_key.inventory:key.keyboard.e
|
||||||
|
key_key.chat:key.keyboard.t
|
||||||
|
key_key.playerlist:key.keyboard.tab
|
||||||
|
key_key.pickItem:key.mouse.middle
|
||||||
|
key_key.command:key.keyboard.slash
|
||||||
|
key_key.socialInteractions:key.keyboard.p
|
||||||
|
key_key.screenshot:key.keyboard.f2
|
||||||
|
key_key.togglePerspective:key.keyboard.f5
|
||||||
|
key_key.smoothCamera:key.keyboard.unknown
|
||||||
|
key_key.fullscreen:key.keyboard.f11
|
||||||
|
key_key.spectatorOutlines:key.keyboard.unknown
|
||||||
|
key_key.swapOffhand:key.keyboard.f
|
||||||
|
key_key.saveToolbarActivator:key.keyboard.c
|
||||||
|
key_key.loadToolbarActivator:key.keyboard.x
|
||||||
|
key_key.advancements:key.keyboard.l
|
||||||
|
key_key.hotbar.1:key.keyboard.1
|
||||||
|
key_key.hotbar.2:key.keyboard.2
|
||||||
|
key_key.hotbar.3:key.keyboard.3
|
||||||
|
key_key.hotbar.4:key.keyboard.4
|
||||||
|
key_key.hotbar.5:key.keyboard.5
|
||||||
|
key_key.hotbar.6:key.keyboard.6
|
||||||
|
key_key.hotbar.7:key.keyboard.7
|
||||||
|
key_key.hotbar.8:key.keyboard.8
|
||||||
|
key_key.hotbar.9:key.keyboard.9
|
||||||
|
soundCategory_master:1.0
|
||||||
|
soundCategory_music:1.0
|
||||||
|
soundCategory_record:1.0
|
||||||
|
soundCategory_weather:1.0
|
||||||
|
soundCategory_block:1.0
|
||||||
|
soundCategory_hostile:1.0
|
||||||
|
soundCategory_neutral:1.0
|
||||||
|
soundCategory_player:1.0
|
||||||
|
soundCategory_ambient:1.0
|
||||||
|
soundCategory_voice:1.0
|
||||||
|
modelPart_cape:true
|
||||||
|
modelPart_jacket:true
|
||||||
|
modelPart_left_sleeve:true
|
||||||
|
modelPart_right_sleeve:true
|
||||||
|
modelPart_left_pants_leg:true
|
||||||
|
modelPart_right_pants_leg:true
|
||||||
|
modelPart_hat:true
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
[{"name":"Dev","uuid":"380df991-f603-344c-a090-369bad2a924a","expiresOn":"2026-03-02 16:22:45 +0100"}]
|
[{"name":"Dev","uuid":"380df991-f603-344c-a090-369bad2a924a","expiresOn":"2026-03-03 09:20:49 +0100"}]
|
||||||
@@ -137,6 +137,9 @@ public class ModConfigs {
|
|||||||
public final ModConfigSpec.ConfigValue<Integer> shardDiamondShovelDurability;
|
public final ModConfigSpec.ConfigValue<Integer> shardDiamondShovelDurability;
|
||||||
public final ModConfigSpec.DoubleValue shardDiamondShovelSpeed;
|
public final ModConfigSpec.DoubleValue shardDiamondShovelSpeed;
|
||||||
public final ModConfigSpec.ConfigValue<Integer> shardDiamondShovelAttackDamage;
|
public final ModConfigSpec.ConfigValue<Integer> shardDiamondShovelAttackDamage;
|
||||||
|
public final ModConfigSpec.ConfigValue<Integer> shardDiamondPaxelDurability;
|
||||||
|
public final ModConfigSpec.DoubleValue shardDiamondPaxelSpeed;
|
||||||
|
public final ModConfigSpec.ConfigValue<Integer> shardDiamondPaxelAttackDamage;
|
||||||
|
|
||||||
public ToolStatsConfig(ModConfigSpec.Builder builder) {
|
public ToolStatsConfig(ModConfigSpec.Builder builder) {
|
||||||
builder.push("tool_stats");
|
builder.push("tool_stats");
|
||||||
@@ -171,10 +174,48 @@ public class ModConfigs {
|
|||||||
shardDiamondShovelAttackDamage = builder
|
shardDiamondShovelAttackDamage = builder
|
||||||
.comment("Attack damage of Shard Diamond Shovel (default: 2)")
|
.comment("Attack damage of Shard Diamond Shovel (default: 2)")
|
||||||
.defineInRange("shovelAttackDamage", 2, 0, 20);
|
.defineInRange("shovelAttackDamage", 2, 0, 20);
|
||||||
|
|
||||||
|
shardDiamondPaxelDurability = builder
|
||||||
|
.comment("Durability of Shard Diamond Paxel (default: 1000)")
|
||||||
|
.defineInRange("paxelDurability", 1000, 1, 5000);
|
||||||
|
shardDiamondPaxelSpeed = builder
|
||||||
|
.comment("Mining speed of Shard Diamond Paxel (default: 6.5)")
|
||||||
|
.defineInRange("paxelSpeed", 6.5, 0.1, 20.0);
|
||||||
|
shardDiamondPaxelAttackDamage = builder
|
||||||
|
.comment("Attack damage of Shard Diamond Paxel (default: 4)")
|
||||||
|
.defineInRange("paxelAttackDamage", 4, 0, 20);
|
||||||
|
builder.pop();
|
||||||
|
|
||||||
|
builder.push("shard_diamond_armor");
|
||||||
|
shardDiamondHelmetDurability = builder
|
||||||
|
.comment("Durability of Shard Diamond Helmet (default: 250)")
|
||||||
|
.defineInRange("helmetDurability", 250, 1, 5000);
|
||||||
|
shardDiamondChestplateDurability = builder
|
||||||
|
.comment("Durability of Shard Diamond Chestplate (default: 300)")
|
||||||
|
.defineInRange("chestplateDurability", 300, 1, 5000);
|
||||||
|
shardDiamondLeggingsDurability = builder
|
||||||
|
.comment("Durability of Shard Diamond Leggings (default: 280)")
|
||||||
|
.defineInRange("leggingsDurability", 280, 1, 5000);
|
||||||
|
shardDiamondBootsDurability = builder
|
||||||
|
.comment("Durability of Shard Diamond Boots (default: 230)")
|
||||||
|
.defineInRange("bootsDurability", 230, 1, 5000);
|
||||||
|
shardDiamondArmorToughness = builder
|
||||||
|
.comment("Toughness of Shard Diamond Armor (default: 1.0)")
|
||||||
|
.defineInRange("armorToughness", 1.0, 0.0, 10.0);
|
||||||
|
shardDiamondArmorKnockbackResistance = builder
|
||||||
|
.comment("Knockback resistance of Shard Diamond Armor (default: 0.0)")
|
||||||
|
.defineInRange("armorKnockbackResistance", 0.0, 0.0, 1.0);
|
||||||
builder.pop();
|
builder.pop();
|
||||||
|
|
||||||
builder.pop();
|
builder.pop();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public final ModConfigSpec.ConfigValue<Integer> shardDiamondHelmetDurability;
|
||||||
|
public final ModConfigSpec.ConfigValue<Integer> shardDiamondChestplateDurability;
|
||||||
|
public final ModConfigSpec.ConfigValue<Integer> shardDiamondLeggingsDurability;
|
||||||
|
public final ModConfigSpec.ConfigValue<Integer> shardDiamondBootsDurability;
|
||||||
|
public final ModConfigSpec.DoubleValue shardDiamondArmorToughness;
|
||||||
|
public final ModConfigSpec.DoubleValue shardDiamondArmorKnockbackResistance;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Configuration pour les drops des minerais
|
// Configuration pour les drops des minerais
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ import net.minecraft.world.item.ArmorMaterial;
|
|||||||
import net.minecraft.world.item.Item;
|
import net.minecraft.world.item.Item;
|
||||||
import net.minecraft.world.item.ItemStack;
|
import net.minecraft.world.item.ItemStack;
|
||||||
import net.minecraft.world.item.crafting.Ingredient;
|
import net.minecraft.world.item.crafting.Ingredient;
|
||||||
|
import net.mcreator.customoregen.config.ModConfigs;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Base class for Shard Diamond armor items with custom stats matching Forge
|
* Base class for Shard Diamond armor items with custom stats matching Forge
|
||||||
@@ -17,16 +18,15 @@ public abstract class ShardDiamondArmorItem extends ArmorItem {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Override durability to match original stats:
|
* Override durability to match config
|
||||||
* helmet: 250, chestplate: 300, leggings: 280, boots: 230
|
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public int getMaxDamage(ItemStack stack) {
|
public int getMaxDamage(ItemStack stack) {
|
||||||
return switch (getType()) {
|
return switch (getType()) {
|
||||||
case HELMET -> 250;
|
case HELMET -> ModConfigs.TOOL_STATS.shardDiamondHelmetDurability.get();
|
||||||
case CHESTPLATE -> 300;
|
case CHESTPLATE -> ModConfigs.TOOL_STATS.shardDiamondChestplateDurability.get();
|
||||||
case LEGGINGS -> 280;
|
case LEGGINGS -> ModConfigs.TOOL_STATS.shardDiamondLeggingsDurability.get();
|
||||||
case BOOTS -> 230;
|
case BOOTS -> ModConfigs.TOOL_STATS.shardDiamondBootsDurability.get();
|
||||||
default -> super.getMaxDamage(stack);
|
default -> super.getMaxDamage(stack);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -47,11 +47,11 @@ public abstract class ShardDiamondArmorItem extends ArmorItem {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Override toughness to match original stat: 1.0f
|
* Override toughness to match config
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public float getToughness() {
|
public float getToughness() {
|
||||||
return 1.0f;
|
return ModConfigs.TOOL_STATS.shardDiamondArmorToughness.get().floatValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -10,20 +10,21 @@ import net.minecraft.tags.BlockTags;
|
|||||||
import net.minecraft.world.level.block.Block;
|
import net.minecraft.world.level.block.Block;
|
||||||
|
|
||||||
import net.mcreator.customoregen.init.CustomOreGenModItems;
|
import net.mcreator.customoregen.init.CustomOreGenModItems;
|
||||||
|
import net.mcreator.customoregen.config.ModConfigs;
|
||||||
|
|
||||||
public class SharddiamondaxeItem extends AxeItem {
|
public class SharddiamondaxeItem extends AxeItem {
|
||||||
public SharddiamondaxeItem() {
|
public SharddiamondaxeItem() {
|
||||||
super(new Tier() {
|
super(new Tier() {
|
||||||
public int getUses() {
|
public int getUses() {
|
||||||
return 200;
|
return ModConfigs.TOOL_STATS.shardDiamondAxeDurability.get();
|
||||||
}
|
}
|
||||||
|
|
||||||
public float getSpeed() {
|
public float getSpeed() {
|
||||||
return 7f;
|
return ModConfigs.TOOL_STATS.shardDiamondAxeSpeed.get().floatValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
public float getAttackDamageBonus() {
|
public float getAttackDamageBonus() {
|
||||||
return 0f;
|
return ModConfigs.TOOL_STATS.shardDiamondAxeAttackDamage.get().floatValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getEnchantmentValue() {
|
public int getEnchantmentValue() {
|
||||||
|
|||||||
@@ -11,20 +11,21 @@ import net.minecraft.world.level.block.state.BlockState;
|
|||||||
import net.minecraft.world.level.block.Block;
|
import net.minecraft.world.level.block.Block;
|
||||||
|
|
||||||
import net.mcreator.customoregen.init.CustomOreGenModItems;
|
import net.mcreator.customoregen.init.CustomOreGenModItems;
|
||||||
|
import net.mcreator.customoregen.config.ModConfigs;
|
||||||
|
|
||||||
public class SharddiamondpaxelItem extends PickaxeItem {
|
public class SharddiamondpaxelItem extends PickaxeItem {
|
||||||
public SharddiamondpaxelItem() {
|
public SharddiamondpaxelItem() {
|
||||||
super(new Tier() {
|
super(new Tier() {
|
||||||
public int getUses() {
|
public int getUses() {
|
||||||
return 1000;
|
return ModConfigs.TOOL_STATS.shardDiamondPaxelDurability.get();
|
||||||
}
|
}
|
||||||
|
|
||||||
public float getSpeed() {
|
public float getSpeed() {
|
||||||
return 6.5f;
|
return ModConfigs.TOOL_STATS.shardDiamondPaxelSpeed.get().floatValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
public float getAttackDamageBonus() {
|
public float getAttackDamageBonus() {
|
||||||
return 0f;
|
return ModConfigs.TOOL_STATS.shardDiamondPaxelAttackDamage.get().floatValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getEnchantmentValue() {
|
public int getEnchantmentValue() {
|
||||||
|
|||||||
@@ -11,20 +11,21 @@ import net.minecraft.tags.BlockTags;
|
|||||||
import net.minecraft.world.level.block.Block;
|
import net.minecraft.world.level.block.Block;
|
||||||
|
|
||||||
import net.mcreator.customoregen.init.CustomOreGenModItems;
|
import net.mcreator.customoregen.init.CustomOreGenModItems;
|
||||||
|
import net.mcreator.customoregen.config.ModConfigs;
|
||||||
|
|
||||||
public class SharddiamondpickaxeItem extends PickaxeItem {
|
public class SharddiamondpickaxeItem extends PickaxeItem {
|
||||||
public SharddiamondpickaxeItem() {
|
public SharddiamondpickaxeItem() {
|
||||||
super(new Tier() {
|
super(new Tier() {
|
||||||
public int getUses() {
|
public int getUses() {
|
||||||
return 200; // Hardcoded - config not loaded yet
|
return ModConfigs.TOOL_STATS.shardDiamondPickaxeDurability.get();
|
||||||
}
|
}
|
||||||
|
|
||||||
public float getSpeed() {
|
public float getSpeed() {
|
||||||
return 7f;
|
return ModConfigs.TOOL_STATS.shardDiamondPickaxeSpeed.get().floatValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
public float getAttackDamageBonus() {
|
public float getAttackDamageBonus() {
|
||||||
return 0f;
|
return ModConfigs.TOOL_STATS.shardDiamondPickaxeAttackDamage.get().floatValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getEnchantmentValue() {
|
public int getEnchantmentValue() {
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user