1

Find some datapack

arKanSMC 8/31/19 3:42 am
193
8/31/2019 8:57 am
can i know a datapack can put item on head yeah i know there command named /replaceitem but iwant it be survival friendly or uses custom command using /trigger
Posted by
arKanSMC
Level 38 : Artisan Procrastinator
11

  Have something to say?

JoinSign in

5

Taruyroiii
08/31/2019 5:19 am
Level 66 : High Grandmaster Blob
I don't think there are any. Modifying the NBT data of the player is not yet possible in-game. The only way to insert an item to a player's head is to do /replaceitem. Creating a data pack that enables every item to equip to head slot would require tons of /replaceitem commands. There is a hat data pack tho that imitates the Forge mod, if you like it.
1
HoboMaggot
08/31/2019 7:55 am
Level 55 : Grandmaster Blob
its possible with /replaceitem since it doesnt directly replace player nbt
1
Taruyroiii
08/31/2019 8:48 am
Level 66 : High Grandmaster Blob
Yeah, but what I was saying is that /data modify could help a lot to simplify things. /replaceitem relies on the Player's input value rather than getting the value from other sources such as chest slots, selected item, etc. This makes it hard or tiresome to do since you have to input all the blocks with /replaceitem commands. Since, /data modify is not yet possible.
1
arKanSMC
08/31/2019 5:28 am
Level 38 : Artisan Procrastinator
history
yeah ik its almost 100 block and item and some of that have different properties but i just ask if there have datapack that can put item and block into head
1
Taruyroiii
08/31/2019 8:57 am
Level 66 : High Grandmaster Blob
Probably not. If there is any, props for them XD Encoding /replaceitem with every item is tiresome. I wish the future updates will allow us to alter Player's NBT data in-game to make this possible in the most easiest way.
1

Welcome