Blockus

Blockus

7M Downloads

Blockus chest boat recipes are not in the chest_boat group

haykam821 opened this issue ยท 0 comments

commented

The recipe provider for Blockus implements its own helper for exporting boat recipes:

public static void offerBoatsRecipe(Consumer<RecipeJsonProvider> exporter, ItemConvertible output1, ItemConvertible output2, ItemConvertible input) {
ShapedRecipeJsonBuilder.create(output1).input('#', input).pattern("# #").pattern("###").group("boat").criterion("in_water", requireEnteringFluid(Blocks.WATER)).offerTo(exporter);
ShapelessRecipeJsonBuilder.create(output2).input(Blocks.CHEST).input(output1).criterion("has_boat", conditionsFromTag(ItemTags.BOATS)).offerTo(exporter);
}

However, since the RecipeProvider.offerChestBoatRecipe method was later changed to include a group, the Blockus recipes will not be included in the group.

Mangrove boat, mangrove boat with chest, white oak boat with chest, bamboo boat with chest, and charred boat with chest in the recipe book