Change whitewash recipe
This commit is contained in:
parent
bd86cf764c
commit
2606dc1f66
4 changed files with 40 additions and 17 deletions
|
@ -78,7 +78,8 @@ Due to sheer amount of changes, many may be undocumented. We hope you enjoy this
|
|||
* Now uses screwdriver to change sound
|
||||
* Sound names now translatable
|
||||
* Added a questionable sound option
|
||||
* At least 2 new advancements
|
||||
* Whitewash can now be applied to concrete and some other blocks with a brush
|
||||
* Added new advancements
|
||||
* Bug fixes
|
||||
* Added many of the missing crafting recipes
|
||||
* Stone-cutting recipe for slabs now gives 2 blocks
|
||||
|
@ -92,3 +93,4 @@ Due to sheer amount of changes, many may be undocumented. We hope you enjoy this
|
|||
* Changed parts of file structure for models and textures
|
||||
* Removed some unused textures intended for later updates
|
||||
* Moved to newer Fabric, Loom etc. versions. Took a while to figure out how to update Gradle :D
|
||||
* Source-sets main and client have been merged to fix mixins
|
|
@ -1,12 +1,24 @@
|
|||
{
|
||||
"parent": "minecraft:recipes/root",
|
||||
"criteria": {
|
||||
"has_bucket": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": [
|
||||
"new_soviet:whitewash_item"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_quartz": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": [
|
||||
"minecraft:quartz"
|
||||
"new_soviet:whitewash_item"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
@ -24,7 +36,7 @@
|
|||
"items": [
|
||||
{
|
||||
"items": [
|
||||
"minecraft:white_dye"
|
||||
"new_soviet:whitewash_item"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
@ -36,6 +48,7 @@
|
|||
[
|
||||
"has_quartz",
|
||||
"has_white_dye",
|
||||
"has_bucket",
|
||||
"has_the_recipe"
|
||||
]
|
||||
],
|
|
@ -1,21 +1,24 @@
|
|||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"category": "building",
|
||||
"key": {
|
||||
"X": {
|
||||
"type": "minecraft:crafting_shapeless",
|
||||
"category": "misc",
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "minecraft:quartz"
|
||||
},
|
||||
"Y": {
|
||||
"item": "minecraft:white_dye"
|
||||
}
|
||||
{
|
||||
"item": "minecraft:quartz"
|
||||
},
|
||||
"pattern": [
|
||||
"XY",
|
||||
"YX"
|
||||
{
|
||||
"item": "minecraft:white_dye"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:white_dye"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:bucket"
|
||||
}
|
||||
],
|
||||
"result": {
|
||||
"count": 6,
|
||||
"item": "new_soviet:whitewash_item"
|
||||
},
|
||||
"show_notification": true
|
||||
}
|
||||
}
|
|
@ -1146,6 +1146,11 @@ public class RecipeGenerator extends FabricRecipeProvider {
|
|||
.criterion(FabricRecipeProvider.hasItem(Items.WHEAT), FabricRecipeProvider.conditionsFromItem(NSE_Items.GRAIN_PATTERN))
|
||||
.offerTo(exporter);
|
||||
|
||||
crissCrossRecipe(exporter, NSE_Items.WHITEWASH_ITEM, Items.QUARTZ, Items.WHITE_DYE, 6);
|
||||
ShapelessRecipeJsonBuilder.create(RecipeCategory.MISC, NSE_Items.WHITEWASH_ITEM)
|
||||
.input(Items.QUARTZ, 2).input(Items.WHITE_DYE, 2).input(Items.BUCKET)
|
||||
.criterion(FabricRecipeProvider.hasItem(Items.QUARTZ), FabricRecipeProvider.conditionsFromItem(NSE_Items.WHITEWASH_ITEM))
|
||||
.criterion(FabricRecipeProvider.hasItem(Items.WHITE_DYE), FabricRecipeProvider.conditionsFromItem(NSE_Items.WHITEWASH_ITEM))
|
||||
.criterion(FabricRecipeProvider.hasItem(Items.BUCKET), FabricRecipeProvider.conditionsFromItem(NSE_Items.WHITEWASH_ITEM))
|
||||
.offerTo(exporter);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue