-
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.
Merge pull request #74 from CamoMano/1.21-dev
1.21 dev
- Loading branch information
Showing
27 changed files
with
355 additions
and
18 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
13 changes: 10 additions & 3 deletions
13
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,20 @@ | ||
// 1.21 2024-07-08T11:51:51.783504 Enriched/Tags for minecraft:block | ||
// 1.21 2024-07-08T19:07:18.9995461 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 | ||
25fdf63da1fa45e77e081e6a5665e33ac1a6e2ec data\minecraft\tags\block\walls.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 | ||
681323bde66d0fca08ab3237aac95c10dac774ba data\minecraft\tags\block\planks.json | ||
75832a99d368173979e7472d527816181cd32b23 data\minecraft\tags\block\logs_that_burn.json | ||
505fa84668bc20d712c8653f9d2158a8c7e38072 data\minecraft\tags\block\mineable\pickaxe.json | ||
fee3dc8eb98867f287b18093a7005018fe943012 data\minecraft\tags\block\leaves.json | ||
69aa3d1eeed3ac4e72a293913a933c96f034b5fd data\minecraft\tags\block\mineable\pickaxe.json | ||
9db68236f7a767c0e08b8088912b86e14fc091f3 data\minecraft\tags\block\stairs.json | ||
e2c8e2af57b9edfb4ca0d3615f21877694656376 data\minecraft\tags\block\slabs.json | ||
5b2791a469905a7d1d06a1fdb2780da2ed36e84d data\minecraft\tags\block\wooden_slabs.json | ||
35133e95f1c8fdd7a1c21afcc231fc0bffefb9a8 data\enriched\tags\block\incorrect_for_copper_tool.json | ||
35133e95f1c8fdd7a1c21afcc231fc0bffefb9a8 data\enriched\tags\block\incorrect_for_sapphire_tool.json | ||
de2094bea0e4758af28756315ad17e9336ffadec data\minecraft\tags\block\wooden_stairs.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-08T19:07:18.9985392 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-08T19:07:18.9980341 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" | ||
] | ||
} |
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,5 @@ | ||
{ | ||
"values": [ | ||
"enriched:redwood_leaves" | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"values": [ | ||
"enriched:dark_granite_slab", | ||
"enriched:polished_dark_granite_slab", | ||
"enriched:marble_slab", | ||
"enriched:polished_marble_slab", | ||
"enriched:polished_marble_stairs" | ||
] | ||
} |
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:dark_granite_stairs", | ||
"enriched:polished_dark_granite_stairs", | ||
"enriched:marble_stairs", | ||
"enriched:polished_marble_stairs", | ||
"enriched:polished_marble_stairs" | ||
] | ||
} |
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:dark_granite_wall", | ||
"enriched:marble_wall" | ||
] | ||
} |
5 changes: 5 additions & 0 deletions
5
src/main/generated/data/minecraft/tags/block/wooden_slabs.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,5 @@ | ||
{ | ||
"values": [ | ||
"enriched:redwood_slab" | ||
] | ||
} |
5 changes: 5 additions & 0 deletions
5
src/main/generated/data/minecraft/tags/block/wooden_stairs.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,5 @@ | ||
{ | ||
"values": [ | ||
"enriched:redwood_stairs" | ||
] | ||
} |
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; | ||
} | ||
} |
Oops, something went wrong.