#[1.21.3] Invalid mechanism: potion_effects

35 messages · Page 1 of 1 (latest)

rich plume
#
floral frostBOT
#

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.

pallid ruinBOT
#
Changed to Bug

Thread is now a Bug thread. This indicates a core code bug that a developer must resolved, not an error message or other support topic. Please do not misuse the Bug label. Use </helpthread:1028674284870180883> to switch the thread back to a normal help thread if you are not 100% confident it is a code bug.

polar root
#

This was converted to the MapTag effects_data, does changing this fix it?

rich plume
#

Was it?

polar root
#

!m potion_effets

trim cedarBOT
#
Possible Confusion

Did you mean to search for potion_effects?

polar root
#

!m potion_effects

trim cedarBOT
trim cedarBOT
polar root
#

!m ItemTag.potion_effects

trim cedarBOT
# polar root !m ItemTag.potion_effects

Sets the item's potion effect(s).
This applies to Potion items, Tipped Arrow items, and Suspicious Stews.

For potions or tipped arrows (not suspicious stew), the first item in the list must be a MapTag with keys:
"base_type" - from https://minecraft.wiki/w/Potion#Item_data

For example: [base_type=strong_swiftness]
This example produces an item labeled as "Potion of Swiftness - Speed II (1:30)"

Each following item in the list are potion effects, which must be a MapTag with keys:
"t...

Object

ItemTag

Input

ListTag

Tags

<ItemTag.effects_data> Returns a list of all potion effects on this item, in the same format as th...
<server.potion_types> Returns a list of all potion types known to the server. This is only their B...
<server.potion_effect_types> Returns a list of all potion effects known to the server. Can be used...

polar root
#

!m itemtag.effectsdata

trim cedarBOT
#
Possible Confusion

Did you mean to search for itemtag.custom_data?

polar root
#

!m itemtag.effects_data

trim cedarBOT
#
Possible Confusion

Did you mean to search for itemtag.custom_data?

polar root
rich plume
#

Will check after.

rich plume
polar root
#

Effect_data is a tag, not a mechanism (my mistake earlier)

rich plume
#

Oh.

#

I misread.

polar root
#

no worries, I made a mistake when trying to pull it up

zinc basin
#

this is a known limitation of the 1.20.6+ dev builds

rich plume
#

Huh? Limitation?

zinc basin
#

potion property hasn't been ported for the new way potions work in 1.20.6+ yet

#

it's one of the reasons Denizen is stuck in forever dev builds instead of having a release for these versions yet

rich plume
#

Ah okay.

hallow night
#

This is a duplicate

rich plume
#

Sure.