Change ceiling fan recipe
This commit is contained in:
parent
55724bb0a2
commit
7b3aedbc94
4 changed files with 26 additions and 43 deletions
|
@ -175,17 +175,14 @@ public class RecipeGenerator extends FabricRecipeProvider {
|
|||
|
||||
private void ceilingFanRecipe(Consumer<RecipeJsonProvider> exporter, ItemConvertible output) {
|
||||
ShapedRecipeJsonBuilder.create(RecipeCategory.DECORATIONS, output, 1)
|
||||
.pattern(" S ")
|
||||
.pattern("WNW")
|
||||
.input('S', Items.STICK)
|
||||
.pattern(" I ")
|
||||
.pattern("NNN")
|
||||
.input('I', Items.IRON_INGOT)
|
||||
.input('N', Items.IRON_NUGGET)
|
||||
.input('W', Items.WHITE_WOOL)
|
||||
.criterion(RecipeProvider.hasItem(Items.IRON_NUGGET),
|
||||
RecipeProvider.conditionsFromItem(Items.IRON_NUGGET))
|
||||
.criterion(RecipeProvider.hasItem(Items.STICK),
|
||||
RecipeProvider.conditionsFromItem(Items.STICK))
|
||||
.criterion(RecipeProvider.hasItem(Items.WHITE_WOOL),
|
||||
RecipeProvider.conditionsFromItem(Items.WHITE_WOOL))
|
||||
.criterion(RecipeProvider.hasItem(Items.IRON_INGOT),
|
||||
RecipeProvider.conditionsFromItem(Items.IRON_INGOT))
|
||||
.offerTo(exporter);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue