Cigarette Recipes
This commit is contained in:
@@ -0,0 +1,32 @@
|
|||||||
|
{
|
||||||
|
"parent": "minecraft:recipes/root",
|
||||||
|
"criteria": {
|
||||||
|
"has_the_recipe": {
|
||||||
|
"conditions": {
|
||||||
|
"recipe": "acesbs:cigarette"
|
||||||
|
},
|
||||||
|
"trigger": "minecraft:recipe_unlocked"
|
||||||
|
},
|
||||||
|
"has_tobacco": {
|
||||||
|
"conditions": {
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"items": "acesbs:tobacco"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"trigger": "minecraft:inventory_changed"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"requirements": [
|
||||||
|
[
|
||||||
|
"has_the_recipe",
|
||||||
|
"has_tobacco"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"rewards": {
|
||||||
|
"recipes": [
|
||||||
|
"acesbs:cigarette"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
{
|
||||||
|
"parent": "minecraft:recipes/root",
|
||||||
|
"criteria": {
|
||||||
|
"has_cigarette": {
|
||||||
|
"conditions": {
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"items": "acesbs:cigarette"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"trigger": "minecraft:inventory_changed"
|
||||||
|
},
|
||||||
|
"has_the_recipe": {
|
||||||
|
"conditions": {
|
||||||
|
"recipe": "acesbs:cigarette_funny"
|
||||||
|
},
|
||||||
|
"trigger": "minecraft:recipe_unlocked"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"requirements": [
|
||||||
|
[
|
||||||
|
"has_the_recipe",
|
||||||
|
"has_cigarette"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"rewards": {
|
||||||
|
"recipes": [
|
||||||
|
"acesbs:cigarette_funny"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
{
|
||||||
|
"parent": "minecraft:recipes/root",
|
||||||
|
"criteria": {
|
||||||
|
"has_cigarette": {
|
||||||
|
"conditions": {
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"items": "acesbs:cigarette"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"trigger": "minecraft:inventory_changed"
|
||||||
|
},
|
||||||
|
"has_the_recipe": {
|
||||||
|
"conditions": {
|
||||||
|
"recipe": "acesbs:cigarette_lemon"
|
||||||
|
},
|
||||||
|
"trigger": "minecraft:recipe_unlocked"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"requirements": [
|
||||||
|
[
|
||||||
|
"has_the_recipe",
|
||||||
|
"has_cigarette"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"rewards": {
|
||||||
|
"recipes": [
|
||||||
|
"acesbs:cigarette_lemon"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"type": "minecraft:crafting_shapeless",
|
||||||
|
"category": "misc",
|
||||||
|
"ingredients": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:paper"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "acesbs:tobacco"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"result": {
|
||||||
|
"count": 1,
|
||||||
|
"id": "acesbs:cigarette"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"type": "minecraft:crafting_shapeless",
|
||||||
|
"category": "misc",
|
||||||
|
"ingredients": [
|
||||||
|
{
|
||||||
|
"item": "acesbs:cigarette"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "acesbs:infernal_ashes"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"result": {
|
||||||
|
"count": 1,
|
||||||
|
"id": "acesbs:cigarette_funny"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"type": "minecraft:crafting_shapeless",
|
||||||
|
"category": "misc",
|
||||||
|
"ingredients": [
|
||||||
|
{
|
||||||
|
"item": "acesbs:cigarette"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "acesbs:combustible_lemon"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"result": {
|
||||||
|
"count": 1,
|
||||||
|
"id": "acesbs:cigarette_lemon"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -59,6 +59,24 @@ public class ModRecipeProvider extends FabricRecipeProvider {
|
|||||||
.criterion(hasItem(ModItems.STABLE_ENDTROPY), conditionsFromItem(ModItems.STABLE_ENDTROPY))
|
.criterion(hasItem(ModItems.STABLE_ENDTROPY), conditionsFromItem(ModItems.STABLE_ENDTROPY))
|
||||||
.offerTo(recipeExporter);
|
.offerTo(recipeExporter);
|
||||||
|
|
||||||
|
ShapelessRecipeJsonBuilder.create(RecipeCategory.FOOD, ModItems.CIGARETTE, 1)
|
||||||
|
.input(Items.PAPER, 1)
|
||||||
|
.input(ModItems.TOBACCO, 1)
|
||||||
|
.criterion(hasItem(ModItems.TOBACCO), conditionsFromItem(ModItems.TOBACCO))
|
||||||
|
.offerTo(recipeExporter);
|
||||||
|
|
||||||
|
ShapelessRecipeJsonBuilder.create(RecipeCategory.FOOD, ModItems.CIGARETTE_LEMON, 1)
|
||||||
|
.input(ModItems.CIGARETTE, 1)
|
||||||
|
.input(ModItems.COMBUSTIBLE_LEMON, 1)
|
||||||
|
.criterion(hasItem(ModItems.CIGARETTE), conditionsFromItem(ModItems.CIGARETTE))
|
||||||
|
.offerTo(recipeExporter);
|
||||||
|
|
||||||
|
ShapelessRecipeJsonBuilder.create(RecipeCategory.FOOD, ModItems.CIGARETTE_FUNNY, 1)
|
||||||
|
.input(ModItems.CIGARETTE, 1)
|
||||||
|
.input(ModItems.INFERNAL_ASHES, 1)
|
||||||
|
.criterion(hasItem(ModItems.CIGARETTE), conditionsFromItem(ModItems.CIGARETTE))
|
||||||
|
.offerTo(recipeExporter);
|
||||||
|
|
||||||
ShapedRecipeJsonBuilder.create(RecipeCategory.DECORATIONS, ModBlocks.CRYSTAL_ENTROPY, 8)
|
ShapedRecipeJsonBuilder.create(RecipeCategory.DECORATIONS, ModBlocks.CRYSTAL_ENTROPY, 8)
|
||||||
.pattern("###")
|
.pattern("###")
|
||||||
.pattern("#S#")
|
.pattern("#S#")
|
||||||
|
|||||||
@@ -50,7 +50,7 @@
|
|||||||
"item.acesbs.tobacco": "Tobacco",
|
"item.acesbs.tobacco": "Tobacco",
|
||||||
"item.acesbs.cigarette": "Cigarette",
|
"item.acesbs.cigarette": "Cigarette",
|
||||||
"item.acesbs.cigarette_lemon": "Cigarette",
|
"item.acesbs.cigarette_lemon": "Cigarette",
|
||||||
"item.acesbs.cigarette_funny": "Cigarette",
|
"item.acesbs.cigarette_funny": "Hazy Cigarette",
|
||||||
|
|
||||||
"item.acesbs.fren_spawn_egg": "Fren Spawn Egg",
|
"item.acesbs.fren_spawn_egg": "Fren Spawn Egg",
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user