Skip to main content

Questions tagged [minecraft-behavior-packs]

Use for Behavior Packs for Minecraft, do not also use the [minecraft-mods] tag for Behavior Packs.

Filter by
Sorted by
Tagged with
1 vote
0 answers
26 views

Is it possible to access the time since a player has last slept/respawned in Bedrock Edition?

In Java Edition, there is a statistic minecraft:time_since_rest which is used in determining whether the player has the "Insomnia" effect and should cause phantoms to spawn. Since statistics ...
Quack E. Duck's user avatar
0 votes
0 answers
27 views

How to make custom splash bottles function like vanilla splash water bottle?

I'm working on an addon (MCVE demo version downloadable here) which expands brewing to include new recipes and ingredients. While the regular custom bottles and potions all function as intended, the ...
Quack E. Duck's user avatar
0 votes
1 answer
65 views

Is there a complete list of world.beforeEvents and world.afterEvents current for the latest stable version of the @minecraft/server module?

The official Script APIs documentation at Microsoft Learn has a full list of every @minecraft/server property and method, which allows selecting between either the stable or experimental version of ...
Quack E. Duck's user avatar
5 votes
1 answer
58 views

Is there a programmatic way to retrieve a player's current gamemode using the @minecraft/server module and WITHOUT using command blocks?

In my custom tools addon, I've noticed a bug where you can get negative durability values by using the tool in creative mode, then switching to survival mode. This is because while vanilla tools don't ...
Quack E. Duck's user avatar
0 votes
1 answer
99 views

What's wrong with this custom block's loot table? It's supposed to choose drop by testing for silk touch, but non-enchanted pick drops both options

I have a custom block that is supposed to be only obtainable using a Silk Touch pickaxe. If mined with a pickaxe without Silk Touch, it should drop end stone instead, and if mined with the wrong tool, ...
Quack E. Duck's user avatar
2 votes
1 answer
62 views

Can't execute function from load.json

I am trying to create a Minecraft Bedrock edition behavior pack that places a structure at a set of coordinates on load. The file is shops.mcaddon. Inside is a folder called shopsBP. Inside shopsBP ...
BlizzardFire's user avatar
2 votes
0 answers
32 views

Baby versions of custom entities will follow adults of ANY species?

Not sure whether this is a bug or intentional, but for custom entities added via Bedrock addon packs, it is possible for the baby version to pick an adult of a different species to follow. This was ...
Quack E. Duck's user avatar
2 votes
2 answers
411 views

Item component "on_dig" has been removed - How to handle tool durability in new Minecraft Bedrock addons?

For some time, the item component "on_dig" has not been working correctly, and now the Bedrock Wiki displays a warning that the component has been officially removed. Source: https://wiki....
Quack E. Duck's user avatar
2 votes
2 answers
476 views

Custom item's "on_consume" event gives error "child add_mob_effect not valid here"

I'm trying to have my custom food item give the player a status effect when it is eaten. The item itself works fine (is edible, gives correct nutrition and saturation, uses eating animation, etc.) ...
Quack E. Duck's user avatar
1 vote
1 answer
127 views

What group name should I use to make a custom block show up in the Creative Inventory in the same category as gem/metal blocks?

Using a resource and behavior pack, I made an Echo Block which is craftable from 9 Echo Shards, and so I want it to appear in the same part of the Creative Mode inventory menu as the other blocks ...
Quack E. Duck's user avatar
2 votes
0 answers
149 views

How to use tags in loot table pool conditions?

I'm trying to build a loot table for a Minecraft Bedrock behavior pack. The "entries" section is behaving as desired, but the "conditions" section is not. I am trying to make it ...
SandPiper's user avatar
  • 121
2 votes
0 answers
134 views

How to change the camera postion in which the player sees through in my Add-on?(Bedrock Edition)

How do I make it so the camera is attached to the Warden's head in my Behavior Pack? This is SO annoying and it really messes up my Addon. Code: Behavior Pack: { "format_version": "1.16.0", "...
ichaser's user avatar
  • 25
1 vote
1 answer
72 views

Recipe for enchanted armor/weapon

I want to create a recipe for vanilla items, but that they are crafted with certain enchantments. What fields do I need to specify for this? I've read this thread, but the problem is that the answer ...
ZeN's user avatar
  • 111
1 vote
2 answers
857 views

How to set other player's armor in Minecraft

I'm making an MCBE behavior pack which adds kits via functions (functions are to be executed by command blocks). I want to make it so that the player doesn't have to equip armor; instead, it ...
SUPA Siblings's user avatar
1 vote
1 answer
113 views

Are World Slots in Minecraft Bedrock Realms completely isolated from each other?

Are world slots in Realms for Minecraft Bedrock completely isolated from each other, in that one slot can have a world with achievements enabled and no behavior packs, and another slot has a second ...
Alexander M's user avatar
1 vote
1 answer
849 views

Run .mcfunction every tick

Is it possible in Minecraft: Bedrock Edition to have a .mcfunction execute every tick without a command block? I have the .mcfunction working but want to simplify and get rid of the command blocks ...
George's user avatar
  • 195
4 votes
1 answer
571 views

Enchanting items in a custom crafting recipe

I have a bit of a problem. I would like to make a behavior pack where you can use a custom crafting recipe to craft items with enchantments on them. But I have not found any documentation or any ...
I am stupid please help's user avatar
3 votes
2 answers
3k views

Do behavior packs on BE need to be purchased by players who join the world?

I purchased Minecraft (Bedrock Edition) so that my kids and I could play together (cross-platform). I'm playing on pc they are on the switch. My question is if I purchase a behavior pack and start up ...
Caleb Burton's user avatar
3 votes
2 answers
3k views

Is there a way to get the behavior pack out of a MCworld file?

I want to get just the behavior pack out of a world but I don’t know how. Is this even possible? I want to be able to put the behavior pack onto a realm and the world that it belongs to but when the ...
Khaios's user avatar
  • 31