Arqade Asked by Micah Suess on January 4, 2021
I am trying to make a recipe for a custom entities spawn egg in Minecraft bedrock edition. I tried to use the give command, but I couldn’t figure that out. I am not sure if it is possible, but does anyone know how?
This is not possible on vanilla Minecraft Bedrock. Use a behaviour pack, or a plugin if you’re on a PocketMine-MP Server.
Answered by juicyguyzer on January 4, 2021
In your addon's behavior folder, create another folder called "recipes". There you can add all your item's recipes in .json files (ex: spawn_egg.json). You can put one of the following codes in the file, editing it for your item:
{
"format_version": "1.12",
"minecraft:recipe_shaped": {
"description": {
"identifier": "minecraft:acacia_boat"
},
"tags": [
"crafting_table"
],
"groups": [
"planks"
],
"pattern": [
"#P#",
"###"
],
"key": {
"P": {
"item": "minecraft:wooden_shovel"
},
"#": {
"item": "minecraft:planks",
"data": 4
}
},
"result": {
"item": "minecraft:boat",
"data": 4
}
}
}
{
"format_version": "1.12",
"minecraft:recipe_shapeless": {
"description": {
"identifier": "yourname:youritem"
},
"priority": 0,
"ingredients": [
{
"item": "name:firstingredient",
"data": 0,
"count": 2
},
{
"item": "name:secondingredient",
"data": 0,
"count": 1
}
],
"result": {
"item": "yourname:youritem",
"data": 0
}
}
}
Note: You have to have "Experimental Gameplay" (in your minecraft world's settings) set to "ON" for your addon to work.
I got the code from guide.bedrock.dev.
Answered by RobinW03 on January 4, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP