Added a new adapter method that could be used in storagemechanic:
Example:
Code (YAML):
blocks:
block1:
material
: 'mc:
{id:
"minecraft:stone",Count:1b,tag:
{Enchantments:
[
{id:
"minecraft:efficiency",lvl:1s
}
]
}
}'
displayName
: 'BACK PACK'
lore
:
- '<green> TEST LORE'
properties:
drop_block
: true
This new method would be mc:{nbt}
the ideal use would be for the creation of custom blocks in storagemechanic
These would be the 2 possible variations that you can use:
Code (YAML):
#Variations:
mc:
(nbt
)
mc:
(material
)
#Example:
mc:
{id:
"minecraft:diamond",Count:1b,tag:
{HideFlags:1,Enchantments:
[
{id:
"minecraft:efficiency",lvl:1s
}
]
}
}
#Enchanted diamond
mc:stone
#STONE
#more examples
mc:
{id:
"minecraft:player_head",Count:1b,tag:
{SkullOwner:
{Id:
"add2598d-0101-44d6-ad63-6b8b96dcee51",Properties:
{textures:
[
{Value:
"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODM1MWU1MDU5ODk4MzhlMjcyODdlN2FmYmM3Zjk3ZTc5NmNhYjVmMzU5OGE3NjE2MGMxMzFjOTQwZDBjNSJ9fX0="
}
]
}
}
}
}
#It would be a player's head with a backpack texture