Skip to content

Commit

Permalink
fixed tags, and added salt ore gen
Browse files Browse the repository at this point in the history
  • Loading branch information
ianm1647 committed Jul 26, 2024
1 parent 8296e3a commit 1db7ea4
Show file tree
Hide file tree
Showing 37 changed files with 319 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/generated/resources/data/c/tags/item/crops/asparagus.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"expandeddelight:asparagus"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"expandeddelight:chili_pepper"
]
}
5 changes: 5 additions & 0 deletions src/generated/resources/data/c/tags/item/crops/peanut.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"expandeddelight:peanut"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"expandeddelight:sweet_potato"
]
}
6 changes: 6 additions & 0 deletions src/generated/resources/data/c/tags/item/dusts.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"values": [
"#c:dusts/salt",
"#c:dusts/cinnamon"
]
}
5 changes: 5 additions & 0 deletions src/generated/resources/data/c/tags/item/dusts/cinnamon.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"expandeddelight:cinnamon"
]
}
5 changes: 5 additions & 0 deletions src/generated/resources/data/c/tags/item/dusts/salt.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"expandeddelight:salt"
]
}
5 changes: 5 additions & 0 deletions src/generated/resources/data/c/tags/item/foods.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"#c:foods/cheese"
]
}
5 changes: 5 additions & 0 deletions src/generated/resources/data/c/tags/item/foods/asparagus.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"expandeddelight:asparagus"
]
}
5 changes: 5 additions & 0 deletions src/generated/resources/data/c/tags/item/foods/cheese.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"expandeddelight:cheese_slice"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"expandeddelight:chili_pepper"
]
}
7 changes: 7 additions & 0 deletions src/generated/resources/data/c/tags/item/foods/cookie.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"values": [
"expandeddelight:chocolate_cookie",
"expandeddelight:sugar_cookie",
"expandeddelight:snickerdoodle"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"expandeddelight:cheese_wheel"
]
}
5 changes: 5 additions & 0 deletions src/generated/resources/data/c/tags/item/foods/peanut.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"expandeddelight:peanut"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"expandeddelight:sweet_potato"
]
}
7 changes: 7 additions & 0 deletions src/generated/resources/data/c/tags/item/foods/vegetable.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"values": [
"#c:foods/asparagus",
"#c:foods/sweet_potato",
"#c:foods/chili_pepper"
]
}
6 changes: 6 additions & 0 deletions src/generated/resources/data/c/tags/item/jams.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"values": [
"#c:jams/sweet_berry",
"#c:jams/glow_berry"
]
}
5 changes: 5 additions & 0 deletions src/generated/resources/data/c/tags/item/jams/glow_berry.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"expandeddelight:glow_berry_jelly"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"expandeddelight:sweet_berry_jelly"
]
}
7 changes: 7 additions & 0 deletions src/generated/resources/data/c/tags/item/juices.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"values": [
"#c:juices/sweet_berry",
"#c:juices/glow_berry",
"#c:juices/glow_berry"
]
}
5 changes: 5 additions & 0 deletions src/generated/resources/data/c/tags/item/juices/apple.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"expandeddelight:apple_juice"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"expandeddelight:glow_berry_juice"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"expandeddelight:sweet_berry_juice"
]
}
5 changes: 5 additions & 0 deletions src/generated/resources/data/c/tags/item/ores.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"#c:ores/salt"
]
}
6 changes: 6 additions & 0 deletions src/generated/resources/data/c/tags/item/ores/salt.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"values": [
"expandeddelight:salt_ore",
"expandeddelight:deepslate_salt_ore"
]
}
6 changes: 6 additions & 0 deletions src/generated/resources/data/c/tags/item/seeds.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"values": [
"expandeddelight:asparagus_seeds",
"expandeddelight:chili_pepper_seeds"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_cinnamon": {
"conditions": {
"items": [
{
"items": "expandeddelight:cinnamon"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "expandeddelight:sweet_roll"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_the_recipe",
"has_cinnamon"
]
],
"rewards": {
"recipes": [
"expandeddelight:sweet_roll"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_cobblestone": {
"conditions": {
"items": [
{
"items": "minecraft:cobblestone"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "expandeddelight:crushing_mallet"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_the_recipe",
"has_cobblestone"
]
],
"rewards": {
"recipes": [
"expandeddelight:crushing_mallet"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"type": "minecraft:crafting_shaped",
"category": "equipment",
"key": {
"S": {
"item": "minecraft:cobblestone"
},
"s": {
"item": "minecraft:stick"
}
},
"pattern": [
" s",
" S ",
"s "
],
"result": {
"count": 1,
"id": "expandeddelight:crushing_mallet"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"type": "minecraft:crafting_shapeless",
"category": "misc",
"ingredients": [
{
"tag": "c:foods/milk"
},
{
"tag": "c:foods/dough"
},
{
"tag": "c:dusts/cinnamon"
},
{
"item": "minecraft:sugar"
}
],
"result": {
"count": 1,
"id": "expandeddelight:sweet_roll"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "expandeddelight:item/cinnamon_stick"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "expandeddelight:item/crushing_mallet"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"type": "neoforge:add_features",
"biomes": "#minecraft:is_ocean",
"features": "expandeddelight:salt_ore",
"step": "underground_ores"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"type": "minecraft:ore",
"config": {
"discard_chance_on_air_exposure": 0.0,
"size": 8,
"targets": [
{
"state": {
"Name": "expandeddelight:salt_ore"
},
"target": {
"predicate_type": "minecraft:tag_match",
"tag": "minecraft:stone_ore_replaceables"
}
},
{
"state": {
"Name": "expandeddelight:deepslate_salt_ore"
},
"target": {
"predicate_type": "minecraft:tag_match",
"tag": "minecraft:deepslate_ore_replaceables"
}
}
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"feature": "expandeddelight:salt_ore",
"placement": [
{
"type": "minecraft:count",
"count": 6
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:height_range",
"height": {
"type": "minecraft:uniform",
"max_inclusive": {
"absolute": 60
},
"min_inclusive": {
"absolute": -20
}
}
},
{
"type": "minecraft:biome"
}
]
}

0 comments on commit 1db7ea4

Please sign in to comment.