How make item 2 times bigger and makes a command on right click

Started by marcinlewicki on

Topic category: Help with Minecraft modding (Bedrock Edition)

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How make item 2 times bigger and makes a command on right click

I have code for right click command using "onUse", but it doesn't work:

{
"format_version": "1.20.10",
"minecraft:item": {
"description": {
"identifier": "skygen:returnparkour",
"category": "equipment"
},
"components": {
"minecraft:max_stack_size": 1,
"minecraft:on_use": {
"event": "skygen:activate"
}
}
},
"events": {
"skygen:activate": {
"sequence": [
{
"run_command": {
"command": [
"title @s title done"
]
}
}
]
}
}
}
Second thing is make item 2 times bigger. 
I have also code in item: 
{
"format_version": "1.12",
"minecraft:item": {
"description": {
"identifier": "skygen:scytheofthevoid",
"register_to_creative_menu": true
},
"components": {
"minecraft:max_stack_size": 1,
"minecraft:max_damage": 0,
"minecraft:stacked_by_data": true,
"minecraft:hand_equipped": true,
"minecraft:creative_category": "Equipment",
"minecraft:render_offsets": "controller.render.scytheofthevoid"
}
}
}
I think that something should be in geometry:

{
 "format_version": "1.12",
 "minecraft:geometry": [
   {
     "description": {
       "identifier": "geometry.sword",
       "texture_width": 16,
       "texture_height": 16
     },
     "bones": [
       {
         "name": "blade",
         "pivot": [0, 0, 0],
         "cubes": [
           {
             "origin": [-8, 0, -1],
             "size": [16, 32, 2],
             "scale": 2.0
           }
         ]
       }
     ]
   }
 ]
}

Somebody can help me?