Rajout des differents type d'or ainsi que la creation d'un biome tag

This commit is contained in:
felden.r@grenoble.archi.fr
2025-02-24 09:59:11 +01:00
parent 6780fc8f78
commit 05e155fcae
232 changed files with 5611 additions and 1479 deletions
+133
View File
@@ -0,0 +1,133 @@
{
"_fv": 73,
"_type": "block",
"definition": {
"texture": "deepslate_impure_gold_ore",
"textureTop": "",
"textureLeft": "",
"textureFront": "",
"textureRight": "",
"textureBack": "",
"renderType": 11,
"customModelName": "Single texture",
"rotationMode": 0,
"enablePitch": false,
"emissiveRendering": false,
"displayFluidOverlay": false,
"itemTexture": "",
"particleTexture": "",
"tintType": "No tint",
"isItemTinted": false,
"hasTransparency": false,
"connectedSides": false,
"transparencyType": "SOLID",
"disableOffset": false,
"boundingBoxes": [
{
"mx": 0.0,
"my": 0.0,
"mz": 0.0,
"Mx": 16.0,
"My": 16.0,
"Mz": 16.0,
"subtract": false
}
],
"customProperties": [],
"name": "deepslate Impure gold ore",
"specialInformation": {
"fixedValue": []
},
"hardness": 1.0,
"resistance": 10.0,
"hasGravity": false,
"isWaterloggable": false,
"creativeTabs": [],
"destroyTool": "pickaxe",
"customDrop": {
"value": ""
},
"dropAmount": 1,
"useLootTableForDrops": true,
"requiresCorrectTool": true,
"enchantPowerBonus": 0.0,
"plantsGrowOn": false,
"canRedstoneConnect": false,
"lightOpacity": 15,
"material": {
"value": "NONE"
},
"tickRate": 0,
"tickRandomly": false,
"isReplaceable": false,
"canProvidePower": false,
"emittedRedstonePower": {
"fixedValue": 15.0
},
"colorOnMap": "DEFAULT",
"creativePickItem": {
"value": ""
},
"offsetType": "NONE",
"aiPathNodeType": "DEFAULT",
"flammability": 0,
"fireSpreadSpeed": 0,
"isLadder": false,
"slipperiness": 0.6,
"speedFactor": 1.0,
"jumpFactor": 1.0,
"reactionToPushing": "NORMAL",
"isNotColidable": false,
"isCustomSoundType": false,
"soundOnStep": {
"value": "STONE"
},
"breakSound": {
"value": ""
},
"fallSound": {
"value": ""
},
"hitSound": {
"value": ""
},
"placeSound": {
"value": ""
},
"stepSound": {
"value": ""
},
"luminance": 0,
"unbreakable": false,
"vanillaToolTier": "IRON",
"isBonemealable": false,
"hasInventory": false,
"openGUIOnRightClick": false,
"inventorySize": 9,
"inventoryStackSize": 64,
"inventoryDropWhenDestroyed": true,
"inventoryComparatorPower": true,
"inventoryOutSlotIDs": [],
"inventoryInSlotIDs": [],
"hasEnergyStorage": false,
"energyInitial": 0,
"energyCapacity": 400000,
"energyMaxReceive": 200,
"energyMaxExtract": 200,
"isFluidTank": false,
"fluidCapacity": 8000,
"fluidRestrictions": [],
"generateFeature": true,
"restrictionBiomes": [],
"blocksToReplace": [
{
"value": "Blocks.STONE"
}
],
"generationShape": "UNIFORM",
"frequencyPerChunks": 10,
"frequencyOnChunk": 9,
"minGenerateHeight": -64,
"maxGenerateHeight": 0
}
}
@@ -0,0 +1,57 @@
{
"_fv": 73,
"_type": "loottable",
"definition": {
"type": "Block",
"pools": [
{
"minrolls": 1,
"maxrolls": 3,
"minbonusrolls": 1,
"maxbonusrolls": 2,
"hasbonusrolls": true,
"entries": [
{
"type": "item",
"item": {
"value": "Items.GOLD_NUGGET"
},
"weight": 1,
"minCount": 1,
"maxCount": 3,
"minEnchantmentLevel": 0,
"maxEnchantmentLevel": 0,
"affectedByFortune": true,
"explosionDecay": false,
"silkTouchMode": 2
}
]
},
{
"minrolls": 1,
"maxrolls": 1,
"minbonusrolls": 1,
"maxbonusrolls": 1,
"hasbonusrolls": false,
"entries": [
{
"type": "item",
"item": {
"value": "CUSTOM:Deepslateimpuregoldore"
},
"weight": 1,
"minCount": 1,
"maxCount": 1,
"minEnchantmentLevel": 0,
"maxEnchantmentLevel": 0,
"affectedByFortune": false,
"explosionDecay": false,
"silkTouchMode": 1
}
]
}
],
"name": "blocks/deepslateimpuregoldore",
"namespace": "mod"
}
}
+137
View File
@@ -0,0 +1,137 @@
{
"_fv": 73,
"_type": "block",
"definition": {
"texture": "deepslate_pure_gold_ore",
"textureTop": "",
"textureLeft": "",
"textureFront": "",
"textureRight": "",
"textureBack": "",
"renderType": 11,
"customModelName": "Single texture",
"rotationMode": 0,
"enablePitch": false,
"emissiveRendering": false,
"displayFluidOverlay": false,
"itemTexture": "",
"particleTexture": "",
"tintType": "No tint",
"isItemTinted": false,
"hasTransparency": false,
"connectedSides": false,
"transparencyType": "SOLID",
"disableOffset": false,
"boundingBoxes": [
{
"mx": 0.0,
"my": 0.0,
"mz": 0.0,
"Mx": 16.0,
"My": 16.0,
"Mz": 16.0,
"subtract": false
}
],
"customProperties": [],
"name": "Deepslate pure golden ore",
"specialInformation": {
"fixedValue": []
},
"hardness": 1.0,
"resistance": 10.0,
"hasGravity": false,
"isWaterloggable": false,
"creativeTabs": [],
"destroyTool": "Not specified",
"customDrop": {
"value": ""
},
"dropAmount": 1,
"useLootTableForDrops": true,
"requiresCorrectTool": false,
"enchantPowerBonus": 0.0,
"plantsGrowOn": false,
"canRedstoneConnect": false,
"lightOpacity": 15,
"material": {
"value": "NONE"
},
"tickRate": 0,
"tickRandomly": false,
"isReplaceable": false,
"canProvidePower": false,
"emittedRedstonePower": {
"fixedValue": 15.0
},
"colorOnMap": "DEFAULT",
"creativePickItem": {
"value": ""
},
"offsetType": "NONE",
"aiPathNodeType": "DEFAULT",
"flammability": 0,
"fireSpreadSpeed": 0,
"isLadder": false,
"slipperiness": 0.6,
"speedFactor": 1.0,
"jumpFactor": 1.0,
"reactionToPushing": "NORMAL",
"isNotColidable": false,
"isCustomSoundType": false,
"soundOnStep": {
"value": "STONE"
},
"breakSound": {
"value": ""
},
"fallSound": {
"value": ""
},
"hitSound": {
"value": ""
},
"placeSound": {
"value": ""
},
"stepSound": {
"value": ""
},
"luminance": 0,
"unbreakable": false,
"vanillaToolTier": "NONE",
"isBonemealable": false,
"hasInventory": false,
"openGUIOnRightClick": false,
"inventorySize": 9,
"inventoryStackSize": 64,
"inventoryDropWhenDestroyed": true,
"inventoryComparatorPower": true,
"inventoryOutSlotIDs": [],
"inventoryInSlotIDs": [],
"hasEnergyStorage": false,
"energyInitial": 0,
"energyCapacity": 400000,
"energyMaxReceive": 200,
"energyMaxExtract": 200,
"isFluidTank": false,
"fluidCapacity": 8000,
"fluidRestrictions": [],
"generateFeature": true,
"restrictionBiomes": [
{
"value": "#mod:hot_biomes"
}
],
"blocksToReplace": [
{
"value": "Blocks.STONE"
}
],
"generationShape": "TRIANGLE",
"frequencyPerChunks": 10,
"frequencyOnChunk": 9,
"minGenerateHeight": -64,
"maxGenerateHeight": 0
}
}
@@ -0,0 +1,57 @@
{
"_fv": 73,
"_type": "loottable",
"definition": {
"type": "Block",
"pools": [
{
"minrolls": 1,
"maxrolls": 2,
"minbonusrolls": 1,
"maxbonusrolls": 2,
"hasbonusrolls": true,
"entries": [
{
"type": "item",
"item": {
"value": "Items.RAW_GOLD"
},
"weight": 1,
"minCount": 1,
"maxCount": 2,
"minEnchantmentLevel": 0,
"maxEnchantmentLevel": 0,
"affectedByFortune": true,
"explosionDecay": false,
"silkTouchMode": 2
}
]
},
{
"minrolls": 1,
"maxrolls": 1,
"minbonusrolls": 1,
"maxbonusrolls": 1,
"hasbonusrolls": false,
"entries": [
{
"type": "item",
"item": {
"value": "Blocks.GOLD_ORE"
},
"weight": 1,
"minCount": 1,
"maxCount": 1,
"minEnchantmentLevel": 0,
"maxEnchantmentLevel": 0,
"affectedByFortune": false,
"explosionDecay": false,
"silkTouchMode": 1
}
]
}
],
"name": "blocks/puregoldenore",
"namespace": "mod"
}
}
-14
View File
@@ -1,14 +0,0 @@
{
"_fv": 73,
"_type": "feature",
"definition": {
"skipPlacement": false,
"generationStep": "TOP_LAYER_MODIFICATION",
"restrictionBiomes": [
{
"value": "#minecraft:is_mountain"
}
],
"featurexml": "<xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"feature_container\" deletable=\"false\" x=\"40\" y=\"40\"><value name=\"feature\"><block type=\"feature_ore\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" inputs=\"2\"></mutation><field name=\"size\">9</field><field name=\"discardOnAirChance\">0</field><comment pinned=\"false\" h=\"118\" w=\"231\">This block represents a feature for iron ore. This handles both the stone variant and the deepslate variant. Ores should be generated during the UNDERGROUND_ORES generation stage.</comment><value name=\"target0\"><block type=\"ore_target\"><comment pinned=\"false\" h=\"80\" w=\"160\">If the target block can be replaced by stone ores, place the stone variant</comment><value name=\"target\"><block type=\"rule_test_tag_match\"><field name=\"tag\">stone_ore_replaceables</field></block></value><value name=\"state\"><block type=\"blockstate_selector\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" inputs=\"0\"></mutation><field name=\"block\">Blocks.DIAMOND_ORE</field></block></value></block></value><value name=\"target1\"><block type=\"ore_target\"><comment pinned=\"false\" h=\"80\" w=\"160\">If the target block can be replaced by deepslate ores, place the deepslate variant</comment><value name=\"target\"><block type=\"rule_test_tag_match\"><field name=\"tag\">deepslate_ore_replaceables</field></block></value><value name=\"state\"><block type=\"blockstate_selector\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" inputs=\"0\"></mutation><field name=\"block\">Blocks.DEEPSLATE_DIAMOND_ORE</field></block></value></block></value></block></value><next><block type=\"placement_count\"><comment pinned=\"false\" h=\"92\" w=\"224\">Placement modifiers are processed from top to bottom. First, we repeat the feature 10 times on every chunk</comment><value name=\"count\"><block type=\"int_provider_constant\"><field name=\"value\">10</field><comment pinned=\"false\" h=\"80\" w=\"160\">This is how many times the feature is repeated.</comment></block></value><next><block type=\"placement_in_square\"><comment pinned=\"false\" h=\"80\" w=\"189\">We then move each feature horizontally, so that they don't generate in the corner of the chunk</comment><next><block type=\"placement_height_triangular\"><comment pinned=\"false\" h=\"80\" w=\"160\">We then set the height of the feature. This ore feature generates with a triangular distribution between -24 and 56</comment><value name=\"min\"><block type=\"vertical_anchor_absolute\"><field name=\"value\">-64</field></block></value><value name=\"max\"><block type=\"vertical_anchor_absolute\"><field name=\"value\">24</field></block></value><next><block type=\"placement_biome_filter\"><comment pinned=\"false\" h=\"85\" w=\"210\">Finally, we check that the feature isn't outside of the biome. This placement modifier should always be the last one.</comment></block></next></block></next></block></next></block></next></block></xml>"
}
}
+133
View File
@@ -0,0 +1,133 @@
{
"_fv": 73,
"_type": "block",
"definition": {
"texture": "impure_gold_ore",
"textureTop": "",
"textureLeft": "",
"textureFront": "",
"textureRight": "",
"textureBack": "",
"renderType": 11,
"customModelName": "Single texture",
"rotationMode": 0,
"enablePitch": false,
"emissiveRendering": false,
"displayFluidOverlay": false,
"itemTexture": "",
"particleTexture": "",
"tintType": "No tint",
"isItemTinted": false,
"hasTransparency": false,
"connectedSides": false,
"transparencyType": "SOLID",
"disableOffset": false,
"boundingBoxes": [
{
"mx": 0.0,
"my": 0.0,
"mz": 0.0,
"Mx": 16.0,
"My": 16.0,
"Mz": 16.0,
"subtract": false
}
],
"customProperties": [],
"name": "Impure gold ore",
"specialInformation": {
"fixedValue": []
},
"hardness": 1.0,
"resistance": 10.0,
"hasGravity": false,
"isWaterloggable": false,
"creativeTabs": [],
"destroyTool": "pickaxe",
"customDrop": {
"value": ""
},
"dropAmount": 1,
"useLootTableForDrops": true,
"requiresCorrectTool": true,
"enchantPowerBonus": 0.0,
"plantsGrowOn": false,
"canRedstoneConnect": false,
"lightOpacity": 15,
"material": {
"value": "NONE"
},
"tickRate": 0,
"tickRandomly": false,
"isReplaceable": false,
"canProvidePower": false,
"emittedRedstonePower": {
"fixedValue": 15.0
},
"colorOnMap": "DEFAULT",
"creativePickItem": {
"value": ""
},
"offsetType": "NONE",
"aiPathNodeType": "DEFAULT",
"flammability": 0,
"fireSpreadSpeed": 0,
"isLadder": false,
"slipperiness": 0.6,
"speedFactor": 1.0,
"jumpFactor": 1.0,
"reactionToPushing": "NORMAL",
"isNotColidable": false,
"isCustomSoundType": false,
"soundOnStep": {
"value": "STONE"
},
"breakSound": {
"value": ""
},
"fallSound": {
"value": ""
},
"hitSound": {
"value": ""
},
"placeSound": {
"value": ""
},
"stepSound": {
"value": ""
},
"luminance": 0,
"unbreakable": false,
"vanillaToolTier": "IRON",
"isBonemealable": false,
"hasInventory": false,
"openGUIOnRightClick": false,
"inventorySize": 9,
"inventoryStackSize": 64,
"inventoryDropWhenDestroyed": true,
"inventoryComparatorPower": true,
"inventoryOutSlotIDs": [],
"inventoryInSlotIDs": [],
"hasEnergyStorage": false,
"energyInitial": 0,
"energyCapacity": 400000,
"energyMaxReceive": 200,
"energyMaxExtract": 200,
"isFluidTank": false,
"fluidCapacity": 8000,
"fluidRestrictions": [],
"generateFeature": true,
"restrictionBiomes": [],
"blocksToReplace": [
{
"value": "Blocks.STONE"
}
],
"generationShape": "TRIANGLE",
"frequencyPerChunks": 10,
"frequencyOnChunk": 16,
"minGenerateHeight": 0,
"maxGenerateHeight": 32
}
}
+57
View File
@@ -0,0 +1,57 @@
{
"_fv": 73,
"_type": "loottable",
"definition": {
"type": "Block",
"pools": [
{
"minrolls": 1,
"maxrolls": 2,
"minbonusrolls": 1,
"maxbonusrolls": 2,
"hasbonusrolls": true,
"entries": [
{
"type": "item",
"item": {
"value": "Items.GOLD_NUGGET"
},
"weight": 1,
"minCount": 1,
"maxCount": 2,
"minEnchantmentLevel": 0,
"maxEnchantmentLevel": 0,
"affectedByFortune": true,
"explosionDecay": false,
"silkTouchMode": 2
}
]
},
{
"minrolls": 1,
"maxrolls": 1,
"minbonusrolls": 1,
"maxbonusrolls": 1,
"hasbonusrolls": false,
"entries": [
{
"type": "item",
"item": {
"value": "CUSTOM:Impuregoldore"
},
"weight": 1,
"minCount": 1,
"maxCount": 1,
"minEnchantmentLevel": 0,
"maxEnchantmentLevel": 0,
"affectedByFortune": false,
"explosionDecay": false,
"silkTouchMode": 1
}
]
}
],
"name": "blocks/impuregoldore",
"namespace": "mod"
}
}
+137
View File
@@ -0,0 +1,137 @@
{
"_fv": 73,
"_type": "block",
"definition": {
"texture": "pure_golden_ore",
"textureTop": "",
"textureLeft": "",
"textureFront": "",
"textureRight": "",
"textureBack": "",
"renderType": 11,
"customModelName": "Single texture",
"rotationMode": 0,
"enablePitch": false,
"emissiveRendering": false,
"displayFluidOverlay": false,
"itemTexture": "",
"particleTexture": "",
"tintType": "No tint",
"isItemTinted": false,
"hasTransparency": false,
"connectedSides": false,
"transparencyType": "SOLID",
"disableOffset": false,
"boundingBoxes": [
{
"mx": 0.0,
"my": 0.0,
"mz": 0.0,
"Mx": 16.0,
"My": 16.0,
"Mz": 16.0,
"subtract": false
}
],
"customProperties": [],
"name": "Pure golden ore",
"specialInformation": {
"fixedValue": []
},
"hardness": 1.0,
"resistance": 10.0,
"hasGravity": false,
"isWaterloggable": false,
"creativeTabs": [],
"destroyTool": "Not specified",
"customDrop": {
"value": ""
},
"dropAmount": 1,
"useLootTableForDrops": true,
"requiresCorrectTool": false,
"enchantPowerBonus": 0.0,
"plantsGrowOn": false,
"canRedstoneConnect": false,
"lightOpacity": 15,
"material": {
"value": "NONE"
},
"tickRate": 0,
"tickRandomly": false,
"isReplaceable": false,
"canProvidePower": false,
"emittedRedstonePower": {
"fixedValue": 15.0
},
"colorOnMap": "DEFAULT",
"creativePickItem": {
"value": ""
},
"offsetType": "NONE",
"aiPathNodeType": "DEFAULT",
"flammability": 0,
"fireSpreadSpeed": 0,
"isLadder": false,
"slipperiness": 0.6,
"speedFactor": 1.0,
"jumpFactor": 1.0,
"reactionToPushing": "NORMAL",
"isNotColidable": false,
"isCustomSoundType": false,
"soundOnStep": {
"value": "STONE"
},
"breakSound": {
"value": ""
},
"fallSound": {
"value": ""
},
"hitSound": {
"value": ""
},
"placeSound": {
"value": ""
},
"stepSound": {
"value": ""
},
"luminance": 0,
"unbreakable": false,
"vanillaToolTier": "NONE",
"isBonemealable": false,
"hasInventory": false,
"openGUIOnRightClick": false,
"inventorySize": 9,
"inventoryStackSize": 64,
"inventoryDropWhenDestroyed": true,
"inventoryComparatorPower": true,
"inventoryOutSlotIDs": [],
"inventoryInSlotIDs": [],
"hasEnergyStorage": false,
"energyInitial": 0,
"energyCapacity": 400000,
"energyMaxReceive": 200,
"energyMaxExtract": 200,
"isFluidTank": false,
"fluidCapacity": 8000,
"fluidRestrictions": [],
"generateFeature": true,
"restrictionBiomes": [
{
"value": "#mod:hot_biomes"
}
],
"blocksToReplace": [
{
"value": "Blocks.STONE"
}
],
"generationShape": "TRIANGLE",
"frequencyPerChunks": 10,
"frequencyOnChunk": 9,
"minGenerateHeight": 0,
"maxGenerateHeight": 48
}
}
+57
View File
@@ -0,0 +1,57 @@
{
"_fv": 73,
"_type": "loottable",
"definition": {
"type": "Block",
"pools": [
{
"minrolls": 1,
"maxrolls": 2,
"minbonusrolls": 1,
"maxbonusrolls": 2,
"hasbonusrolls": true,
"entries": [
{
"type": "item",
"item": {
"value": "Items.RAW_GOLD"
},
"weight": 1,
"minCount": 1,
"maxCount": 2,
"minEnchantmentLevel": 0,
"maxEnchantmentLevel": 0,
"affectedByFortune": true,
"explosionDecay": false,
"silkTouchMode": 2
}
]
},
{
"minrolls": 1,
"maxrolls": 1,
"minbonusrolls": 1,
"maxbonusrolls": 1,
"hasbonusrolls": false,
"entries": [
{
"type": "item",
"item": {
"value": "Blocks.GOLD_ORE"
},
"weight": 1,
"minCount": 1,
"maxCount": 1,
"minEnchantmentLevel": 0,
"maxEnchantmentLevel": 0,
"affectedByFortune": false,
"explosionDecay": false,
"silkTouchMode": 1
}
]
}
],
"name": "blocks/deepslatepuregoldenore",
"namespace": "mod"
}
}