#(Blockutis) How to set a player_head's skull_skin in an item script container?

17 messages · Page 1 of 1 (latest)

placid herald
#

I can't figure out how to do this. Please help.
Player head with the skin, printed in console:
Filled tag <player[Blockutis].item_in_hand> with 'i@player_head[skull_skin = b53dbef1-d2cd-43ab-8ffa-054c5903e1d3|eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTkwODIzNWExY2JlY2MwM2E3MmNkZjcxMGY0ZWQ1MTlkNjViNGRhNjJiNTRhNGVmOThhNzQwOGZjZjUxYjgzYiJ9fX0=]'.

Item script:

    debug: false
    type: item
    material: player_head
    skull_skin: b53dbef1-d2cd-43ab-8ffa-054c5903e1d3|eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTkwODIzNWExY2JlY2MwM2E3MmNkZjcxMGY0ZWQ1MTlkNjViNGRhNjJiNTRhNGVmOThhNzQwOGZjZjUxYjgzYiJ9fX0=```
The resulting head from /ex give testhead is just a steve head: `Filled tag <player.item_in_hand> with 'i@player_head[script = testhead]'. `
what am i doing wrong??
steady ivyBOT
#

(Blockutis) How to set a player_head's skull_skin in an item script container?

steady ivyBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>

compact raven
#

!lang item script container

cloud whaleBOT
# compact raven !lang item script container

Item script containers are an easy way to pre-define custom items for use within scripts. Item
scripts work with the ItemTag object, and can be fetched with the Object Fetcher by using the
ItemTag constructor ItemTag_script_name. Example: - drop <player.location> super_dooper_diamond

The following is the format for the container. Except for the 'material' key (and the dScript
required 'type' key), all other keys are optional.

<code>

The name of the item script is the same name that you can use to construct a new

ItemTag based on this item script. For example, an item script named 'sword_of_swiftness'

can be referred to as simply 'sword_of_swiftness'.

Item_Script_Name:

type\: item

# Must be a valid ItemTag. See 'ItemTag' for more information.
# \| All item scripts MUST h...
Group

Script Container System

compact raven
#
# List any mechanisms you want to apply to the item within
# | Some item scripts should have this key!
mechanisms:
#

!m skull_skin

cloud whaleBOT
compact raven
# compact raven !m skull_skin

I wanted to show here that skull_skin in that case is a mechanism, nevermind. As item script container example says, mechanisms should be under the mechanisms key.

placid herald
#

thank you!!