With the increasing number of block-based mob summons in the game, it would be extremely useful to alter the Vanilla golem "recipes" via json, as well as add new ones to the game.
I see this working very similar to crafting recipes. The golem "recipe" would have a "key" linking each block ID to a character; the first block in the key would be treated as the golem's "head". You'd then construct a grid of those characters to define how the golem is built. This grid would have a 3x3 limit, with three layers that to define the 3D structure needed to construct the golem. The "results" field would also work like a crafting recipe, allowing you to choose the entity ID to be summoned, along with any additional data it should spawn with.
As an example, here's how the json file for summoning an iron golem might look:
{
"type": "minecraft:golem_summon",
"key": {
"P": "minecraft:carved_pumpkin",
"I": "minecraft:iron_block"
},
"pattern": {
"layer_1": [
" I "
],
"layer_2": [
"III"
],
"layer_3": [
" P "
]
},
"result": {
"id": "minecraft:iron_golem"
}
}
Within Vanilla, snow golems, copper golems, iron golems, and withers would be defined this way; however, packmakers could also use this format to add new summons as well; for example, placing a pumpkin on a magma block to spawn a blaze. Having a system like this would solve a lot of game design issues I've been running into, and would open up a ton of possibilities for new datapack features as well.
Please sign in to leave a comment.
0 Comments