#(Gentlestep) How do I allow for player heads to be enchanted?

26 messages · Page 1 of 1 (latest)

sly dove
#

I want to be able to use player heads in the enchanting table, how do I manage that?

bold heathBOT
#

(Gentlestep) How do I allow for player heads to be enchanted?

#

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>

cobalt shadow
sly dove
#

basically treat a player_head like a diamond helmet

torpid bay
#

Do you have a script yet?

sly dove
#

no ive never used denizen

#

Where should I start?

#

Is this something simple?

civic shale
#

yes

#

!getstarted

quartz marlinBOT
sly dove
#

Do I have to make my own GUI for this to work?

livid thicket
#

Sorry about the late answer. You are asking a difficult question to answer completely correctly.
In theory, yes. Your own GUI could work but that's very difficult.
You can try use the player prepares item enchant event

#

!evt player prepares item enchant

quartz marlinBOT
# livid thicket !evt player prepares item enchant
Group

Player

Event Lines

player prepares item enchant player prepares <item> enchant

Triggers

when a player prepares to enchant an item.

Has Player

Always. - this adds switches flagged:<flag name> + permission:<node>, in addition to the <player> link.

Context

<context.location> returns the LocationTag of the enchanting block.
<context.item> returns the ItemTag to be enchanted.
<context.bonus> returns an ElementTag(Number) of the enchanting bonus available (number of bookshelves).
<context.offers> returns a ListTag of the available enchanting offers, each as a MapTag with keys ...

Determine

"OFFERS:<ListTag>" of MapTags to set the offers available. Cannot be a different size list than the size of context.offers.

livid thicket
#

But it is recommended you follow the guide first.

late chasmBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@sly dove