Rafa Pack - Minecraft Bedrock Add-On
My son (born in 2016) really loves Minecraft! It was thanks to this love of his that I ended up getting contact with the game. π
After having played countless hours of regular Minecraft on a server I set up in a Ubuntu VM, and after a thousand times my son and I came up with questions like "what if there were a item that...", I decided it was time to start creating simple add-ons to help us both in survival and in creative maps.
And so... many days of research later, this add-on was born! π±π
This is a living add-on as my son and I are always coming up with more and more ideas, which I am more than glad to help bring to reality. π
I decided to make this add-on available on GitHub because I think this could be a starting point for others trying to begin creating add-ons for Minecraft Bedrock. Although there is plenty of documentation on the web, I feel like there is a lack of up-to-date sample code to help, because Bedrock components, features, items and commands are in active development, which, in turn, ends up deprecating parts of some old sample code I came across on the web (mostly because of different behaviors in files with different format_version
).
The add-on itself can be downloaded here. π
In order for the add-on to be used, both Holiday Creator Features
and Custom Biomes
experimental features must be turned on. Also, do not forget to activate both the resource pack as well as the behavior pack, otherwise the add-on will not work properly. π
Most textures are simply modified versions of Minecraft's vanilla textures, whereas a few of them have been entirely created by myself (or by my son! π). All the characters shown on the stickers are reduced/modified versions of images taken from https://minecraft.fandom.com/wiki/Minecraft_Wiki.
This add-on is licensed under the MIT License.
You can produce Bedrock
by smelting one Soft Bedrock
(which can be produced by combining 9 Stone
s).
Having created a Bedrock
, you can use it to create
Bedrock Axe
Bedrock Boots
Bedrock Chestplate
Bedrock Helmet
Bedrock Hoe
Bedrock Leggings
Bedrock Pickaxe
Bedrock Shovel
Bedrock Sword
Their recipes are the same as the Iron XXX
recipes, except that you must replace Iron Ingot
with Bedrock
. π
My son asked for something with more color... Therefore, we created the tools below, which can be produced by replacing Stick
with Gold Ingot
, and by replacing Iron Ingot
with Diamond
. They look a bit different from Bedrock
tools, but they behave exactly the same!
Dream Axe
Dream Hoe
Dream Pickaxe
Dream Shovel
Dream Sword
Combining Redstone Dust
with either Blue Dye
or Lapis Lazuli
produces Bluestone Dust
. This dust can be combined with Apple
or with Cake
to produce Blue Apple
and Blue Cake
, respectively. These two items are invaluable food sources with a bunch of cool side effects!!! π
Even in creative mode, it can be really time consuming to get from one location to another sometimes. To help with that, we created six special teleport wands: black, blue, green, red, white and yellow.
XXX Teleport Anchor Summon Wand
s, when used, create a special totem where you can teleport to later, using a XXX Teleport Wand
.
If a XXX Teleport Wand
is used when its related totem is still not created, a warning message appears.
Using a XXX Teleport Anchor Summon Wand
more than 10 blocks away from an existing totem displays a warning message. On the other hand, if you are less than 10 blocks away from an existing totem when using a XXX Teleport Anchor Summon Wand
, the existing totem is destroyed. Beware not to destroy the totem while being too close to it, because a lightning strikes the totem when it is destroyed. π
XXX Teleport Wand
s can teleport you even between dimensions! π
Crafting table:
A
B
C
Where:
A = Black, Blue, Green, Red, White or Yellow Dye
B = Ender Pearl
C = Iron Ingot
Crafting table:
A
B
C
Where:
A = Black, Blue, Green, Red, White or Yellow Dye
B = Ender Pearl
C = Copper Ingot
A few fake blocks can be crafted with the help of an Invisibility Potion
: Fake Cobblestone
, Fake Dirt
and Fake Stone
. Although looking just like their original counter parts, these fake blocks are not solid, so you can walk through them. π
Crafting table:
AAA
ABA
AAA
Where:
A = Cobblestone, Dirt or Stone
B = Invisibility Potion
We have always found it very difficult to obtain discs. That is why we created the Disc Maker
! π
Crafting table:
ABA
ACA
AAA
Where:
A = Iron Ingot
B = Redtone Dust
C = Note Block
Once the Disc Maker
is placed somewhere, a random disc is produced when you interact with the block while holding Coal
.
There is a famous online game where all you do is clicking a cookie to produce more cookies! We both love that game so much that we bought a version of it just because of its soundtrack! π
That is why we created the Clickable Cookie
: to quench that thirst for clicking (and getting a few items in return at the same time π)!
Crafting table:
AAA
ABA
AAA
Where:
A = Cookie
B = Ender Chest
After placing the Clickable Cookie
, interact with it 10 times using your bare hands to get a few items. There are 10 different items that can be obtained from the Clickable Cookie
. They are produced in sequence, always after 10 "clicks".
Gathering all items necessary to get to "The End" can be extremely time consuming and dangerous! π±
Add to that the fact my son has been fascinated by the Nether Reactor ever since he first saw it in an online video.
Therefore, I thought it would be a great idea to create the Nether Reactor Core Light
, a block that produces all the items necessary to travel to "The End", without all the hassle of venturing to the Nether. π
Crafting table:
ABA
ABA
ABA
Where:
A = Iron Ingot
B = Diamond
Once activated by a Diamond
, the block will produce 8 random items (one at a time) before turning black/purple, and then completely black. If mined before turning completely black, it is possible to obtain all the items used to craft a new Nether Reactor Core Light
. If mined when completely black, 9 Coal
s will be produced. If not mined at all, the block explodes after some time it has turned completely black! π
The block can be deactivate by a Diamond
, halting the item production and the countdown.
Just as a lot of people here in Brazil, my son became obsessed with this year's world cup stickers. β½ That is why he asked me a million times to do something like that in the game. π
That led us to the creation of two new blocks: Sticker Album
and Sticker Pack
.
The Sticker Album
is crafted by combining Cyan Dye
, Magenta Dye
, Yellow Dye
, Black Dye
, White Dye
and one Book
.
The Sticker Pack
's recipe is almost the same as the Sticker Album
's, only replacing the Book
with Paper
.
Once placed, you can use Shears
to open a Sticker Pack
and obtain 3 random stickers.
Stick all the stickers on the album, from Sticker 01
to Sticker 10
in ascending order, to make the album shine! π
Should it become a little too difficult to get a specific sticker, try talking to a librarian... π
The Lightning Hammer
will cause a lightning to strike the nearest monster in a range of 10 blocks. If there are no monsters in that range, a lightning will strike the block exactly 5 blocks in front of you.
Crafting table:
AAA
AAA
BCB
Where:
A = Iron Ingot
B = Stick
C = Redstone Dust
An Erasure Wand
can be crafted using the recipe below. This wand erases the block with which you interact, including unbreakable block such as Bedrock
or Command Block
.
Crafting table:
BAB
B
C
Where:
A = Lava
B = Ruby
C = Iron Ingot
Inspired by those "one block" maps, we created the Ruby Surprise
. Place it somewhere and mine it to produce a new random item. In order to actually destroy the Ruby Surprise
you must use an Erasure Wand
. π
Crafting table:
AAA
BCD
AAA
Where:
A = Netherrack
B = Block of Copper
C = Ruby
D = Block of Redstone
The Pepper Bomb
is a block that after placed and activated by Flint and Steel
, will trigger a countdown and will explode and damage pretty much everything in a range of 5 blocks. It can be crafted by combining Paper
, Gunpowder
and Green Dye
.
When placed next to a lava pool and activated by a Diamond
, the Lava Transformer
will transform into Block of Diamond
all lava within a range of 1, 2 and 3 blocks (in turns).
Crafting table:
A
B
C
Where:
A = Bluestone Dust
B = Sponge
C = Magma Block
It is possible to craft the full "chain armor" set by using regular boots/chestplate/helmet/leggings recipes with Iron Bars
.
I don't know how a Command Block
works, but my son insisted it should have its own recipe. π³ So... We came up with a recipe for it:
Crafting table:
AAA
ABA
ACA
Where:
A = Bedrock
B = Ender Eye
C = Block of Redstone
When my son found out about the removed/never-released Ruby
item, he went crazy with the idea of actually bringing it into the game. π
That way, I created a new ore, the Ruby Ore
, and made it be placed on the overworld alongside regular stone.
One Ruby
produces four Redstone Dust
. Combining four Redstone Dust
in a shape like the one below, produces an Unfinished Ruby
, which can be smelted to produce one Ruby
. One Unfinished Ruby
also produces four Redstone Dust
.
Crafting table:
A
A A
A
Where:
A = Redstone Dust
Combining one Ruby
with one Green Dye
produces one Unfinished Emerald
, which can be smelted to produce one Emerald
. One Unfinished Emerald
, by itself, produces back one Ruby
and one Green Dye
.
My son asked me for a way to craft the missing horse armors (iron, golden and diamond). Therefore, here are their recipes:
Crafting table:
A
ABA
AAA
Where:
A = Iron Ingot, Golden Ingot or Diamond
B = Wool
Combining one Cobblestone
with one Stick
produces a rustic piece of decoration, called Rocks
.
Place one these buckets into a crafting table (or into a regular crafting slot) to extract their contents. Combining the contents with empty buckets produces the original bucket back:
Bucket of Axolotl
Bucket of Cod
Lava Bucket
Powder Snow Bucket
Bucket of Pufferfish
Bucket of Salmon
Bucket of Tadpole
Bucket of Tropical Fish
Water Bucket
Place one Flint and Steel
into a crafting table (or into a regular crafting slot) to produce fire! π₯π
Overall, after a lot of research, I realized these are the best references to go to when in doubt:
- https://bedrock.dev/
- https://learn.microsoft.com/en-us/minecraft/creator/
- https://minecraft.fandom.com/wiki/Minecraft_Wiki
- https://minecraftitemids.com/
- https://wiki.bedrock.dev/
Also, it is worthy checking https://bugs.mojang.com due to a few known Minecraft bugs that can affect custom items and blocks, like this bug that interfered with a couple of my own blocks. π
In my case, I found these specific links to be very helpful:
-
https://bedrock.dev/docs/1.18.0.0/1.18.30.32/Features#minecraft%3Aore_feature
-
https://learn.microsoft.com/en-us/minecraft/creator/documents/experimentalfeaturestoggle
-
https://learn.microsoft.com/en-us/minecraft/creator/documents/introductiontoloottables
-
https://learn.microsoft.com/en-us/minecraft/creator/documents/introductiontoaddentity
-
https://learn.microsoft.com/en-us/minecraft/creator/documents/packagingaskinpack
-
https://learn.microsoft.com/en-us/minecraft/creator/documents/mashuppackoverview
-
https://minecraft.fandom.com/wiki/Sounds.json#Bedrock_Edition_values
-
https://minecraft.fandom.com/wiki/Bedrock_Edition_data_values#Item_IDs
-
https://wiki.bedrock.dev/blocks/blocks-16.html#minecraft-ticking
-
https://wiki.bedrock.dev/blocks/blocks-16.html#minecraft-unit-cube
-
https://wiki.bedrock.dev/entities/invulnerable-entities.html
-
https://wiki.bedrock.dev/documentation/queries.html#query-is-item-name-any
These are the three main apps I use to create our add-on:
In addition, it is extremely useful to have Minecraft's vanilla packs in hand for reference: