This repository has been archived by the owner on Aug 19, 2024. It is now read-only.
generated from NeoForgeMDKs/MDK-1.21-ModDevGradle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
165 additions
and
25 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
src/generated/resources/.cache/6c8ad8cd4f4367627e09465effa383ea2f8c6d42
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-24T12:02:01.4363713 Languages: zh_cn for mod: farm_away | ||
df05966a24a2f476e4ea468d44fa7d576cd4af02 assets/farm_away/lang/zh_cn.json | ||
// 1.21 2024-07-24T13:13:35.3711124 Languages: zh_cn for mod: farm_away | ||
a8a00fe5d5b72ed4d5f4449abac1f88562b5da7e assets/farm_away/lang/zh_cn.json |
3 changes: 3 additions & 0 deletions
3
src/generated/resources/.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e
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,3 @@ | ||
// 1.21 2024-07-24T13:00:24.8402901 Recipes | ||
a37b0ee385c41c60ec85e055c40c7fa46606a7e3 data/farm_away/advancement/recipes/tools/enhanced_hoe.json | ||
77e3d982ba1963c13cce2a0d23ce99d444bbf49e data/farm_away/recipe/enhanced_hoe.json |
4 changes: 2 additions & 2 deletions
4
src/generated/resources/.cache/e98718e6a5c8818fc5442648d1cdaaf3333dca6a
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
4 changes: 2 additions & 2 deletions
4
src/generated/resources/.cache/ed2129706b7449efda6916727cc703dd0ac6a2ce
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-24T12:02:01.4363713 Languages: en_us for mod: farm_away | ||
a7140d92e47cbe1f638c31643c1a878a7daf763a assets/farm_away/lang/en_us.json | ||
// 1.21 2024-07-24T13:13:35.3711124 Languages: en_us for mod: farm_away | ||
f5b21b49abb639a25565c9be2660ad6a8b77524c assets/farm_away/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
2 changes: 1 addition & 1 deletion
2
src/generated/resources/assets/farm_away/models/item/enhanced_hoe_inventory.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
43 changes: 43 additions & 0 deletions
43
src/generated/resources/data/farm_away/advancement/recipes/tools/enhanced_hoe.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,43 @@ | ||
{ | ||
"parent": "minecraft:recipes/root", | ||
"criteria": { | ||
"has_nether_star": { | ||
"conditions": { | ||
"items": [ | ||
{ | ||
"items": "minecraft:nether_star" | ||
} | ||
] | ||
}, | ||
"trigger": "minecraft:inventory_changed" | ||
}, | ||
"has_netherite_hoe": { | ||
"conditions": { | ||
"items": [ | ||
{ | ||
"items": "minecraft:netherite_hoe" | ||
} | ||
] | ||
}, | ||
"trigger": "minecraft:inventory_changed" | ||
}, | ||
"has_the_recipe": { | ||
"conditions": { | ||
"recipe": "farm_away:enhanced_hoe" | ||
}, | ||
"trigger": "minecraft:recipe_unlocked" | ||
} | ||
}, | ||
"requirements": [ | ||
[ | ||
"has_the_recipe", | ||
"has_netherite_hoe", | ||
"has_nether_star" | ||
] | ||
], | ||
"rewards": { | ||
"recipes": [ | ||
"farm_away:enhanced_hoe" | ||
] | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
src/generated/resources/data/farm_away/recipe/enhanced_hoe.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,16 @@ | ||
{ | ||
"type": "minecraft:crafting_shapeless", | ||
"category": "equipment", | ||
"ingredients": [ | ||
{ | ||
"item": "minecraft:netherite_hoe" | ||
}, | ||
{ | ||
"item": "minecraft:nether_star" | ||
} | ||
], | ||
"result": { | ||
"count": 1, | ||
"id": "farm_away:enhanced_hoe" | ||
} | ||
} |
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
11 changes: 0 additions & 11 deletions
11
src/main/java/ho/artisan/farmaway/common/effect/BluesEffect.java
This file was deleted.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
src/main/java/ho/artisan/farmaway/common/item/BluesCarrotItem.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,22 @@ | ||
package ho.artisan.farmaway.common.item; | ||
|
||
import net.minecraft.ChatFormatting; | ||
import net.minecraft.network.chat.Component; | ||
import net.minecraft.world.item.ItemNameBlockItem; | ||
import net.minecraft.world.item.ItemStack; | ||
import net.minecraft.world.item.TooltipFlag; | ||
import net.minecraft.world.level.block.Block; | ||
|
||
import java.util.List; | ||
|
||
public class BluesCarrotItem extends ItemNameBlockItem { | ||
public BluesCarrotItem(Block block, Properties properties) { | ||
super(block, properties); | ||
} | ||
|
||
@Override | ||
public void appendHoverText(ItemStack stack, TooltipContext context, List<Component> tooltipComponents, TooltipFlag tooltipFlag) { | ||
super.appendHoverText(stack, context, tooltipComponents, tooltipFlag); | ||
tooltipComponents.add(Component.translatable(getDescriptionId() + ".tooltip").withStyle(ChatFormatting.DARK_PURPLE)); | ||
} | ||
} |
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
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
28 changes: 28 additions & 0 deletions
28
src/main/java/ho/artisan/farmaway/datagen/FARecipeProvider.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,28 @@ | ||
package ho.artisan.farmaway.datagen; | ||
|
||
import ho.artisan.farmaway.common.registry.FAItems; | ||
import net.minecraft.core.HolderLookup; | ||
import net.minecraft.data.PackOutput; | ||
import net.minecraft.data.recipes.RecipeCategory; | ||
import net.minecraft.data.recipes.RecipeOutput; | ||
import net.minecraft.data.recipes.RecipeProvider; | ||
import net.minecraft.data.recipes.ShapelessRecipeBuilder; | ||
import net.minecraft.world.item.Items; | ||
|
||
import java.util.concurrent.CompletableFuture; | ||
|
||
public class FARecipeProvider extends RecipeProvider { | ||
public FARecipeProvider(PackOutput output, CompletableFuture<HolderLookup.Provider> registries) { | ||
super(output, registries); | ||
} | ||
|
||
@Override | ||
protected void buildRecipes(RecipeOutput recipeOutput) { | ||
ShapelessRecipeBuilder.shapeless(RecipeCategory.TOOLS, FAItems.ENHANCED_HOE.get()) | ||
.requires(Items.NETHERITE_HOE) | ||
.requires(Items.NETHER_STAR) | ||
.unlockedBy("has_netherite_hoe", has(Items.NETHERITE_HOE)) | ||
.unlockedBy("has_nether_star", has(Items.NETHER_STAR)) | ||
.save(recipeOutput); | ||
} | ||
} |
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
2 changes: 1 addition & 1 deletion
2
src/main/resources/assets/farm_away/models/item/enhanced_hoe.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
File renamed without changes