Skip to content

Commit

Permalink
fix nbt not being serialized in sword pedestal recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
IchHabeHunger54 committed Feb 2, 2024
1 parent 6dd1300 commit 0b38e84
Show file tree
Hide file tree
Showing 19 changed files with 51 additions and 37 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 1.20.4 2024-02-02T04:30:29.4826871 Recipes
// 1.20.4 2024-02-02T17:09:41.0476521 Recipes
4b0d99f7f8ad3b6d25efd913add7ad2c43782562 data/bibliocraft/advancements/recipes/building_blocks/acacia_bookcase.json
bcab4008a31a765a736701f9350bc541c42c3e11 data/bibliocraft/advancements/recipes/building_blocks/acacia_fancy_armor_stand.json
793b249d2c89d24fc3149266e599d48eddf6b258 data/bibliocraft/advancements/recipes/building_blocks/acacia_label.json
Expand Down Expand Up @@ -803,22 +803,22 @@ cb6b1f89fa2e2366e52aad17f0919861fca3601d data/bibliocraft/recipes/spruce_fancy_a
9dbb8556aba47e60e72d72cc7c7c61e6c336f61e data/bibliocraft/recipes/spruce_potion_shelf.json
059b123bc00d2abd02525205d914a4293d8cd687 data/bibliocraft/recipes/spruce_shelf.json
568f2de7ea109fc05a62ecf171155023f9bdc4ce data/bibliocraft/recipes/spruce_tool_rack.json
8515854d7fae9c729f21918e8649794daa56ad02 data/bibliocraft/recipes/sword_pedestal_black.json
e445f29209b752b12d02cb689fb8b28d978cbee2 data/bibliocraft/recipes/sword_pedestal_blue.json
b7c71104b0a6ba48b71c6de0c2200301e1f280d7 data/bibliocraft/recipes/sword_pedestal_brown.json
f00f740b0e15536107a9f721c971ed9d237fc751 data/bibliocraft/recipes/sword_pedestal_cyan.json
fc247b9fd978374043f53484d2f010054e578d9a data/bibliocraft/recipes/sword_pedestal_gray.json
0b514af9d6249f2e19d3799f66f74acade4775f2 data/bibliocraft/recipes/sword_pedestal_green.json
18b982021ba194c8070aa108d45dd407d7e21d1c data/bibliocraft/recipes/sword_pedestal_light_blue.json
0e852caa0d9e98630d54efc71b208efe50cdc20c data/bibliocraft/recipes/sword_pedestal_light_gray.json
3c9178b4061467ef7c195af40b3e3b2191948025 data/bibliocraft/recipes/sword_pedestal_lime.json
aef8a88fc1ab675f891c110e72d078f0d3177360 data/bibliocraft/recipes/sword_pedestal_magenta.json
f78347ce8a238f0331b5c9e2087961f77e3600ca data/bibliocraft/recipes/sword_pedestal_orange.json
4ac90e2f523643214eb3101140760ede738c5ad1 data/bibliocraft/recipes/sword_pedestal_pink.json
f55628ba7bf40b9f112e493da2e13360aa139de1 data/bibliocraft/recipes/sword_pedestal_purple.json
bc707a2749c8d1b8143d82569b82f0107238e4bd data/bibliocraft/recipes/sword_pedestal_red.json
ecef7d7e2fc37bb921c047819fd63155a537fb11 data/bibliocraft/recipes/sword_pedestal_white.json
e4a43bdd85f949e14fdc929760fc82cb53f0ce75 data/bibliocraft/recipes/sword_pedestal_yellow.json
9679156a0986a47e956509d023b83818d71e23b5 data/bibliocraft/recipes/sword_pedestal_black.json
55aa9f93cf24b400cc0c91a46be0bcd46100ced8 data/bibliocraft/recipes/sword_pedestal_blue.json
7fcaface3c8fc6c1c5bf750cf2bac144d2467b56 data/bibliocraft/recipes/sword_pedestal_brown.json
7733bb1e34c1462d7ba3a2e74a62146696eb7beb data/bibliocraft/recipes/sword_pedestal_cyan.json
c24cdafc85681d75670e6fef4d9253a229f23fab data/bibliocraft/recipes/sword_pedestal_gray.json
e1a853cca8a4a9001e02005dcc0fab0735e9e93a data/bibliocraft/recipes/sword_pedestal_green.json
10570619e69cda5cf77bac8af15930fd16b4cc22 data/bibliocraft/recipes/sword_pedestal_light_blue.json
7d5ebf20d1351dd340c2650cd06e5f9533636898 data/bibliocraft/recipes/sword_pedestal_light_gray.json
771d03f4d45b9117968378fb6fa5931338e5d28c data/bibliocraft/recipes/sword_pedestal_lime.json
6124b273c8fd1e7c4e9fc01dc6ab557605546268 data/bibliocraft/recipes/sword_pedestal_magenta.json
0018c192652d28960bc8923b3307c4b67b94c175 data/bibliocraft/recipes/sword_pedestal_orange.json
0450873ac239d65e451cfb46fdf4f355c702b291 data/bibliocraft/recipes/sword_pedestal_pink.json
911f8aa7f60bf046831c99f19279129ddc47060d data/bibliocraft/recipes/sword_pedestal_purple.json
193ee6b911a755a4f2691fbc09f3591eb13f378a data/bibliocraft/recipes/sword_pedestal_red.json
5e057aaf2c23fbd0eed6e554fbf8114a3ce63ecd data/bibliocraft/recipes/sword_pedestal_white.json
b48bbfc154ddccda929b1a832faef5f4351de164 data/bibliocraft/recipes/sword_pedestal_yellow.json
f217ece3f77a199affae9da4df2396926a6e02fe data/bibliocraft/recipes/warped_bookcase.json
4e8a260abc6f580d6dbc98ae6a325a568806dfaf data/bibliocraft/recipes/warped_fancy_armor_stand.json
461393acfac71afa447008ba93aa81bec3823faa data/bibliocraft/recipes/warped_label.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"SWS"
],
"result": {
"item": "bibliocraft:sword_pedestal"
"item": "bibliocraft:sword_pedestal",
"nbt": "{display:{color:1908001}}"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"SWS"
],
"result": {
"item": "bibliocraft:sword_pedestal"
"item": "bibliocraft:sword_pedestal",
"nbt": "{display:{color:3949738}}"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"SWS"
],
"result": {
"item": "bibliocraft:sword_pedestal"
"item": "bibliocraft:sword_pedestal",
"nbt": "{display:{color:8606770}}"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"SWS"
],
"result": {
"item": "bibliocraft:sword_pedestal"
"item": "bibliocraft:sword_pedestal",
"nbt": "{display:{color:1481884}}"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"SWS"
],
"result": {
"item": "bibliocraft:sword_pedestal"
"item": "bibliocraft:sword_pedestal",
"nbt": "{display:{color:4673362}}"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"SWS"
],
"result": {
"item": "bibliocraft:sword_pedestal"
"item": "bibliocraft:sword_pedestal",
"nbt": "{display:{color:6192150}}"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"SWS"
],
"result": {
"item": "bibliocraft:sword_pedestal"
"item": "bibliocraft:sword_pedestal",
"nbt": "{display:{color:3847130}}"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"SWS"
],
"result": {
"item": "bibliocraft:sword_pedestal"
"item": "bibliocraft:sword_pedestal",
"nbt": "{display:{color:10329495}}"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"SWS"
],
"result": {
"item": "bibliocraft:sword_pedestal"
"item": "bibliocraft:sword_pedestal",
"nbt": "{display:{color:8439583}}"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"SWS"
],
"result": {
"item": "bibliocraft:sword_pedestal"
"item": "bibliocraft:sword_pedestal",
"nbt": "{display:{color:13061821}}"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"SWS"
],
"result": {
"item": "bibliocraft:sword_pedestal"
"item": "bibliocraft:sword_pedestal",
"nbt": "{display:{color:16351261}}"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"SWS"
],
"result": {
"item": "bibliocraft:sword_pedestal"
"item": "bibliocraft:sword_pedestal",
"nbt": "{display:{color:15961002}}"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"SWS"
],
"result": {
"item": "bibliocraft:sword_pedestal"
"item": "bibliocraft:sword_pedestal",
"nbt": "{display:{color:8991416}}"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"SWS"
],
"result": {
"item": "bibliocraft:sword_pedestal"
"item": "bibliocraft:sword_pedestal",
"nbt": "{display:{color:11546150}}"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"SWS"
],
"result": {
"item": "bibliocraft:sword_pedestal"
"item": "bibliocraft:sword_pedestal",
"nbt": "{display:{color:16383998}}"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"SWS"
],
"result": {
"item": "bibliocraft:sword_pedestal"
"item": "bibliocraft:sword_pedestal",
"nbt": "{display:{color:16701501}}"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ public BCRecipeProvider(PackOutput output) {
protected void buildRecipes(RecipeOutput output) {
BibliocraftDatagenHelper.get().generateRecipes(output);
for (DyeColor color : DyeColor.values()) {
ItemStack result = new ItemStack(BCItems.SWORD_PEDESTAL.get());
DyeableLeatherItem.dyeArmor(result, List.of(DyeItem.byColor(color)));
ShapedRecipeBuilder.shaped(RecipeCategory.BUILDING_BLOCKS, result)
ShapedRecipeBuilder.shaped(RecipeCategory.BUILDING_BLOCKS, DyeableLeatherItem.dyeArmor(new ItemStack(BCItems.SWORD_PEDESTAL.get()), List.of(DyeItem.byColor(color))))
.pattern(" S ")
.pattern("SWS")
.define('S', Items.SMOOTH_STONE_SLAB)
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/blockbench/seat.bbmodel

Large diffs are not rendered by default.

0 comments on commit 0b38e84

Please sign in to comment.