Ajout du dossier au depot
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
modLoader="javafml"
|
||||
loaderVersion="[47,)"
|
||||
license="Not specified"
|
||||
|
||||
[[mods]]
|
||||
modId="custom_ore_gen"
|
||||
version="1.0.0"
|
||||
displayName="custom_ore_gen"
|
||||
displayURL="https://mcreator.net"
|
||||
credits="Created using mod maker MCreator - https://mcreator.net/about"
|
||||
authors="felden.r, MCreator"
|
||||
|
||||
# Start of user code block mod configuration
|
||||
# End of user code block mod configuration
|
||||
|
||||
[[dependencies.custom_ore_gen]]
|
||||
modId="minecraft"
|
||||
mandatory=true
|
||||
versionRange="[1.20.1]"
|
||||
ordering="AFTER"
|
||||
side="BOTH"
|
||||
|
||||
|
||||
|
||||
|
||||
# Start of user code block dependencies configuration
|
||||
# End of user code block dependencies configuration
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "custom_ore_gen:block/sharddiamondblockore"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"block.custom_ore_gen.sharddiamondblockore": "Sharddiamondblockore",
|
||||
"item.custom_ore_gen.diamondshard": "Diamondshard",
|
||||
"item.custom_ore_gen.diamondshard.description_0": "Sert a crée un diamant"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": {
|
||||
"all": "custom_ore_gen:block/shard_diamond_ore",
|
||||
"particle": "custom_ore_gen:block/shard_diamond_ore"
|
||||
},
|
||||
"render_type": "solid"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "custom_ore_gen:item/diamond_shard"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"parent": "custom_ore_gen:block/sharddiamondblockore",
|
||||
"display": {
|
||||
"thirdperson": {
|
||||
"rotation": [
|
||||
10,
|
||||
-45,
|
||||
170
|
||||
],
|
||||
"translation": [
|
||||
0,
|
||||
1.5,
|
||||
-2.75
|
||||
],
|
||||
"scale": [
|
||||
0.375,
|
||||
0.375,
|
||||
0.375
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
Binary file not shown.
|
After Width: | Height: | Size: 552 B |
Binary file not shown.
|
After Width: | Height: | Size: 636 B |
Binary file not shown.
|
After Width: | Height: | Size: 660 B |
+8
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"type": "forge:add_features",
|
||||
"biomes": {
|
||||
"type": "forge:any"
|
||||
},
|
||||
"features": "custom_ore_gen:sharddiamondblockore",
|
||||
"step": "top_layer_modification"
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"random_sequence": "custom_ore_gen:blocks/sharddiamondblockore",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "custom_ore_gen:diamondshard",
|
||||
"functions": [
|
||||
{
|
||||
"count": 2,
|
||||
"function": "minecraft:set_count"
|
||||
},
|
||||
{
|
||||
"function": "minecraft:explosion_decay"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"category": "misc",
|
||||
"pattern": [
|
||||
"aaa",
|
||||
"aaa",
|
||||
"aaa"
|
||||
],
|
||||
"key": {
|
||||
"a": {
|
||||
"item": "custom_ore_gen:diamondshard"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "minecraft:diamond",
|
||||
"count": 1
|
||||
}
|
||||
}
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"type": "minecraft:ore",
|
||||
"config": {
|
||||
"size": 16,
|
||||
"discard_chance_on_air_exposure": 0,
|
||||
"targets": [
|
||||
{
|
||||
"target": {
|
||||
"predicate_type": "blockstate_match",
|
||||
"block_state": {
|
||||
"Name": "minecraft:diamond_ore"
|
||||
}
|
||||
},
|
||||
"state": {
|
||||
"Name": "custom_ore_gen:sharddiamondblockore"
|
||||
}
|
||||
},
|
||||
{
|
||||
"target": {
|
||||
"predicate_type": "blockstate_match",
|
||||
"block_state": {
|
||||
"Name": "minecraft:deepslate_diamond_ore"
|
||||
}
|
||||
},
|
||||
"state": {
|
||||
"Name": "custom_ore_gen:sharddiamondblockore"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"feature": "custom_ore_gen:sharddiamondblockore",
|
||||
"placement": [
|
||||
{
|
||||
"type": "minecraft:count",
|
||||
"count": 20
|
||||
},
|
||||
{
|
||||
"type": "minecraft:in_square"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:height_range",
|
||||
"height": {
|
||||
"type": "minecraft:trapezoid",
|
||||
"min_inclusive": {
|
||||
"absolute": -64
|
||||
},
|
||||
"max_inclusive": {
|
||||
"absolute": 64
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "minecraft:biome"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"custom_ore_gen:sharddiamondblockore"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"custom_ore_gen:sharddiamondblockore"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"pack": {
|
||||
"pack_format": 15,
|
||||
"description": ""
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user