-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- added tags for more blocks and items - fixed #73
- Loading branch information
Showing
21 changed files
with
288 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
src/main/generated/.cache/33f862717e26ec2d6360a91a8f02941f561a0223
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
// 1.21 2024-07-08T11:51:51.783504 Enriched/Tags for minecraft:block | ||
// 1.21 2024-07-08T18:56:40.6462903 Enriched/Tags for minecraft:block | ||
35133e95f1c8fdd7a1c21afcc231fc0bffefb9a8 data\enriched\tags\block\incorrect_for_ruby_tool.json | ||
5130353929cba072dacb3ab075642e95f0f7746f data\enriched\tags\block\redwood_logs.json | ||
cbffea030c16b76cef765b05e3c84e50fb62855a data\minecraft\tags\block\mineable\axe.json | ||
35133e95f1c8fdd7a1c21afcc231fc0bffefb9a8 data\enriched\tags\block\incorrect_for_emerald_tool.json | ||
bff61c01ce77db92c1b08ffaaf5e7458cf3a8876 data\minecraft\tags\block\needs_iron_tool.json | ||
35133e95f1c8fdd7a1c21afcc231fc0bffefb9a8 data\enriched\tags\block\incorrect_for_steel_tool.json | ||
35133e95f1c8fdd7a1c21afcc231fc0bffefb9a8 data\enriched\tags\block\incorrect_for_obsidian_tool.json | ||
681323bde66d0fca08ab3237aac95c10dac774ba data\minecraft\tags\block\planks.json | ||
35133e95f1c8fdd7a1c21afcc231fc0bffefb9a8 data\enriched\tags\block\incorrect_for_tanzanite_tool.json | ||
75832a99d368173979e7472d527816181cd32b23 data\minecraft\tags\block\logs_that_burn.json | ||
505fa84668bc20d712c8653f9d2158a8c7e38072 data\minecraft\tags\block\mineable\pickaxe.json | ||
69aa3d1eeed3ac4e72a293913a933c96f034b5fd data\minecraft\tags\block\mineable\pickaxe.json | ||
35133e95f1c8fdd7a1c21afcc231fc0bffefb9a8 data\enriched\tags\block\incorrect_for_copper_tool.json | ||
35133e95f1c8fdd7a1c21afcc231fc0bffefb9a8 data\enriched\tags\block\incorrect_for_sapphire_tool.json |
2 changes: 1 addition & 1 deletion
2
src/main/generated/.cache/3e0c651762a148941639324ba0d096b89d34fdb1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 8 additions & 1 deletion
9
src/main/generated/.cache/437931636ae53790c576ca0719d52da14c131efd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,11 @@ | ||
// 1.21 2024-07-08T11:51:51.7825052 Enriched/Tags for minecraft:item | ||
// 1.21 2024-07-08T18:56:40.6462903 Enriched/Tags for minecraft:item | ||
7de72c45ab014b3a47886aa8c9c699f9f1f1635d data\c\tags\item\ores.json | ||
a94b97d224da0464fc2bd7209ff67b8238e3302d data\c\tags\item\tools\melee_weapon.json | ||
681323bde66d0fca08ab3237aac95c10dac774ba data\minecraft\tags\item\planks.json | ||
4d1a35e2634756e0e1191a849f4932e5ca07752d data\c\tags\item\tools\mining_tool.json | ||
319a81d192361fb43916d37d5ec64108ff99836d data\c\tags\item\ingots.json | ||
75832a99d368173979e7472d527816181cd32b23 data\minecraft\tags\item\logs_that_burn.json | ||
863ffe88aba59791de3bc9fd39e1c36c3fdac1ef data\c\tags\item\dusts.json | ||
5130353929cba072dacb3ab075642e95f0f7746f data\enriched\tags\item\redwood_logs.json | ||
89c60d3304c60899777e0814e2f178bc98f1b380 data\c\tags\item\tools.json | ||
cef670a6b27fb5fd943fa55d23ea352f847db879 data\c\tags\item\armors.json |
2 changes: 1 addition & 1 deletion
2
src/main/generated/.cache/53358fbdef77ef1af7355d18669e01bbae7a80f8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/generated/.cache/59192d6ffc5bfc8e2b71cafcacd1447414fb8b0d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
// 1.21 2024-07-08T11:51:51.7814976 Enriched/Language (en_us) | ||
// 1.21 2024-07-08T18:56:40.6442913 Enriched/Language (en_us) | ||
14fbaa364d29a02102981d88beb99062d29d12fd assets\enriched\lang\en_us.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"values": [ | ||
"enriched:steel_helmet", | ||
"enriched:steel_chestplate", | ||
"enriched:steel_leggings", | ||
"enriched:steel_boots", | ||
"enriched:obsidian_helmet", | ||
"enriched:obsidian_chestplate", | ||
"enriched:obsidian_leggings", | ||
"enriched:obsidian_boots", | ||
"enriched:ruby_helmet", | ||
"enriched:ruby_chestplate", | ||
"enriched:ruby_leggings", | ||
"enriched:ruby_boots", | ||
"enriched:sapphire_helmet", | ||
"enriched:sapphire_chestplate", | ||
"enriched:sapphire_leggings", | ||
"enriched:sapphire_boots", | ||
"enriched:tanzanite_helmet", | ||
"enriched:tanzanite_chestplate", | ||
"enriched:tanzanite_leggings", | ||
"enriched:tanzanite_boots", | ||
"enriched:emerald_helmet", | ||
"enriched:emerald_chestplate", | ||
"enriched:emerald_leggings", | ||
"enriched:emerald_boots" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"values": [ | ||
"enriched:obsidian_alloy_blend", | ||
"enriched:steel_blend" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"values": [ | ||
"enriched:obsidian_alloy_ingot", | ||
"enriched:steel_ingot" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"values": [ | ||
"enriched:ruby_ore", | ||
"enriched:sapphire_ore", | ||
"enriched:tanzanite_ore", | ||
"enriched:steel_ingot" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"values": [ | ||
"enriched:steel_axe", | ||
"enriched:steel_hoe", | ||
"enriched:steel_shovel", | ||
"enriched:steel_pickaxe", | ||
"enriched:obsidian_axe", | ||
"enriched:obsidian_hoe", | ||
"enriched:obsidian_shovel", | ||
"enriched:obsidian_pickaxe", | ||
"enriched:copper_axe", | ||
"enriched:copper_hoe", | ||
"enriched:copper_shovel", | ||
"enriched:copper_pickaxe", | ||
"enriched:ruby_axe", | ||
"enriched:ruby_hoe", | ||
"enriched:ruby_shovel", | ||
"enriched:ruby_pickaxe", | ||
"enriched:sapphire_axe", | ||
"enriched:sapphire_hoe", | ||
"enriched:sapphire_shovel", | ||
"enriched:sapphire_pickaxe", | ||
"enriched:tanzanite_axe", | ||
"enriched:tanzanite_hoe", | ||
"enriched:tanzanite_shovel", | ||
"enriched:tanzanite_pickaxe", | ||
"enriched:emerald_axe", | ||
"enriched:emerald_hoe", | ||
"enriched:emerald_shovel", | ||
"enriched:emerald_pickaxe" | ||
] | ||
} |
11 changes: 11 additions & 0 deletions
11
src/main/generated/data/c/tags/item/tools/melee_weapon.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"values": [ | ||
"enriched:steel_sword", | ||
"enriched:obsidian_sword", | ||
"enriched:ruby_sword", | ||
"enriched:sapphire_sword", | ||
"enriched:tanzanite_sword", | ||
"enriched:emerald_sword", | ||
"enriched:copper_sword" | ||
] | ||
} |
11 changes: 11 additions & 0 deletions
11
src/main/generated/data/c/tags/item/tools/mining_tool.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"values": [ | ||
"enriched:steel_pickaxe", | ||
"enriched:obsidian_pickaxe", | ||
"enriched:copper_pickaxe", | ||
"enriched:ruby_pickaxe", | ||
"enriched:sapphire_pickaxe", | ||
"enriched:tanzanite_pickaxe", | ||
"enriched:emerald_pickaxe" | ||
] | ||
} |
9 changes: 9 additions & 0 deletions
9
src/main/generated/data/minecraft/tags/block/mineable/axe.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"values": [ | ||
"enriched:redwood_log", | ||
"enriched:redwood_wood", | ||
"enriched:stripped_redwood_log", | ||
"enriched:stripped_redwood_wood", | ||
"enriched:redwood_planks" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
src/main/java/com/enrichedmc/enriched/conditions/impl/FoodResourceCondition.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package com.enrichedmc.enriched.conditions.impl; | ||
|
||
import com.enrichedmc.enriched.EnrichedMod; | ||
import com.mojang.serialization.MapCodec; | ||
import net.fabricmc.fabric.api.resource.conditions.v1.ResourceCondition; | ||
import net.fabricmc.fabric.api.resource.conditions.v1.ResourceConditionType; | ||
import net.minecraft.registry.RegistryWrapper; | ||
import net.minecraft.util.Identifier; | ||
import org.jetbrains.annotations.Nullable; | ||
|
||
public class FoodResourceCondition implements ResourceCondition { | ||
@Override | ||
public ResourceConditionType<?> getType() { | ||
return ResourceConditionType.create( | ||
Identifier.of(EnrichedMod.MOD_ID, "food_enabled"), | ||
MapCodec.unit(FoodResourceCondition::new)); | ||
} | ||
|
||
@Override | ||
public boolean test(@Nullable RegistryWrapper.WrapperLookup registryLookup) { | ||
return EnrichedMod.getInstance().getGameOptions().recipeOptions.enableFoodRecipes; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.