Prise en charge des emeraudes, correction de bug sur le lapis
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "custom_ore_gen:block/highemeraldore"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "custom_ore_gen:block/loweremeraldore"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,23 +1,25 @@
|
||||
{
|
||||
"block.custom_ore_gen.lapisore": "Lapis ore",
|
||||
"block.custom_ore_gen.sharddiamondblockore": "Sharddiamondblockore",
|
||||
"block.custom_ore_gen.ashcoalore": "Ash coal ore",
|
||||
"item.custom_ore_gen.ashcoal": "Ash",
|
||||
"block.custom_ore_gen.concentratedcoalore": "Concentrated coal ore",
|
||||
"block.custom_ore_gen.impuregoldore": "Impure gold ore",
|
||||
"block.custom_ore_gen.redstoneore": "Redstone ore",
|
||||
"block.custom_ore_gen.deepslatelapisore": "Deepslate lapis ore",
|
||||
"item.custom_ore_gen.sharddiamondpickaxe": "Shard diamond pickaxe",
|
||||
"item.custom_ore_gen.diamondshard.description_0": "Sert a crée un diamant",
|
||||
"block.custom_ore_gen.copperhighore": "Copperhighore",
|
||||
"block.custom_ore_gen.copperlowerore": "deepslate copper ore",
|
||||
"block.custom_ore_gen.deepslateredstoneore": "Deepslate redstone ore",
|
||||
"block.custom_ore_gen.deepslatesharddiamondore": "Deepslatesharddiamondore",
|
||||
"item.custom_ore_gen.sharddiamondaxe": "Shard diamond axe",
|
||||
"block.custom_ore_gen.deepslateimpuregoldore": "deepslate Impure gold ore",
|
||||
"block.custom_ore_gen.ashcoalore": "Ash coal ore",
|
||||
"item.custom_ore_gen.ashcoal": "Ash",
|
||||
"block.custom_ore_gen.impuregoldore": "Impure gold ore",
|
||||
"block.custom_ore_gen.redstoneore": "Redstone ore",
|
||||
"block.custom_ore_gen.deepslatelapisore": "Deepslate lapis ore",
|
||||
"item.custom_ore_gen.sharddiamondpickaxe": "Shard diamond pickaxe",
|
||||
"block.custom_ore_gen.loweremeraldore": "Loweremeraldore",
|
||||
"block.custom_ore_gen.deepslatesharddiamondore": "Deepslatesharddiamondore",
|
||||
"block.custom_ore_gen.concentrateddiamondore": "Concentrated diamond ore",
|
||||
"item.custom_ore_gen.diamondshard": "Diamondshard",
|
||||
"block.custom_ore_gen.deepslateimpuregoldore": "deepslate Impure gold ore",
|
||||
"block.custom_ore_gen.deepslatepuregoldenore": "Deepslate pure golden ore",
|
||||
"block.custom_ore_gen.puregoldenore": "Pure golden ore",
|
||||
"block.custom_ore_gen.highemeraldore": "emerald ore",
|
||||
"item.custom_ore_gen.sharddiamondshovel": "Shard diamond shovel"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": {
|
||||
"all": "minecraft:block/emerald_ore",
|
||||
"particle": "minecraft:block/emerald_ore"
|
||||
},
|
||||
"render_type": "solid"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": {
|
||||
"all": "minecraft:block/deepslate_emerald_ore",
|
||||
"particle": "minecraft:block/deepslate_emerald_ore"
|
||||
},
|
||||
"render_type": "solid"
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"parent": "custom_ore_gen:block/highemeraldore",
|
||||
"display": {
|
||||
"thirdperson": {
|
||||
"rotation": [
|
||||
10,
|
||||
-45,
|
||||
170
|
||||
],
|
||||
"translation": [
|
||||
0,
|
||||
1.5,
|
||||
-2.75
|
||||
],
|
||||
"scale": [
|
||||
0.375,
|
||||
0.375,
|
||||
0.375
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"parent": "custom_ore_gen:block/loweremeraldore",
|
||||
"display": {
|
||||
"thirdperson": {
|
||||
"rotation": [
|
||||
10,
|
||||
-45,
|
||||
170
|
||||
],
|
||||
"translation": [
|
||||
0,
|
||||
1.5,
|
||||
-2.75
|
||||
],
|
||||
"scale": [
|
||||
0.375,
|
||||
0.375,
|
||||
0.375
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"type": "forge:add_features",
|
||||
"biomes": "#custom_ore_gen:cold_biomes",
|
||||
"features": "custom_ore_gen:deepslatelapisore",
|
||||
"step": "underground_ores"
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"type": "forge:add_features",
|
||||
"biomes": "#custom_ore_gen:rare_biomes",
|
||||
"features": "custom_ore_gen:loweremeraldore",
|
||||
"step": "underground_ores"
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"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": "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"
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"mushroom_fields",
|
||||
"sparse_jungle",
|
||||
"savanna_plateau",
|
||||
"sunflower_plains",
|
||||
"windswept_gravelly_hills",
|
||||
"cherry_grove",
|
||||
"flower_forest",
|
||||
"deep_dark",
|
||||
"old_growth_birch_forest",
|
||||
"ice_spikes"
|
||||
]
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"type": "minecraft:ore",
|
||||
"config": {
|
||||
"size": 8,
|
||||
"discard_chance_on_air_exposure": 0,
|
||||
"targets": [
|
||||
{
|
||||
"target": {
|
||||
"predicate_type": "tag_match",
|
||||
"tag": "forge:stone"
|
||||
},
|
||||
"state": {
|
||||
"Name": "custom_ore_gen:deepslatelapisore"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"type": "minecraft:ore",
|
||||
"config": {
|
||||
"size": 16,
|
||||
"discard_chance_on_air_exposure": 0,
|
||||
"targets": [
|
||||
{
|
||||
"target": {
|
||||
"predicate_type": "tag_match",
|
||||
"tag": "forge:stone"
|
||||
},
|
||||
"state": {
|
||||
"Name": "custom_ore_gen:loweremeraldore"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"feature": "custom_ore_gen:deepslatelapisore",
|
||||
"placement": [
|
||||
{
|
||||
"type": "minecraft:count",
|
||||
"count": 10
|
||||
},
|
||||
{
|
||||
"type": "minecraft:in_square"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:height_range",
|
||||
"height": {
|
||||
"type": "minecraft:uniform",
|
||||
"min_inclusive": {
|
||||
"absolute": -20
|
||||
},
|
||||
"max_inclusive": {
|
||||
"absolute": 10
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "minecraft:biome"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"feature": "custom_ore_gen:loweremeraldore",
|
||||
"placement": [
|
||||
{
|
||||
"type": "minecraft:count",
|
||||
"count": 10
|
||||
},
|
||||
{
|
||||
"type": "minecraft:in_square"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:height_range",
|
||||
"height": {
|
||||
"type": "minecraft:uniform",
|
||||
"min_inclusive": {
|
||||
"absolute": -64
|
||||
},
|
||||
"max_inclusive": {
|
||||
"absolute": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "minecraft:biome"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"custom_ore_gen:loweremeraldore",
|
||||
"custom_ore_gen:deepslateredstoneore",
|
||||
"custom_ore_gen:redstoneore",
|
||||
"custom_ore_gen:deepslatelapisore",
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"custom_ore_gen:loweremeraldore",
|
||||
"custom_ore_gen:deepslateredstoneore",
|
||||
"custom_ore_gen:redstoneore",
|
||||
"custom_ore_gen:concentrateddiamondore",
|
||||
|
||||
Reference in New Issue
Block a user