#Items General

1 messages · Page 2 of 1

real lantern
fair wedge
#

it is ye

craggy arch
# real lantern 1000TH MESSAGE Please Help https://discord.com/channels/523663022053392405/112...

Here are some things that may delay help....

a zip file - probably should have just loaded the item file and the function file, not a whole package someone has to look through. Not a lot of people got that kinda time or inclination to help.

too many things going on - focus on one thing and step through it.

  1. get the item to work with just being a stick and the command just a say command.
  2. add your function in (and take out the / in front of the command). Also your functin names are kinda long, I am not sure if that is a problem or not, but you do not need to add _function to each one, as the file ext is mcfunction, so kinda redundant.
  3. after 1st 2 work, then work on the texture issue... Not sure why there is a RP for it, did not look too closely, but may want to turn that off until you get the BP part (#1 and #2) working
jaunty jay
#

Someone know how to make like this first person view holding animation for 3d items/weapons

noble raptor
#

is minecraft:shooter experimental components?

wraith violet
dire depot
#

How do i assign my item into an existing minecraft group? Like raw foods?

dawn latch
#

Bedrock dev says that basically all components require Holiday Creator Features. Is it just wrong? If so what is a resource for me to see what experimental features each component needs?

wraith violet
dawn latch
#

Ok awesome thanks man. How should I find out in the mean time? Also is there a place to donate for the work you guys are doing?

wraith violet
dawn latch
#

Is there anything we can do to help? Also what do I need to do to get involved with updating the wiki?

#

By that I mean, what do I need to do to get on board the wiki team? I’m not terribly experienced but I’m trying to pay forward some of the help I’ve gotten on here. I’ve also had some ideas for resources on the wiki that could help others that think like myself

upbeat hamletBOT
#
Discord Servers

Bedrock Add-Ons is a help & discussion community for Add-Ons. Here, you can discuss addons, get help, and share your creations.
bedrock_addons https://discord.gg/pytC8zKHPn bedrock_addons

Bedrock OSS (Bedrock Open Source Software) exists to discuss, support, and collaborate on Minecraft Bedrock projects, tooling, and documentation. The focus here is on programming, documentation, and other "meta" topics related to making addons.
bedrock_oss https://discord.gg/XjV87YN bedrock_oss

wraith violet
#

@dawn latch You can join the OSS discord and read the contribute guide 🙂

craggy arch
# dawn latch Ok awesome thanks man. How should I find out in the mean time? Also is there a p...

Smokey speak for yourself... I accept Fried Creeper Feet.... LOL.. but a good way to pay back is to actively help others here... That in and of itself will actually improve your skills because sometimes in order to help you have to figure it out yourself. So you get better at the different aspects as well as know what websites have what information... well at least, that has been my experience thus far... if you love this stuff and have the aptitude you will take off exponentially....

slim jasper
#

does anyone know what happened

dawn latch
#

Thanks I’ll keep trying to contribute 😊

noble raptor
noble raptor
dry elbow
#

there is a 1.20.10 preview version, thats why he know

austere bramble
#

Is there any fix for custom food events?

#

when I eat my custom consumible item and I only have 1 item in hand the game crashes

green coral
#
    "formatversion":"1.20",
    "minecraft:item":{
        "description":{
            "identifier":"wrldedit:eraser",
            "category":"Equipment"
        },
        "components":{
            "minecraft:icon":{
                "texture":"eraser"
            },
            "minecraft:max_stack_size": 1,
            "minecraft:display_name":{
                "value":"Eraser"
            },
            "minecraft:on_use": {
                "onuse":{
                    "event":"erase_event"
                    }
                }
        },
        "events":{
            "erase_event": {
                "swing": {},
                "run_command": { <-----    is there a way to make it run a function on use?
                    "command": [
                        //command
                ]
            }
        }
    }
}```
topaz igloo
#
{
  "format_version": "1.20.20",
  "minecraft:item": {
    "description": {
      "identifier": "emrz-croptopia:almond"
    },
    "components": {
      "menu_category": {
        "category": "nature",
        "group": "none"
      },
      "minecraft:use_duration": 1, 
      "minecraft:use_animation": "eat",
      "minecraft:food": {
        "nutrition": 3
      },
      "minecraft:icon": {
        "texture": "croptopia:almond"
      }
    }
  }
}

the new menu_category from 1.20.20 is in the wrong place or why it not work?

real lantern
wraith violet
#

@real lantern Please refrain from abusing markdown formats

real lantern
#

Markdown format?

#

Whats that

#

Just yesterday I learned how to do special text

#

@wraith violet ?

wraith violet
real lantern
#

Oh

#

This

#

Is that ok?

#

Thats small bold letters

west saddle
#

how do you make recipes for armor?

magic hawk
#

I am trying to make my custom item have an event where every time you damage an entity(while holding the item) you gain 1.5 hearts but i am struggling because all my trys do not work

magic hawk
#

is there like an event for attacking a entity

zinc gust
#
{
  "format_version": "1.20",
  "minecraft:item": {
    "description": {
      "identifier": "wesl3y:fruit",
      "category": "nature"
    },
    "components": {
      "minecraft:use_duration":1,
      "minecraft:use_animation":"eat",
      "minecraft:max_stack_size": 1,
      "minecraft:icon": {
        "texture": "fruit"
      },
      "minecraft:display_name": {
        "value": "§bAkuma no Mi"
      },
      "minecraft:food":{
        "nutrition": 6,
        "can_always_eat": true,
        "on_consume":{
          "event": "wg"
        }
      },
      "minecraft:render_offsets": {}
    },
    "events": {
      "wg": {
        "run_command": {
          "command": [
            "say Teste"
          ]
        }
      }
    }
  }
}
#

My item crashes when ingesting it, how to solve this?

dawn latch
west saddle
#

I got this error does anyone know what it means?

#

I’m trying to make a custom sword

ebon wren
#

I created an item, and this item does not appear when I add it to servers, I activate all experiments, but the item still does not exist

#

in the private world he appears normally

#

and I tested another addon and his items appeared normally on the server, does anyone know why my items may not be appearing?

west saddle
#

Does anyone know how to make custom recipes not show up in the recipe book?

reef falcon
#

Seems like there are some things we can't modify on the vanilla food items

#

I am unable to trigger the swing event

#

woops, I needed to change the format version

#

but what's strange is, the eating animation still persists

spice sierra
#

How to fix this?

#

?

torpid steppe
#

hi, is there a limit for max_durability on items?

jade iron
#

s

real lantern
#

Those I hear are being removed soon soooo

spice sierra
real lantern
#

Yeah but it is still here rn I think

#

But not for long

#

Theres another way but I forgot

#

@spice sierra attachables

#

According to saltysean

#

Aka smokey stack

torpid steppe
#

hi there, on beforeEvents.itemUseOn how can I get the target block typeId? tried it but seems to not be working:
const targetBlock = event.block;

calm hare
#

#1067535382285135923

torpid steppe
#

ops wrong group! sorry 🙂

jade iron
vapid plank
#

What is armor trim creative category please ?

hushed orbit
#

is on_consume crashing anyone else's game?

#

or just the food component in general

#

I mean, I can just use the chargeable component but still may be annoying for other people

pallid osprey
#

Sorry for asking this, its been so long since I touch item

#
{
  "format_version": "1.10",
  "minecraft:item": {
    "description": {
      "identifier": "cm:magnet",
      "category": "Equipment"
    },
    "components": {
      "minecraft:icon": {
        "texture": "magnet"
      }
    }
  }
}
#

Isn't the minecraft:icon should fix that?

#

And

#

inside

#

RP\textures\items\models

#

I have a magnet.png

#

So I have no idea why its not appear...

atomic yew
#

is it possible for items to have emiisive textures

spice sierra
#

excuse me, what item componenets are avaiable without experimental gameplay?

#

besides icon and the display name?

torn creek
#

how big can the custom spawn egg png file be

topaz sage
#
Released the "minecraft:throwable" item component out of experimental in json formats 1.20.10 and higher
Released the "minecraft:projectile" item component out of experimental in json formats 1.20.10 and higher```

i guess the funky animation_controller way of making custom projectile shooting items are no longer needed \o/
wraith violet
#

It was never needed really...though here be dragons, shooter has been known to be bugged

latent urchin
#

Still waiting for run_command

#

On entities too

feral shoal
#

items will come out of experimental in 2033

dry elbow
#

minecraft:record is out of experimental, it support custom sounds now?

wraith violet
#

No

shadow cedar
#

Does anyone have the json of the totem?

spice sierra
#

Thecolor overlay does nothing on ataccahbles

#

any ideas?

dry pilot
#

Provided by Mojang but then removed in an old Beta. Here are some of the vanilla item .json files!

frozen juniper
#

I was wondering if we could add events on vanilla swords?

wraith violet
frozen juniper
#

Ouch too bad

glossy pine
frozen juniper
#

Yea that's what i am doing rn

spice sierra
#

i tired to meak a recipe and it says its "missing the version tag" dyk what that means?

wraith tiger
#

Is it normal that using any "%" in the item name will make the "%" disappear? (Renaming the item on an anvil)

reef falcon
#

however, that will make the item display different in the actionbar text compared to when you hover over it in your inventory

#

to have it display properly for the other one, you need 3 % 🥹

#

but then that will break the other one

sinful forge
#
{
    "format_version": "1.16.100",
    "minecraft:item": {
        "description": {
            "identifier": "minecraft:glistering_melon_slice"
        },
        "components": {
            "minecraft:use_duration": 32,
            "minecraft:food": {
                "nutrition": 1,
                "saturation_modifier": "low",
                "can_always_eat": true,
                "effects": [
                    {
                        "name": "regeneration",
                        "duration": 26
                    }
                ]
            }
        }
    }
}

trying to make glistering melon slice a food source

dry elbow
#

its possible to set a attachable when you have the item in the inventory

#

?

slim jasper
#

how to put infinite durability on armor

#

mob head type

ancient moth
#

is it possible using on_use_on to run an event on the block and decrement stack?

crisp venture
winter zephyr
#

Is it possible to make items that don't require experimental options

wraith violet
winter zephyr
#

ohh thanks so I gotta use 1.10 format version ima try that

slim jasper
#

how to make description? for items

dry pilot
#

Just like that 😅

#

You also have the option of using scripts and loot tables

errant estuary
#

how do i reset item cooldown?

modern niche
#

Wait what????? Can you describe that in detail, I mean how can we use attachables in iteam

upbeat hamletBOT
proper umbra
#

why this works

#

but not this

#
{
    "format_version": "1.12",
    "minecraft:recipe_shaped": {
        "description": {
            "identifier": "cup:tea_c_f"
        },
        "tags": [
            "crafting_table"
        ],
        "key": {
            "F": {
                "item": "minecraft:yellow_flower"
            },
            "B": {
                "item": "minecraft:bowl"
            }
        },
        "pattern": [
            "FB"
        ],
        "result": {
            "item": "cup:tea"
        }
    }
}
dry pilot
#

?recipes

upbeat hamletBOT
spice sierra
#

Cn you make armors for mobs using ataccahbles without using experimental gameplay?

dry elbow
wooden talon
spice sierra
dry elbow
#

protection is on minecraft:wearable

errant dove
#

hey

#

i need help

#

i want to create a custom pickaxe but the enchant efficiency doesn't work who i can do to fix that ?

#
{
    "format_version": "1.16.100",
    "minecraft:item": {
        "description": {
            "identifier": "demo:mining_pickaxe",
            "category": "equipment"
        },
        "components": {
            "minecraft:max_stack_size": 1,
            "minecraft:hand_equipped": true,
            "minecraft:durability": {
                "max_durability": 10000,
                "damage_chance": {
                    "min": 60,
                    "max": 100
                }
            },
            "tag:is_strong_pickaxe": {},
            "minecraft:mining_speed": 9,
            "minecraft:damage": 4,
            "minecraft:enchantable": {
                "value": 20,
                "slot": "pickaxe"
            },
            "minecraft:repairable": {
                "repair_items": [
                    {
                        "items": [
                            "demo:mining_pickaxe",
                            "minecraft:iron_ore"
                        ],
                        "repair_amount": "query.max_durability"
                    }
                ]
            },
            "minecraft:icon": {
                "texture": "mining_pickaxe_icon"
            },
            "minecraft:display_name": {
                "value": "§bPioche du Mineur§r"
spice sierra
#

I´m making this for a custom mob, so how do i slve it?

spice sierra
#

it needs the experimental stuff

dry elbow
dry elbow
errant estuary
#

How do I reset/stop a item cooldown?

mental mulch
#

u can't

lost orchid
#

I made new diamond items that can be upgraded on the smithing table, the recipe I made worked, but when activating the addon, all armor recipes with trims stopped working. Does anyone know how I can fix this?

random moat
#

does anyone have an item template of 1.20.10+ with the category thing?

spice sierra
#

do you know how item tags are used on crafting recipes and which ones are aviable for vaniila items?

signal smelt
#

Is there a list of removed/deprecated item components?

lethal iris
#

For some reason

#

When I try to repair one of my weapons or armour with a resource it’s buggy and is strange

#

But when I do it with the same weapon it works normally

#

This is the code

maiden mural
#

dumb question but how to attach an attachable to the item

#

it doesn't work with or without the attachable

maiden mural
#

nvm I placed attachables folder inside BP

patent orbit
#

Is it possible to add custom music disks?

wraith violet
patent orbit
#

How so?

wraith violet
# patent orbit How so?

You can add custom dis s using the record componemt however it only allows the vanilla music to play. Another method is to make a custom jukebox and music disc to play your own music

patent orbit
#

Ok, thanks for the quick reply.

radiant grove
#

is queued ticking possible for items?

vital venture
#

No, it's exclusive to blocks. You'd probably want to use server animations + controllers.

spice sierra
#

is there an item tag for meat or vegetables?

mild spoke
#

Is it possible to run a command upon using an item from an AC or similar? (Has to be non-experimental)

wraith violet
fresh cedar
#

When I use this sword to attack other entities, this time will be called. How should I write the "target" here to generate lightning on the entity I attack?

"mcnia:thunder_sword.hurt_entity": {
    "randomize": [
        {
            "weight": 1,
            "run_command":{
                "command":[
                    "summon lightning_bolt ~ ~ ~"
                ],
                "target": "holder"
            }
        },
        {
            "weight": 4
        }
    ]
}
fresh cedar
wraith violet
fresh cedar
#

ok

bronze radish
#

Why does use_efficiency: true not work for my pickaxe?

exotic flicker
#

does "minecraft:armor" disable all other attatchables from working other than being rendered as an armorpiece?

dry elbow
#

its possible to activate an attachable when having the item in the inventory?

torpid steppe
#

hi, do someone have an example of a simple vanilla item that needed to be resized?
I use a texture pack of 64x and some of the items that is big now I wanted to fix it, is there a straight forward way to resize it? I have used attachables with 3d items so far but in these vanilla items there is no 3D item, just a simple image, so I m wondering how to do it

fresh cedar
#

Can I use "minecrafm:cooldown" to make my custom sword have a 2s attack interval?

#

I tried, but it didn't work

fresh cedar
slim jasper
#

how do i make it bigger? 32x

#

The texture is 32x

exotic flicker
exotic flicker
#

i thought so but my item refuses to work without minecraft:armor

dry pilot
#

minecraft:hand_equipped set to true

dry pilot
#

?3d items

upbeat hamletBOT
iron glacier
#

any way to disable swing animation on an item that uses on_use_on component?

mental mulch
#

nop

slim jasper
#

Is it possible to create custom fishing rod? I know that the fishing hook Entity exists

torpid steppe
#

hi, is it possible to create a item that stays on ground and the player cannot pickup it automatically? some component that makes the item not collectable by any entity?

dry pilot
#

No. Once the item is on the ground, it is no longer an item and proceeds to be an entity.

dry pilot
weary rampart
#

some1 has any idea?

glossy pine
#

How can I get a new line using lang files? \n doesn't work

dry pilot
#

That does not works in lang files, so not possible

livid acorn
#

Hi ! I created the ectoplasm for the tutorial in the wiki but dont get the Item in my world and the troubleshoting dont help me, any idea ?

latent urchin
#

And did you try using /give to get it

livid acorn
latent urchin
#

Oh

#

Did you manage to fix it then?

livid acorn
latent urchin
#

Great

karmic sky
#

hey would anyone know why my .lang file is only renaming one item instead of the entire list?

pale needle
#

@wraith violet How can I render the item 32x32?

frozen flare
pale needle
dry pilot
#

Use attachables

#

?3d items

upbeat hamletBOT
pallid osprey
#

Anyone knows how to override vanilla item behavior?

#

I want to put vanilla items in off hand slot which normally are not possible

#

There's no block item in here

tribal echo
#

How can I fix the size of this hand without touching the weapon itself? If I change the size of my hand, the size of the weapon also changes, it becomes thinner

#

It's huge

pallid osprey
#

They should cancel out each other scaling?

tribal echo
#

Then the geo of weapons will increase from the 3rd

#

It becomes huge in width from the 3rd

#

For example, I make the size of the weapon twice as wide, so that my hand and the first-person weapon would be normal, but at the same time from the 3rd double weapon

pallid osprey
#

If it's first first person then do the scaling

#

If not, return to normal scale

tribal echo
pallid osprey
#

And u want to hand to be smaller

tribal echo
#

Like increasing weapons only in the first person?

pallid osprey
#

So if its first person, then scale down the hand and also scale up the weapon

#

If its not first person, then no scaling should be done

#

You can probably use Math-based Animation for that

tribal echo
#

I know it seems that it can be done so that it would make the size from the first person only

pallid osprey
#

U know how to solve my problem?

tribal echo
#

Nah, I don't know

pallid osprey
#

I want to put stuff like torch or lantern in off hand slot

#

😔

tribal echo
#

I need to solve my problem first

#

Do you know how to make a definition? What would it mutilate in the first person through the resource pack

#

I found this

{
"format_version": "1.8.0",
"render_controllers": {
"controller.render.player.first_person": {
"geometry": "Geometry.default",
"materials": [{ "": "Material.default" }],
"textures": ["Texture.default"],
"part_visibility": [
{ "
": false },
{
"rightArm": "query.get_equipped_item_name == '' || query.get_equipped_item_name == 'pizza_4' || query.get_equipped_item_name == 'pizza_3' || query.get_equipped_item_name == 'pizza_2' || query.get_equipped_item_name == 'pizza_1' || query.get_equipped_item_name == 'krilishki' || query.get_equipped_item_name == 'fri' || query.get_equipped_item_name == 'sprite' || query.get_equipped_item_name == 'cola' || query.get_equipped_item_name == 'toz_134' || query.get_equipped_item_name == 'svd' || query.get_equipped_item_name == 'barret' || query.get_equipped_item_name == 'aks74u' || query.get_equipped_item_name == 'vityaz' || query.get_equipped_item_name == 'ak74m' || query.get_equipped_item_name == 'asval' || query.get_equipped_item_name == 'm4a4' || query.get_equipped_item_name == 'g36' || query.get_equipped_item_name == 'pkm' || query.get_equipped_item_name == 'rpk' || query.get_equipped_item_name == 'aps' || query.get_equipped_item_name == 'pps' || query.get_equipped_item_name == 'pm' || query.get_equipped_item_name == 'glock_18' || query.get_equipped_item_name == 'rpg' || query.get_equipped_item_name == 'bayonet_6h7' || query.get_equipped_item_name == 'bayonet_m7' || query.get_equipped_item_name == 'mpl_50' || query.get_equipped_item_name == 'aug' || query.get_equipped_item_name == 'kedr' || query.get_equipped_item_name == 'saiga_12' || query.get_equipped_item_name(0, 1) == 'map' || !variable.empty_handed"

mint eagle
#

How do I reduce the driability when a player use the item?

muted bobcat
#

Is it possible to make a new armor trim? A new one, without having to change the skin of a default minecraft

harsh jackal
#

is it possible, like on java edition, to /give an item with json text behind it for the enchanted one for example?

wraith tiger
#

With vanilla commands? No.
But you can set keepOnDeath, itemLock, canDestroy, or canUseOn with vanilla /give.

For modifying enhancement or any NBT stuff, you either made Script-API custom commands or just straight-up Toolbox

lunar flicker
#

I'm having issues with items that have the "minecraft:chargeable" not being able to mine blocks on mobile, as it just triggers the chargeable component instead. Is there a workaround for this somehow?

pallid osprey
#

Anyone knows how to override vanilla item behavior?
I want to put vanilla items in off hand slot which normally are not possible

small ocean
pallid osprey
#

That's just overcomplicate thing up

loud bolt
#

transform_item not working?

distant compass
#

can i make custom items mine block slower

proper umbra
#

I want to change how the stick looks like, I changed the model with an attachable but this only makes it change when the player has it equipped. I want to put the item in a frame and have it show the texture, is there any way to do it?

jaunty grove
proper umbra
#

to which I change it? since it is a model

jaunty grove
proper umbra
#

but I want to show the model in the frame

jaunty grove
#

You can't put a 3D model in item frame or inventory.

proper umbra
#

Will the model look 3d? will its geometry be visible?

jaunty grove
proper umbra
#

😭

#

in the end I will just put it in an armor stand, it does the job.

#

thanks for help

sinful forge
#
{
  "format_version": "1.16.100",
  "minecraft:item": {
    "description": {
      "identifier": "minecraft:glistering_melon_slice",
      "category": "items"
    },
    "components": {
      "minecraft:use_duration": 1.6,
      "minecraft:food": {
        "nutrition": 4,
        "saturation_modifier": "low",
        "can_always_eat": true
      },
      "minecraft:use_animation": "eat"
    }
  }
}

why is it not working?

peak lodge
#

how do i fix this error? nothing wrong with it ingame but it results in me not being able to apply this to my realm

peak lodge
#

any help would be greatly appreciated

proper umbra
#

I am creating an attachable custom for a gold nugget, now it is a ring but it doesn't seem to follow the player when running, walking or crouching, although it moves with the player, it doesn't relaase the animations.

torpid steppe
#

hi there, what is missing in this item to make it wearable on head slot? json { "format_version": "1.20.10", "minecraft:item": { "description": { "identifier": "awp:camera", "category": "commands" }, "components": { "minecraft:max_stack_size": 1, "minecraft:foil": false, "minecraft:wearable":{ "dispensable" : true, "slot": "slot.armor.head" }, "minecraft:icon": { "texture": "camera" } } } }

bitter quail
#

Hello, how can the specific item be detected in a hand?

spring ibex
#

How use the code minecraft:repairble?

random moat
torpid steppe
shadow cedar
#

Does anyone know how I texture an item? This is the item's behavior pack

shadow cedar
#

Ok

shadow cedar
#

Does anyone know why the display name is not catching?

mental mulch
peak lodge
#

has anybody got any good resources on how to make 3d items

sharp gyro
#

anyone have the default json files for armor and swords? (for behavior pack)

#

for the latest version

flat dagger
#

{
"format_version": "1.16.100",
"minecraft:item": {
"description": {
"identifier": "minecraft:ender_pearl"
},
"components": {
"minecraft:cooldown": {
"category": "ender_pearl",
"duration": 10
},
"minecraft:max_stack_size": 16,
"minecraft:icon": {
"texture": "ender_pearl"
},
"minecraft:hand_equipped": true,
"minecraft:display_name": {
"value": "Ender Pearl"
}
}
}
}

Any1 know how to fix

peak lodge
#

Is it a custom item

flat dagger
peak lodge
#

didnt know you coould modify behaviors of ingame items

random moat
#

minecraft:item_storage not working on 1.20.10 is it deprecated?

clever cobalt
wraith violet
shadow cedar
#

why was "on_dig" field removed from minecraft:digger component?

#

🤔

clever cobalt
random moat
shadow cedar
clever cobalt
#

we are doing event work separately - and considering handling it via scripting APIs instead of via components. We didn't want event work to hold back releasing these static components.

shadow cedar
#

i see

#

sounds like a good change then

dry elbow
#

anyone know how to cancel de animation when an item lost a durability point when using "damage"?

tepid oyster
#

where can i read how to make my own item?

mental mulch
upbeat hamletBOT
#
1.16+ Items

Items have a totally new, and completely different format in 1.16.100 and higher. The largest difference between the two (outside of component differences) is that there is no longer any resourcepack item file.

Be sure to move any and all components from your resource file to your behaviour file. Do mind that certain ones are updated in their syntax, such as render_offsets (see ?render_offsets) and icon, the latter seen in the following example:

"minecraft:icon": {
    "texture": "jade_katana"
}```

Learn about new items here: https://wiki.bedrock.dev/items/items-16.html
vagrant geyser
#

uhh can someone help me

west hawk
#

Can anyone help me to get started on custom bow item that shoots exactly where you're looking?

tepid oyster
#

why do i have this name when i just typed wiki:scythe test?

upbeat hamletBOT
jaunty grove
jaunty grove
tepid oyster
# jaunty grove

and one more question. Is it possible to write something down the line where it says "Items"?

jaunty grove
shadow cedar
#

how do i make skibidi toilet spawner

#

egg

dry pilot
#

?question

upbeat hamletBOT
#
How to ask a good question!

Be specific and include relevant details about the question upfront.
• What are you trying to accomplish?
• If you have code, which part is not working?
• What have you already tried?
• Have you searched the Bedrock Wiki?

mental mulch
distant compass
tepid oyster
calm hare
#

Items

This forum is for discussion of anything items development.

  • Introduction: Introduction on what items are and what they are capable of.
  • Components List: A list of every available item component.
  • Documentation: Usefull to debug your code and to find issues. This one can be more Advanced.
  • Troubleshooting: Troubleshooting to help fix your items if they are broken/don't work.

Community Tips

Take advantage of these resources to master Items and leverage its power to create amazing weapons, armor, tools, and foods in Minecraft Bedrock Edition.

austere charm
#

What was that formula again for fidning the right scale in minecraft:render_offsets when the item texture has a different res then 16x16

lost orchid
#

Can someone help me? I need a base for 3d items with an item model and its animation in first person and third person...

upbeat hamletBOT
lost orchid
#

Thank you bro

#

I did this to test

austere charm
lost orchid
#

Lol, I think I know who you're talking about

#

If I add a mustache, things might become a bit 1945

#

Does anyone know a camera angle setup in blockbench that is similar to first person?

vernal nebula
#

Hey guys! Is there any way to create an event based on the usage of an item WITHOUT experimental features? I've read something about making it a food item, but I can't figure out how to do it

wraith violet
vernal nebula
#

That's so sad. Using an item is a basic behavior. I can't think why a component like that is still considered experimental

vernal nebula
jaunty grove
vernal nebula
jaunty grove
vernal nebula
#

Perfect! I'll give it a show and I'll let you know the results! Thanks A LOT!

vernal nebula
#

@jaunty grove should I add the animation controller on the BP item file? 🤔

vernal nebula
#

Oh I have to add it to player.json! It works! Thanks a lot!

celest vapor
#

What are the reasons for these changes?

#

Like half of items i add use it (mainly 1.16.100 format)

red crane
#

The thing is why were these even added in the first place if they knew it was not gonna make it into the final version like do you know how many items some ppl have to update to change to the latest format

high fiber
#

How do I make my attachable not move with my body?

austere charm
long glacier
#

thats why it was removed

celest vapor
#

I am making all abilities in scripts it just seemed weird cuz i am pretty sure it was one of the most popular features

long glacier
celest vapor
#

Makes sense

jaunty grove
jaunty grove
celest vapor
#

Idk i always used beta features cuz lets be honest you cant do much without them

livid salmon
#

i have a bow, how to detect that bow is loading using molang

copper cedar
#

I updated my MCPE to 1.20.30, when I enter the world all the addon items disappear, how can I solve it?

copper cedar
#

?menu_category

#

?category

upbeat hamletBOT
#
Item Creative Category Overflow

Item categories have an interesting bit about them that may seem broken, but is easily avoidable.
Items may not be assigned to a specific creative category without a special component, in tandem. Some of them will work, but others will begin to go into other categories after a certain amount registered.

To lock them to one category, using the "category" description property, one must also use the creative_category component to avoid overflow. These should "match".

Example:

{
    "format_version": "1.16.100",
    "minecraft:item": {
        "description": {
            "identifier": "yanasakana:kyanite_axe",
            "category": "Equipment" 
        },
        "components": {
            "minecraft:creative_category": {
                "parent": "itemGroup.name.axe" // Matches Equipment, because it is in that tab
            },
             ...
        },
        "events": { ... }
    }
}
clever cobalt
reef falcon
#

Pretty soon we'll be able to make add-ons without making add-ons

clever cobalt
#

Tooling is a big focus area for us. We know juggling files, JSONs and JS.. it isn't always ideal. It should be easier and we're looking at ways to make it easier.

copper cedar
#

Someone help me, the "minecraft:render_offsets" component stopped working in 1.20.30

wraith violet
copper cedar
wraith violet
copper cedar
#

send me the attachable code

copper cedar
#

@wraith violet help me

dry pilot
#

Please don't ping staff members for addon help

#

?attachables

upbeat hamletBOT
signal smelt
#

Released the "minecraft:max_stack_size" item component out of experimental in json formats 1.20.10 and higher
Released the "minecraft:hand_equipped" item component out of experimental in json formats 1.20.20 and higher
Released the "minecraft:use_duration" item component out of experimental in json formats 1.20.20 and higher
Released the "minecraft:stacked_by_data" item component out of experimental in json formats 1.20.20 and higher
According to bridge's autocompletion and older docs these weren't experimental before

#

Did they make them experimental for 1.16.100 items and release it again? Like they did with minecraft:food

calm hare
#

Mostly everything for items are stable

modern niche
#

U can make it in 16 bits

coarse galleon
#

Do you know why my item texture is invisible?

wraith violet
copper cedar
wraith violet
dry pilot
#

Literally use attachables

copper cedar
#

geometry and textures

copper cedar
#

.-.

#

sad, no one helps

dry pilot
#

I recommend you reading the messages you receive, they tend to contain the help you are looking for.

dry pilot
# upbeat hamlet

As Sean as I mentioned you, you have to use attachables. You was also provided with a guide about how to use attachables.

coarse galleon
median bluff
#

In 1.20.30 my weapon does not appear in Mine and this bug appears
Does anyone know how to solve it?

slim jasper
#

I also got this error

#

but I only removed the explosive component and it works again

median bluff
hollow valley
#

is animated items now available for bedrock]

tacit halo
#
    "format_version": "1.16.100",
    "minecraft:item": {
        "description": {
            "identifier": "bridge:stun_stick",
            "category": "nature"
        },
        "components": {
            "minecraft:icon": {
                "texture": "bridge_stun_stick"
            },
            "minecraft:can_destroy_in_creative": false,
            "minecraft:display_name": {
                "value": "stun stick"
            },
            "minecraft:max_stack_size": 1,
            "minecraft:damage": 25,
            "minecraft:hand_equipped": true,
            "minecraft:weapon": {
                "on_hurt_entity": {
                    "event": "mcpe:hurt"
                },
                "on_not_hurt_entity": {
                    "event": "mcpe:nhurt"
                }
            }
        },
        "events": {
            "mcpe:hurt": {
                "run_command": {
                    "/say hi": {}
                }
            },
            "mcpe:nhurt": {
                "run_command": {
                    "/say hi": {}
                }
            }
        }
    }
}```
#

Guys is there anything wrong

calm hare
#

Yout run command syntax is wrong

#
"run_command": {
"command": ["say hi"]
}```
barren pulsar
#

What is a good number to put in the value on "minecraft:enchantable"? The docs really don't give a clear picture of what that value does

tribal echo
#

Hello everyone, where can I find the original armor models? What is their geometry name? In mobs.json && player_armor.json geometry cubes are empty

slim jasper
#

I wanted to understand because the

"minecraft:wearable": {
"slot": "slot.armor.chest"
},

Using

"minecraft:allow_off_hand": true,

No longer showing the item equipped in the left hand on the character's chest
Is it now no longer possible to equip items in the left hand and appear in the chest slot? Or did they change something

#

stopped working on new 1.20.30

#

Can anyone explain to me what changed?

feral shoal
jaunty grove
lethal iris
#

What changed in 1.20.30

#

Cuz so much of my addon broke

vital venture
lethal iris
#

Apparently it’s a mc issue that happens with addons but maybe wrong

wraith violet
lethal iris
#

Btw do you know why recipelock does this

wraith violet
#

No clue

slim jasper
slim jasper
#

Does anyone here know how to create bows?

#

type that performs animation and requires another item to be used

slim jasper
#

Is the recipe unlocking system on personalized counters working for you?

shadow cedar
#

#1137221648966234183 message

mint eagle
#

Why the item icon is invisible?

#
{
    "format_version": "1.16.100",
    "minecraft:item": {
        "description": {
            "identifier": "sh:menu",
            "category": "equipment"
        },
        "components": {
            "minecraft:icon": {
                "texture": "sh:menu"
            },
             "minecraft:display_name": {
                "value": "§lWay Menu"
            },
    "minecraft:max_stack_size": 1,
    "minecraft:durability": {
        "max_durability": 100
      },
    "minecraft:on_use": {
        "on_use": {
          "event": "grind",
          "target": "self"
        }
      },
    "minecraft:explodable": false,
            "minecraft:foil": true,
            "minecraft:damage": 0,
            "minecraft:mirrored_art": true
        },
    "events": {
          "grind": {
          "damage": {
          "type": "all",
          "amount": 2,
          "target": "self"
       }
     }
   }
    }
}```
ebon nova
# mint eagle ```js { "format_version": "1.16.100", "minecraft:item": { "descr...
{
    "format_version": "1.16.100",
    "minecraft:item": {
        "description": {
            "identifier": "sh:menu",
            "category": "equipment"
        },
        "components": {
            "minecraft:icon": {
                "texture": "menu"
            },
             "minecraft:display_name": {
                "value": "§lWay Menu"
            },
    "minecraft:max_stack_size": 1,
    "minecraft:durability": {
        "max_durability": 100
      },
    "minecraft:on_use": {
        "on_use": {
          "event": "grind",
          "target": "self"
        }
      },
    "minecraft:explodable": false,
            "minecraft:foil": true,
            "minecraft:damage": 0,
            "minecraft:mirrored_art": true
        },
    "events": {
          "grind": {
          "damage": {
          "type": "all",
          "amount": 2,
          "target": "self"
       }
     }
   }
    }
}```

Rename the item icon texture to menu And Make sure the item icon texture is 16×16 pixel
mint eagle
frozen flare
mint eagle
#

Sooo

#
"sh:menu": {
      "textures": "textures/items/sh_menu.png"
    }```
mint eagle
#

With this ↓

#
"menu": {
      "textures": "textures/items/sh_menu.png"
    }```
frozen flare
#

if you want to, they only have to be similar

#

also remove .png

#

that might be your issue

ebon nova
#

👍

still pecan
#

Are item aux values hardcoded in the game or can we set those for custom items too?

hearty igloo
#
{
  "format_version": "1.20.20",
  "minecraft:item": {
    "description": {
      "identifier": "gun:springfieldm1873",
      "category": "Equipment"
    },
    "components": {
      "minecraft:display_name": {
        "value": "Springfield M1873"
      },
      "minecraft:menu_category": {
        "parent": "itemGroup.name.tools"
      },
      "minecraft:stacked_by_data": true,
      "minecraft:on_use": {
        "on_use": {
          "event": "gun_action",
          "target": "self"
        }
      },
      "minecraft:allow_off_hand": false,
      "minecraft:hand_equipped": true,
      "minecraft:should_despawn": false,
      "minecraft:use_animation": "crossbow",
      "minecraft:explodable": false,
      "minecraft:use_duration": 0.0,
      "minecraft:max_stack_size": 1,
      "minecraft:icon": {
        "texture": "springfieldm1873"
      },
      "minecraft:render_offsets": {
        "main_hand": {
          "first_person": {
            "scale": [0.0, 0.0, 0.0]
          },
          "third_person": {
            "scale": [0.0, 0.0, 0.0]
          }
        }
      }
    },
    "events": {
      "gun_action": {
        "run_command": {
          "command": ["scoreboard players set @s[scores={gun_action=0}] gun_action 1"],
          "target": "self"
        }
      }
    }
  }
}
austere charm
austere charm
hearty igloo
#

yes

austere charm
#

Show your item_textures.json

hearty igloo
#

ok

#
{
  "resource_pack_name": "vanilla",
  "texture_name": "atlas.items",
  "texture_data": {
    "hammer": {
      "textures": "textures/items/hammer"
    },
    "sulfur": {
      "textures": "textures/items/sulfur"
    },
    "steel_powder": {
      "textures": "textures/items/steel_powder"
    },
    "steel_ingot": {
      "textures": "textures/items/steel_ingot"
    },
    "inch13_mortar_parts": {
      "textures": "textures/items/assembly/inch13_mortar_parts"
    },
    "cartridges4570": {
      "textures": "textures/items/ammo/4570_cartridges"
    },
    "cartridges45": {
      "textures": "textures/items/ammo/45_cartridges"
    },
    "shotgun_cartridges": {
      "textures": "textures/items/ammo/shotgun_cartridges"
    },
    "bullet45": {
      "textures": "textures/items/ammo/45bullet"
    },
    "springfieldm1873": {
      "textures": "textures/guns/springfieldm1873"
    },
    "peacemaker": {
      "textures": "textures/guns/peacemaker"
    },
    "double_barrel": {
      "textures": "textures/guns/double_barrel"
    },
    "dynamite": {
      "textures": "textures/items/dynamite"
    },
    "chothing_american_army": {
      "textures": "textures/items/clothing/american_army"
    },
    "chothing_mexican_army": {
      "textures": "textures/items/clothing/mexican_army"
    },
    "mortar_ball": {
      "textures": "textures/items/mortar_ball"
    },
    "artillery:up": {
      "textures": "textures/items/artillery_up"
    },
    "interact_gatling_fire": {
      "textures": "textures/items/interact/gatling_fire"
    },
    "artillery:down": {
      "textures": "textures/items/artillery_down"
    },
    "interact:left": {
      "textures": "textures/items/interact/left"
    },
    "artillery:right": {
      "textures": "textures/items/artillery_right"
    }
  }
}
austere charm
#

Any content log?

hearty igloo
#

There are several but I don't think there are any about this

#

I will take a look

austere charm
#

Check to be sure indeed

still pecan
hearty igloo
austere charm
# hearty igloo

What happens if you change your items format version to 1.16.100?

hearty igloo
#

Anything

#

Because they were already in this version before

#

And the events aren't working either

austere charm
hearty igloo
#

I will check

austere charm
#

Also the "on_use" component is depricated

hearty igloo
#

I remember the world already had experimental features before

austere charm
austere charm
#

It should be holliday creator features

hearty igloo
austere charm
#

Sorry

hearty igloo
hearty igloo
austere charm
#

Ah yes "on_use" component is depricated so use format version 1.16.100 for items.

#

And an older min engine. Maybe 1.19

hearty igloo
#

I already used it before

#

The addon worked perfectly before this update

#

😮‍💨

austere charm
#

Hmm

#

Try making a post

hearty igloo
#

I did

austere charm
#

Cause I also dont know anymore

hearty igloo
#

@austere charm

#

Hey

#

The problem was in the Minecraft:explodable component

#

I do not know why

#

I removed it and the item worked again

austere charm
#

Hmm interesting

#

But good to know

hearty igloo
#

[item][error]-components | minecraft:explodable | minecraft:explodable | unknown child schema option type.
Allowed types: 'object'

#

The log

#

What is child schema?

still pecan
#

Do items not show up in inventory if they don't have a texture?

mint eagle
#

And the icon of the item is invisible

odd shell
#

hello, i am trying to make my first items in blockbench. For now im just trying to make a sword and a dagger. would this be a block or an entity in blockbench?

hearty igloo
still pecan
#

What exactly does "minecraft:hover_text_color" do?

craggy arch
#

Try searching before asking... if the microsoft and wiki don't help... then ask

slim jasper
#

Does the fuel component still work?

cosmic narwhal
#

Not sure. Have you tried it?

lost orchid
#

What tag allows the item to be used to craft at the smithing table?

lost orchid
#

Nevermind, I found it

barren pulsar
#

Anyone have a good set of numbers they use for saturation modifier to make food items feel vanilla

tame yacht
barren pulsar
toxic parrot
#

Does anyone here have any idea why Stackable Potions doesn't work on BDS?
It works perfectly fine on singleplayer but on BDS, it only stacks when you drop them, but when they're stacked together, you cannot drop or move them anymore.

{
    "format_version": 1.1,
    "minecraft:item": {
        "description": {
            "identifier": "minecraft:potion"
        },
        "components": {
            "minecraft:max_stack_size": 16,
            "minecraft:stacked_by_data": true,
            "minecraft:use_duration": 20,
    "minecraft:use_animation": "drink",
            "minecraft:potion": {
                "type": "regular"
            }
        },
        "events": {}
    }
}
open adder
#

I'm looking through the attachables page on the bedrock.wiki and I can't see a line about texture size

livid salmon
#

using item slows down speed, how to avoid this slow down

rugged hatch
#

What's the json code for fishing rods?

austere charm
austere charm
#

Think*

high fiber
#

Is it possible to hide the player's skin without using an effect when equipping armor?

dry pilot
#

You can instead run an /event on the player when equipping the armor that changes the skin to an empty one or something.

sand lava
#

the minecraft:chargeable is not triggering the event after using the item, is this a bug?

wraith violet
sand lava
#

alright

#

is there currently an alternative?

slim jasper
#

Is it possible to interact with the item using vanilla blocks?

Example: An item will become another item when the player interacts with Stone

slim jasper
slim jasper
#

How do I change items when the item breaks, just like elytra

lost orchid
#

What type of item?

#

Tools, armor...?

shadow cedar
#

more like xp orb

sweet horizon
#

yo

karmic pagoda
#

can someone help me with minecraft : icon

#

idk it doesint seem to be working

#

like im almost certain everythings correct

mint eagle
#

Why the name of my item appears like this?

mental mulch
#

2 ways to do it

mint eagle
#

Ehaaa wait i will try this way

plush nebula
#

How to make an item

#

"minecraft:use_duration": 30000, what does this do

final forum
#

like how food is "minecraft:use_duration": 1.6

#

1.6 seconds before the food gets eaten

willow fossil
#

Out of curiosity, is it possible to make items essentially inaccessible to a player, whether they're in survival or creative, by using an addon/rp+bp?...

#

Would be super epic if possible

distant compass
#

use #1067535382285135923

willow fossil
#

Alright, ty

willow fossil
#

Since items and json are kind of related, I was wondering if I was correct in thinking that even though it's hard coded into the creative menu and survival recipe book, is it possible to change the physical appearance of the items in said specific areas, still?...

#

Just the physical appearance and the name that shows up when you hover over the item/when you hold the item

reef falcon
#

Can we not set creative categories on items with newer format versions?

lost orchid
#

Is there a way to increase the reach of a weapon?

torpid steppe
#

hi there, is it possible to change the glint color instead using the default one?

plush nebula
#

Can anyone pls help me item icons not showing up

#
{
    "resource_pack_name": "Lwhwhwb",
    "texture_name": "atlas.items",
    "texture_data": {
        "cap": {
            "textures": "textures/cap"
        },
        "Lightningstick": {
            "textures": "textures/lightningstick"
        },
    }
}
#
{
    "format_version": "1.16.100",
    "minecraft:item": {
        "description": {
            "category": "equipment",
            "identifier": "mod: light ningstick"
        },
        "components": {
            "minecraft:cooldown": {
                "category": "items",
                "duration": 0.2
            },
            "minecraft:creative_category": {
                "parent": "equipment"
            },
            "minecraft:display_name": {
                "value": "lightning stick"
            },
            "minecraft:icon": {
                "texture": "lightningstick"
            },
            "minecraft:max_stack_size": 1,
            "minecraft:on_use": {
                "on_use": {
                    "event": "minecraft:shoot"
                }
            }
        },
        
        "events": {
            "minecraft:shoot": {
                "shoot": {
                    "launch_power": 1,
                    "projectile": "minecraft:arrow"
                }
            }
        }
    }
}
lost orchid
#

Item id is missing from item.json

#
{
    "resource_pack_name": "Lwhwhwb",
    "texture_name": "atlas.items",
    "texture_data": {
        "mod:cap": {
            "textures": "textures/cap"
        },
        "mod:Lightningstick": {
            "textures": "textures/lightningstick"
        },
    }
}
#

There are other problems too

plush nebula
#

I'm supposed to add mod:?

lost orchid
#
{
    "resource_pack_name": "Lwhwhwb",
    "texture_name": "atlas.items",
    "texture_data": {
        "mod:cap": {
            "textures": "textures/cap"
        },
        "mod:Lightningstick": {
            "textures": "textures/lightningstick"
        }
    }
}
lost orchid
plush nebula
#

In other mods they didn't have that it worked fine?

lost orchid
#

Sorry, I did it wrong

#

I found the real problem

#
{
    "resource_pack_name": "Lwhwhwb",
    "texture_name": "atlas.items",
    "texture_data": {
        "cap": {
            "textures": "textures/cap"
        },
        "Lightningstick": {
            "textures": "textures/lightningstick"
        }
    }
}
#

It was a ,

#

Try it now

plush nebula
#

Where

lost orchid
plush nebula
#

It's work now thanks

plush nebula
lost orchid
#

Np

lost orchid
final forum
#

I once made an add-on where you can place down every item in the game andall 500+ variants didn't work because one "}" was missinfg

#

json validators didn't help since I manually needed to find what caused it.

lost orchid
#

Sometimes I redo the entire code instead of searching for the error, it ends up being more practical lol

plush nebula
craggy arch
#

Yes it is case sensitive and commas matter.... and it does make sense when you understand JSON. You cannot have a comma at the end of a list. It is expecting more. JSON is just organized data and if you don't organize it correctly the program cannot read it.

lilac flower
#

Hello everyone, I want to make my own 3D sword, but I want its 3D model to be displayed instead of a 2D icon, how can I do this on Bedrock?

unreal oasis
#

is there a way to make an item animation only play in first person and not in third person?

unreal oasis
#

ok so now the animation works but I can't seem to trigger it in any way other than having it constantly play whenever holding the item

#

[Item][error]-Item is an invalid json object.
what in the hot crispy Kentucky fired fuck is that supposed to mean

inner mauve
#

Hello I need help creating a custom pickaxe. I added the digger component but the blocks doesn't drop??

#

the block tags are 'stone', 'metal'

#

nevermind it worked

#

i was doing it from pocketmine and forgot to add some stuffs

slim jasper
#

It is possible to make the item when used in the Recipe Interface only spend its durability

#

instead of the item simply disappearing

#

THAT it uses up some of its durability when used

#

Can anyone tell me if it is possible

random moat
inner mauve
#

you can make custom crafting interface with chest and JSON UI + scripting

#

but all that for just small feature? Not really something you want to do

random moat
inner mauve
#

you could by detecting the container name you can change everything about the GUI. But then again it's not worth it

shadow cedar
#

If you're using item that have more than 10 durability, I gotta say it's not worth a try

pure aurora
#

Anybody know how to fix this

shadow cedar
frail leaf
#

Do custom tools take default 2 durability when hitting mobs? My tool is set up without anything for it to be taking damage but hitting mobs takes 2 dura a hit.

vernal nebula
#

Hey guys! Is there a way to play the classic "punch" or "swing" animation when pressing right click with an item in hand? (without experimental features)

#

This item has an "invisible" attachable and I set the player's render controller to show the right hand when holding it. So it just looks like it hasn't got any item in hand. What I'm missing is how to add the swing animation with right click

shadow cedar
#

ok so im new to modeling and i am testing things, and for some reason my item model keeps going to the bottom of my player, near his legs

wraith violet
#

You can find more info on the wiki

upbeat hamletBOT
vernal nebula
frail leaf
#

"menu_category": {
"category": "items",
"group": "itemGroup.name.hoe"
}

#

Is this the proper format for menu_category for custom items? Mines not sorting to the correct group.

shadow cedar
#

how do i fix this

hollow prawn
#

Was armor component remove?

wraith violet
#

Above 1.20.20, use the protection value in wearable instead

hollow prawn
#

Thanks, but May I watch it on the web? @wraith violet

#

Or may you give me an example?

fervent maple
frail leaf
#

Thanks, I can't believe i missed this lol

dry elbow
#

how can I hide this texts?

dry elbow
#

I figured it out

#

/gamerule showtags false

reef falcon
#

Has anyone else ran into an issue where consumable items that have lower than vanilla use durations will be eaten twice?

ebon wren
#

How do I skip lines in a custom item using \n in the language file?

marsh ravine
#

How do I add enchantment glint on a new item? Foil doesn't seem to work.

ebon wren
fervent maple
final forum
final forum
#

I alredy tried it with total carnage, doesn't work. Use minecraft:display_name if you want that

dry elbow
#

I figured it out

final forum
#

that's cool

tall epoch
#

help please, I can't get my hands up


{
   "format_version": "1.16.100",
   "minecraft:attachable": {
      "description": {
         "identifier": "aba:akm",
         "geometry": {
            "default": "geometry.akm"
         },
         "animations": {
            "first_person_main_hand": "animation.akm.first_person_main_hand",
            "first_person_sneaking_main_hand": "animation.akm.first_person_sneaking_main_hand",
            "third_person_main_hand": "animation.akm.third_person_main_hand"
         },
         "textures": {
            "default": "textures/color/dark_grey"
         },
         "materials":{
            "default": "entity_alphatest"
         },
         "render_controllers": [
            "controller.render.default"
         ],
         "scripts": {
            "pre_animation": [
               "v.main_hand = c.item_slot == 'main_hand';"
            ],
            "animate": [
               {
                  "first_person_main_hand": "(v.main_hand && c.is_first_person) && !query.is_sneaking"
               },
               {
                  "first_person_sneaking_main_hand": "(v.main_hand && c.is_first_person) && query.is_sneaking"
               },
               {
                  "third_person_main_hand": "v.main_hand && !c.is_first_person"
               }
            ]
         }
      }
   }
}

#
      "animation.akm.third_person_main_hand":{
         "loop":true,
         "bones":{
            "akm":{
               "position":[ 0, 20, 22 ],
               "rotation":[ 90, 0, 180 ],
               "scale": 0.1
            },
            "RightArm": {
                "rotation": [ -87.48, -7.49, -0.33 ],
                "position": [ 1, 0, -2 ],
                "scale": 0.1
            },
            "LeftArm": {
                "rotation": [ -83.71, 37.33, 3.83 ],
                "position": [ -2, 0, -1 ],
                "scale": 0.1
            }            
         }
      }

#

does not work:


            "RightArm": {
                "rotation": [ -87.48, -7.49, -0.33 ],
                "position": [ 1, 0, -2 ],
                "scale": 0.1
            },
            "LeftArm": {
                "rotation": [ -83.71, 37.33, 3.83 ],
                "position": [ -2, 0, -1 ],
                "scale": 0.1
            }

final forum
#

no

#

idts

wind kayak
#

Is it possible to create a custom item group?

wraith violet
barren pulsar
barren pulsar
#

Has anyone figured out a good way to mimic the vanilla sword swing on attachables?

hollow prawn
#

Does someone know swing animations type? upper to 1.20.20 version

hollow prawn
gritty goblet
#

LMAOOOO

#

LOL

#

PFFTTTT

#

BHAHAHHHAAH

unreal scaffold
#

How can I remove a vanilla item (like enchanted books) from the game?

mental mulch
dry pilot
#

Is possible

dry pilot
#

It will still be in creative inventory, but everyone is unable to take it no matter what

#

And as specified by commands..

mental mulch
#

that's new?

#

i don't remember that

unreal scaffold
#

Interesting

#

That's very new but item will still appear in loot chests, etc?

#

If so, I don't think that can help me @dry pilot as I want to rework enchanting

#

Then how about adding custom enchantments?

dry pilot
#

Scripts

dry pilot
dry pilot
unreal scaffold
dry pilot
#

You can do that without scripting

unreal scaffold
dry pilot
#

Yeah. There is a durability component in each item that has durability. Just get rid of it.

lapis tartan
#

is minecraft:shooter working? Lotta peeps seemed to be having issues with it going back thru chat logs and I dont see any getting resolved

#

++I can't get it to work either

#
    "format_version": "1.20.10",
    "minecraft:item": {
        "description": {
            "category": "equipment",
            "identifier": "mno:diamond_bow"
        },
        "components": {
            "minecraft:display_name": {
                "value": "Diamond Bow"
            },
            "minecraft:creative_category": {
                "parent": "itemGroup.name.sword"
            },
            "minecraft:icon": {
                "texture": "mno:diamond_bow"
            },
            "minecraft:max_stack_size": 1,
            "minecraft:hand_equipped": true,
            "minecraft:projectile": {
                "minimum_critical_power": 1.25,
                "projectile_entity": "arrow"
            },
            "minecraft:shooter": {
                "ammunition": [
                    {
                        "item": "minecraft:arrow",
                        
                        "use_offhand": true,
                        "search_inventory": true,
                        "use_in_creative": true
                    }
                ],
                "max_draw_duration": 1.0,
                "scale_power_by_draw_duration": true,
                "charge_on_draw": true
            },
            "minecraft:enchantable": {
                "value": 10,
                "slot": "bow"
            },
            "minecraft:can_destroy_in_creative": false
        }
    }
}
wraith violet
lapis tartan
#

Thanks though, I’ll give it a go

#

Hate myself

lapis tartan
#

Is there a replacement for animates_in_toolbar or is that just gonzo?

strange dune
#

what happened to minecraft:block_placer?

fervent maple
glass otter
#

Guys, what does value key means in enchantable component ?

lapis tartan
lapis tartan
hollow prawn
#

Thanks

copper cedar
#

minecraft:armor erro?

copper cedar
lapis tartan
#

Show da code

copper cedar
wraith violet
copper cedar
copper cedar
wraith violet
copper cedar
reef falcon
#

are scripts the only way to make an item past format version 1.20.20 take durability damage? the durability component has a "damage_chance" section, so you would expect it to work but it is still nonfunctional

#

Scripts also don't seem like the way, since at least vanilla equivalent items should be possible without scripting

reef falcon
#

Weird, for anyone trying to update equipment to 1.20.50, the documentation for "minecraft:wearable" is incorrect. For some reason it refers to slots as specific integer values. However, it is still using the same "slot.armor.___" system.

#

now if only I could figure out how "menu_category" works

#

oh. it works the same way... json "menu_category": { "category": "equipment", "group": "itemGroup.name.boots" }

slim jasper
#

my items are crashing minecraft

#

In this latest version 1.20.40 the items folder is crashing my minecraft, every time I open the inventory

#

I have already updated my engine to 1.20.20 and all items to 1.20.40

#

But it keeps crashing when I open the inventory

#

Can someone help me please

#

I've already confirmed that it's the items folder, you just need to confirm because it's crashing

#

If anyone understands items, or knows of any changes in 1.20.40, please let me know

#

I would really appreciate it if someone helps me

#

😭😢

iron glacier
#

hi

#

is there any substitute to "render_offsets"?

wraith violet
iron glacier
#

thank!

vernal needle
#

Can we update item's durability through items?

reef falcon
#

I don't think the functionality is there yet

#

Only way to do it past that for tools atm is scripting

vernal needle
#

nvm, I found out the way

reef falcon
#

how?

inner coral
#

Hello everyone! I found a way to finally bypass the limit for the music discs length using the component minecraft:record. However I need to know something, is there a way to register a new sound event so it is recognized by the component in the property sound_event?

inner coral
#

Thanks still, aagh that really sucks such a simple feature isn't there yet. I made a suggestion hopping they consider it for a future update.

pale needle
#

Please someone help me now.

#

Well, I made a 3D item, but I don't know how to make it FPS and TPS animation blockbench.

fiery cradle
pallid osprey
#

I need some help with attachable

fiery cradle
# pale needle Can you help me with this?

Wait, I misunderstood the question. For some reason I thought you meant first person and third person, not frames per scond and ticks per sicked. I don't know if it's even possible to display that info

shadow cedar
#
{
  "format_version": "1.16.100",
  "minecraft:item": {
    "description": {
      "identifier": "dbe:test",
      "category": "equipment"
    },

    "components": {
      "minecraft:icon": {
        "texture": "test"
      },
      "minecraft:display_name": {
        "value": "item.dbe:test.name"
      },
      "minecraft:food": {
        "can_always_eat": true
      },
      "minecraft:render_offsets": {
        "main_hand": {
          "first_person": {
            "scale": [0, 0, 0]
          },
          "third_person": {
            "scale": [0, 0, 0]
          }
        },
        "off_hand": {
          "first_person": {
            "scale": [0, 0, 0]
          },
          "third_person": {
            "scale": [0, 0, 0]
          }
        }
      },
      "minecraft:max_stack_size": 1,
      "minecraft:should_despawn": false,
      "minecraft:explodable": false,
      "minecraft:can_destroy_in_creative": false,
      "minecraft:use_duration": 600,
      "tag:invisible_item": {},
      "tag:increase_power": {}
    }
  }
}
#

My format version is 1.20.40

#

And this item is not working

#

Without texture and name

#

And when i update it to the 1.19.80 format version still not working

fiery cradle
high fiber
#

How can i make something like this?

#

recipes

topaz igloo
fair smelt
#

Is there a way to make a 3d item (like a player's left hand) which matches the player skin texture?

pale needle
#

@topaz igloo Hello, I want my own category to be written under my own items, how can I do that?

high fiber
#

Oh sorrt

#

sorry

#

work

#

thanks

topaz igloo
#

np

topaz igloo
open adder
#

So I'm working with a modded server and they asked me to do a dynamite. So I did the model in game with a behaviour pack and the animation etc work fine

#

but with the exact same code

#

nothing changed

#

the dynamite on the server is bugged with no animation

lethal iris
#

Came onto mc for the first time in a bit and am welcomed to this

#

The models and textures are in their respective folders

#

And their attachables seem fine so I have no clue what’s happening

dry pilot
open adder
#

Format version changed from 1.12.0 to 1.16.0

#

and add binding bone

lethal iris
dry elbow
vernal needle
dry elbow
dry elbow
slim jasper
#

Does anyone here know how to make a rechargeable item?

#

Like a crossbow that has a loading animation

dry pilot
timid juniper
#

im stuck with that animation.
And how i can make it move with player hand

wraith tiger
#

Here's a solution: bear with it.

mental mulch
#

u can't fix it

#

bear with it.

#

there's no way to fix

#

yup, that's right

#

vanilla is vanilla

#

there is simply no solution, unless you want to run particles above those

#

laggy

mental mulch
#

bc u can't change the "eating particles"

stiff mortar
#

Hey it's my first time making items and for some reason my item isn't rendering properly. Is there any fix to this?

#

it's supposed to be like this

#
{
    "resource_pack_name": "advanced_items",
    "texture_name": "atlas.items",
    "texture_data": {
        "beer":{
            "textures": "textures/items/beer"
        }
    }
}```
#
{
    "format_version": "1.10",
    "minecraft:item": {
        "description": {
            "identifier": "an:beer",
            "category": "Nature"
        },
        "components": {
            "minecraft:icon": "beer",
            "minecraft:render_offsets": "tools",
            "minecraft:hover_text_color": "yellow"
        }
    }
}

#

I followed bedrock wiki

stiff mortar
#

Can you send me your file or that code? So that I can see how it's structured

round sapphire
#

is there a latest version of food item in behavior packs

marsh ravine
#

Is there a way to have an item not visible in the creative menu? I tried "category": "none" but it doesn't work

slim jasper
#

Does anyone know how to solve it?

My Axes don't work on the new Cherry woods, bamboo

#

I thought that putting these employee ids

#

Does anyone have Machado's Digger list yet?

#

Axe

plush pelican
#

how do i add a mob event to a use item? i had it working for food, then switched to use and it was working then made a new version of the mod w the same code and it wasnt working

plush pelican
#

i added a blank item, used my custom texture, it appears, make it a food, i can run an event with it, make it a use, i cannot, and also when i changed the event from /give to add_mob_effect and the event no longer works, can still eat the item tho

white shore
#

WAIT WHAT NOOOOOOOOOO

THATS A MAJOR THING IN MY ADDON

#

I'm lost

#

Flip the texture

plush pelican
#

"events": {
"bridge:test": {
"sequence": [
{
"add_mob_effect": {
"effect": "resistance",
"target": "holder",
"duration": 30,
"amplifier": 1
},
"run_command": {
"command": "/clear @s bridge:test"
}

anyone know how to get the sequence to run multiple mob effects? can i use run command to run the effect command instead?

EDIT: running run command /effect did not work :/ any help on this would be greatly appreciated!

fiery cradle
#

Maybe try replacing iron_sword with minecraft:iron_sword

fiery cradle
#

Ok. Maybe try instead using a run_command` with replaceitem

torn creek
#

Is there a way to return player heads as an item yet?

safe marten
#

Here's an example item: `Pack/items/goo.json:```js
{
"format_version": "1.20.30",
"minecraft:item": {
"description": {
"identifier": "demo:goo",
"category": "Items"
},
"components": {
"minecraft:max_stack_size": 16,
"minecraft:icon": {
"texture": "demo:goo"
},
"minecraft:display_name": {
"value": "Weird Goo"
}
}
}
}

zinc swan
#

"items" is that like where i put the name of the item there? Like diamond_sword

safe marten
#

Yes

zinc swan
# safe marten Yes

And the next step i should do is add that in the example pack u gave me?

safe marten
#

Yes

#

But the item has no texture

zinc swan
#

Ah ok

#

Btw how do i turn the folder into json

safe marten
#

The folder stays as items

#

And the file does use my_item.json

zinc swan
#

Hm ok

zinc swan
safe marten
#

Yes

zinc swan
# safe marten Yes

Alright then but first I don't know how to turn a folder into json, like a file that is only opened with some sort of file editor

zinc swan
safe marten
#

Extract the folder

zinc swan
#

Ok thx:)

zinc swan
# safe marten Extract the folder

Done! I wanna ask multiple questions,
How do i add more items?
How do i add like how much stacks of block do i need like 20 blocks or 30

safe marten
#

Try adding ```json
"minecraft:max_stack_size": 20,

#

In the components

zinc swan
zinc swan
safe marten
#

Copy the my_item?

zinc swan
safe marten
#

Items are addons to the game

zinc swan
#

Ah that means i can add any item with its name and unless it has the gun addon in or else it wouldn't work, am i right?

safe marten
#
{
  "format_version": "1.20.30",
  "minecraft:item": {
    "description": {
      "identifier": "demo:goo",// This can be anything, Otherwise if an item already uses it then no.
      "category": "Items"
    },
    "components": {
      "minecraft:max_stack_size": 16,
      "minecraft:icon": {
        "texture": "demo:goo"
      },
      "minecraft:display_name": {
        "value": "Weird Goo"
      }
    }
  }
}
#

But you can do demo:goo1 for another item

zinc swan
#

Ok im a bit confused but I'll listen actively, how do i do it?

zinc swan
safe marten
#

Identifier

zinc swan
# safe marten Identifier

Alright cool and if i wanna add another item, do i have to put three of these?
demo:goo1
Demo:goo2
Demo:goo3

torn creek
#

how do i protect maps on itemframes?

#

from players breaking them other then adventure mode?

prime bobcat
wraith violet
prime bobcat
#

oh

prime bobcat
#

Like, if I wanted more than one item texture?

wraith violet
#

Check the vanilla packs as an example

prime bobcat
#

Alrighty, thanks for the help

vernal needle
# reef falcon how?

I forgot to answer you. I changed 'durability' to 'none' type damage. (I called event via on_use)

high fiber
#

Is it possible to make an attachable with transparency?

slim jasper
#

what is the correct domain for off hand

#

Anybody know

slim jasper
#

People here take a long time to respond

dry pilot
#

If that doesn't works maybe try off_hand?

green token
prime bobcat
#

Uhhhhhhh

#

Idk?

mental mulch
#

and with "frame" in "minecraft:icon" u can choose

mental mulch
# green token How?
{
    "minecraft:icon": {
        "frame": 0, // Texture's array entry to use, defaults to 0
        "texture": "tool.Kama" // Texture referenced in 'item_texture.json'
    }
}
green token
mental mulch
#

animated texture?

green token
mental mulch
#

nop, u need to do more items for that

green token
# mental mulch nop, u need to do more items for that

what about this

{
  "format_version": "1.16.100",
  "minecraft:item": {
    "description": {
      "identifier": "pokeb:orb_of_fiery_souls",
      "category": "items"
    },
    "component_groups": {
      "1": {
        "minecraft:icon": {
          "frame": 0,
          "texture": "orb_of_fiery_souls"
        }
      },
      "2": {
        "minecraft:icon": {
          "frame": 1,
          "texture": "orb_of_fiery_souls"
        }
      }
    },
    "components": {
      "minecraft:hand_equipped": false,
      "minecraft:allow_off_hand": true,
      "minecraft:max_stack_size": 1,
      "minecraft:foil": false,
      "minecraft:icon": {
        "texture": "orb_of_fiery_souls"
      },
      "minecraft:durability": {
        "max_durability": 375
      }
    },
    "events": {
      "pokeb:set_1": {
        "add": {
          "component_groups": ["1"]
        },
        "remove": {
          "component_groups": ["2"]
        }
      },
      "pokeb:set_2": {
        "add": {
          "component_groups": ["2"]
        },
        "remove": {
          "component_groups": ["1"]
        }
      }
    }
  }
}
#

and run event on the item?

mental mulch
#

theres no component groups on items

#

lol

green token
#

damn

green token
mental mulch
#

nop :c, probably u can do that with attachables, but idk about that

green token
green token
#

it doesnt work

#

unless im not on the right format version?

#

@mental mulch I changed it to 1.16 and now it says this

mental mulch
#

after 1.16.100 should be work

slim jasper
#

what is the water bucket id

royal kindle
#

Are custom armor trims a thing yet?

dry pilot
#

I think that on preview, yes

royal kindle
#

oh yes they are (thanks ctrl + F)

#

the server is a well of knownledge

#

Oh no it seems like it's only armor trims on custom armor

sand plinth
#

.

thick crane
#

what is the id of a custom item?

shrewd marsh
#

When I use the food component, is it possible for a loot table to be used as the Json object for convert_on_use

wraith violet
shrewd marsh
#

How would I pull a loot table when using a custom item

wraith violet
shrewd marsh
thick crane
# wraith violet `namespace:identifier`

what do you mean by that? i need the id number for the item not the identifier of it, i figured out a way to do it, you take the id number of the apple and keep subtracting 1s until you land on your custom item's id

wraith violet
#

Youre gonna need to use an nbt editor probably

thick crane
#

i figured it out

pale needle
#

How to make an item glint without magic

fiery cradle
#

Use the minecraft:glint component

barren pulsar
#

Is there a way to run an animation when you right click using an attachable?

slim jasper
#

Where do I find this error

random moat
slim jasper
#

I already found

green token
#

and how do i use them

wraith violet
#

They're for entities, its the same as a runtime id

green token
#

is that possible

wraith violet
#

No idea

mental mulch
#

the string it's not possible, but the function yup, but like, there's no animation in the water (bubbles), u can make a projectile when u use the fishing rod, and after a while u can spawn particles on the projectile

#

xd

slim jasper
#

Can someone explain to me about explosion resistance?

#

How do I make a TNT resistance block

wraith tiger
#

Maybe you can cover your block with some netherite, it should help a bit.

neon zodiac
#

Can someone show me how to custom bow 3d with animation?

fiery cradle
# neon zodiac Can someone show me how to custom bow 3d with animation?

You'd need to have these components in the items BP file:

As for making it animate, you should be able to pretty much copy and paste the vanilla bow's attachable file. You'd just need to change the identifier to what you name the identifier of your item. If you dont have the vanilla packs, you can find them here: https://github.com/Mojang/bedrock-samples?ref=bedrock.dev

A reference document detailing the 'projectile' item component

A reference document detailing the 'shooter' item component

GitHub

Samples and assets for building Minecraft: Bedrock Edition add-ons - GitHub - Mojang/bedrock-samples at bedrock.dev

neon zodiac
#

Thank

open adder
#

how can you do this for bedrock?

#

for bow for example the mesh render the bow in 3d

#

like so

wraith violet
#

Just copy the bow geo

open adder
#

ah okay

#

I though it was a option on BB

wraith violet
#

And the geo will take shape of the texture

wraith violet
open adder
#

oh okaaaaaaay

#

I found the name

#

the name is french is terrible but makes sense

#

okay now I gotta found how to a custom bow 😂

plush pelican
#

any way i can make an item that chops trees instantly? like a chainsaw type item (i know theres mods/addons for it but i was wondering if i could just add one myself if its not too hard)

plush pelican
wraith violet
slim jasper
#

Someone explain to me

#

Need use duration Along with shooter now in

#

I didn't quite understand the error

wraith violet
slim jasper
wraith violet
#

That's what it says...

slim jasper
#

Ok

slim jasper
#

Inside {},

#

Or no

#

I'll test both ways

wraith violet
#

And the changelogs

slim jasper
#

I've read it, I just didn't understand

split finch
#

Hii sorry to interrupt does anyone think they can help me with name dependent items. I wanna make a texture pack for mcpe on mobile if anyone has any information do you mind dming me?

slim jasper
jaunty grove
# slim jasper I still haven't managed to fix it

You need to put minecraft:use_duration inside the components object of your item. In versions above 1.20.40 this component has been renamed. Check the docs for information about this component.

thick crane
#

what is the easiest way to add a tool tip to an item?

jaunty grove
thick crane
#

can you add it by a crafting recipe?

jaunty grove
# thick crane can you add it by a crafting recipe?

No, you will have to create two items. A dummy and an original. So, when you craft, you recieve the dummy item. Please just have an animation controller or function to detect if you have that dummy item in your inventory, if it's there clear it and give loot using /loot give containing the original item with the lore.

cosmic narwhal
#

Can we make fire resistant items like netherite ingots?

signal smelt
#

tick.mcfunction

execute @e[type=item,name="Enderite Boots"] ~ ~ ~ event entity @s become_fire_immune
#

Oh wait there's some extra stuff in that file

cosmic narwhal
#

Ahh nice

tall epoch
#

         "minecraft:render_offsets": {
           "main_hand": {
            "third_person": {
              "scale": [ 0.045, 0.045, 0.045 ]
            },
            "first_person": {
              "scale": [ 0.015, 0.015, 0.015 ]
            }
          },
          "off_hand": {
            "third_person": {
              "scale": [ 0.045, 0.045, 0.045 ]
            },
            "first_person": {
              "scale": [ 0.015, 0.015, 0.015 ]
          }
        }
      }

tall epoch
wraith violet
tall epoch
tall epoch
#

{
   "format_version": "1.20.50",
   "minecraft:item": {
      "description": {
         "identifier": "aba:aba",
         "category": "items"
      },
      "components": {
         "minecraft:max_stack_size": 50,
         "minecraft:creative_category": {
            "parent": "itemGroup.name.equipment"
         },
         "minecraft:display_name": {
            "value": "§l§2аба"
         },
         "minecraft:icon": {
            "texture": "aba"
         },
         "minecraft:render_offsets": {
           "main_hand": {
            "third_person": {
              "scale": [ 0.045, 0.045, 0.045 ]
            },
            "first_person": {
              "scale": [ 0.015, 0.015, 0.015 ]
            }
          },
          "off_hand": {
            "third_person": {
              "scale": [ 0.045, 0.045, 0.045 ]
            },
            "first_person": {
              "scale": [ 0.015, 0.015, 0.015 ]
          }
        }
      }
    }
  }
}

wraith violet
tall epoch
wraith violet
short garden
#

how to make an attachable animation only work on o specific entity type

jaunty grove
#

You can check vanilla Armor attachables for an example.

torn creek
#

how do i shrink the item down but keep high 512x512 resolution?

jaunty grove
torn creek
high fiber
#

"render_offset" i think

fiery cradle
high fiber
#

Bro, why

wraith violet
high fiber
#

Yea