-
Notifications
You must be signed in to change notification settings - Fork 6
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
1 parent
738c0a0
commit a9962f0
Showing
11 changed files
with
93 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
### 3.0.1 | ||
### 3.0.2 | ||
|
||
Fix Fabirc not having dependency on Trenzalore | ||
Fix recipe not existing |
2 changes: 1 addition & 1 deletion
2
Common/src/generated/resources/.cache/048cbd7596a74e9a5aebee5c3e5ec0f2019e93c5
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.20 2023-06-10T12:35:03.3405424 Obsidian Boat/Model Definitions | ||
// 1.20.1 2023-07-27T14:32:18.018293 Obsidian Boat/Model Definitions | ||
db54f38a1594a0f71ae2b4dd7367a72f9ba6d320 assets\obsidianboat\models\item\obsidian_boat.json |
2 changes: 1 addition & 1 deletion
2
Common/src/generated/resources/.cache/8592a013770b9a918aaf0557b8379b5e00456828
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.20 2023-06-10T12:35:03.3400423 Obsidian Boat/Language (en_us) | ||
// 1.20.1 2023-07-27T14:32:18.0177916 Obsidian Boat/Language (en_us) | ||
a7d157e3941a596cf1a9fb9925adc58d085baaab assets\obsidianboat\lang\en_us.json |
2 changes: 1 addition & 1 deletion
2
Common/src/generated/resources/.cache/dbdf4bbea9f55df734427dda8ee4bcb7c4c8439e
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.20 2023-06-10T12:35:03.3324919 Obsidian Boat/Advancements | ||
// 1.20.1 2023-07-27T14:32:18.0157923 Obsidian Boat/Advancements | ||
0add7ba9f9ed61d9dac42378e162dcd94f9bd98e data\obsidianboat\advancements\obsidianboat.json |
3 changes: 3 additions & 0 deletions
3
Common/src/generated/resources/.cache/ee14de1d8ce97975f07dd66153061c5d3791ad6f
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.20.1 2023-07-27T14:32:18.018293 Obsidian Boat/Recipes | ||
42167c87c3b2c9db6d765326f2c81d2ab816b20a data\obsidianboat\advancements\recipes\transportation\obsidian_boat.json | ||
8d0abd28f06bfb7ca69ca3bd3ec89ab50b768085 data\obsidianboat\recipes\obsidian_boat.json |
2 changes: 1 addition & 1 deletion
2
Common/src/generated/resources/.cache/efc17561285db336505206f3ced1e22d2913ad29
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.20 2023-06-10T12:35:03.3390412 Obsidian Boat/Pack Metadata | ||
// 1.20.1 2023-07-27T14:32:18.0172916 Obsidian Boat/Pack Metadata | ||
bf3a2399e4449bd8af5b7765ddce0ed0a7d28f19 pack.mcmeta |
35 changes: 35 additions & 0 deletions
35
...erated/resources/data/obsidianboat/advancements/recipes/transportation/obsidian_boat.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,35 @@ | ||
{ | ||
"parent": "minecraft:recipes/root", | ||
"criteria": { | ||
"has_obsidian": { | ||
"conditions": { | ||
"items": [ | ||
{ | ||
"items": [ | ||
"minecraft:obsidian" | ||
] | ||
} | ||
] | ||
}, | ||
"trigger": "minecraft:inventory_changed" | ||
}, | ||
"has_the_recipe": { | ||
"conditions": { | ||
"recipe": "obsidianboat:obsidian_boat" | ||
}, | ||
"trigger": "minecraft:recipe_unlocked" | ||
} | ||
}, | ||
"requirements": [ | ||
[ | ||
"has_obsidian", | ||
"has_the_recipe" | ||
] | ||
], | ||
"rewards": { | ||
"recipes": [ | ||
"obsidianboat:obsidian_boat" | ||
] | ||
}, | ||
"sends_telemetry_event": false | ||
} |
17 changes: 17 additions & 0 deletions
17
Common/src/generated/resources/data/obsidianboat/recipes/obsidian_boat.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,17 @@ | ||
{ | ||
"type": "minecraft:crafting_shaped", | ||
"category": "misc", | ||
"key": { | ||
"O": { | ||
"item": "minecraft:obsidian" | ||
} | ||
}, | ||
"pattern": [ | ||
"O O", | ||
"OOO" | ||
], | ||
"result": { | ||
"item": "obsidianboat:obsidian_boat" | ||
}, | ||
"show_notification": true | ||
} |
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
30 changes: 30 additions & 0 deletions
30
Fabric/src/main/java/com/unrealdinnerbone/obsidianboat/data/RecipeProvider.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,30 @@ | ||
package com.unrealdinnerbone.obsidianboat.data; | ||
|
||
import com.unrealdinnerbone.obsidianboat.OBRegistry; | ||
import com.unrealdinnerbone.obsidianboat.ObsidianBoat; | ||
import net.fabricmc.fabric.api.datagen.v1.FabricDataOutput; | ||
import net.fabricmc.fabric.api.datagen.v1.provider.FabricRecipeProvider; | ||
import net.minecraft.data.recipes.FinishedRecipe; | ||
import net.minecraft.data.recipes.RecipeCategory; | ||
import net.minecraft.data.recipes.ShapedRecipeBuilder; | ||
import net.minecraft.resources.ResourceLocation; | ||
import net.minecraft.world.level.block.Block; | ||
import net.minecraft.world.level.block.Blocks; | ||
|
||
import java.util.function.Consumer; | ||
|
||
public class RecipeProvider extends FabricRecipeProvider { | ||
|
||
public RecipeProvider(FabricDataOutput output) { | ||
super(output); | ||
} | ||
|
||
@Override | ||
public void buildRecipes(Consumer<FinishedRecipe> exporter) { | ||
ShapedRecipeBuilder.shaped(RecipeCategory.TRANSPORTATION, OBRegistry.BOAT_ITEM.get(), 1) | ||
.pattern("O O") | ||
.pattern("OOO") | ||
.unlockedBy("has_obsidian", has(Blocks.OBSIDIAN)) | ||
.define('O', Blocks.OBSIDIAN).save(exporter, new ResourceLocation(ObsidianBoat.MOD_ID, "obsidian_boat")); | ||
} | ||
} |
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