
- Версия ядра сервера
- 1.19+
В общем мне нужно сделать так, чтобы при держании в руке (любой абсолютно) накладывалось эффект/зачарование подводной ходьбы и вечного дыхания под водой.
Я наложил вроде зачарование на трезубец, но они не работают:

Может подводную ходьбу и вечное дыхание нельзя наложить на трезубец (а накладываются на ботинки и шлем)
Либо я что то делаю не так, вот конфигурация предмета:
Я наложил вроде зачарование на трезубец, но они не работают:

Может подводную ходьбу и вечное дыхание нельзя наложить на трезубец (а накладываются на ботинки и шлем)
Либо я что то делаю не так, вот конфигурация предмета:
YAML:
# The name or display name
name: 'FFF&lТμFF&lр}DFF&lеA64FF&lзìBFF&lуC72FF&lб෻FF&lеD80FF&lц
F8FFF&lПᜈFF&lоɡDFF&lсEA4FF&lеHABFF&lйBB2FF&lдSB9FF&lоCC0FF&lн_C7FF&lа'
# The lore of the item
lore: []
# The material
material: TRIDENT
# Item glowing effect
# ⚠ It adds an useless enchant
# + hide enchants
glow: false
# Disable item stacking ?
disableStack: false
# Keep the item on death ?
keepItemOnDeath: false
# Can be used only by the owner
# ⚠ Require Store item info on true
canBeUsedOnlyByTheOwner: false
# Cancel event if not owner
cancelEventIfNotOwner: false
# BlackListed Activators
# (can be used by everyone even if
# the only owner feature is set to true)
onlyOwnerBlackListedActivators: []
# Store item info ?
# Store the item info like the owner
storeItemInfo: false
# Item unbreakable ?
unbreakable: false
usage: 0
usageLimit: -1
cancelEventIfNoPerm: false
disabledWorlds: []
config_5: true
config_update: true
# Cancel the event if the player has no permission
cancelEventIfNoPermission: false
# The whitelisted worlds features
whitelistedWorlds: []
# Keep the default attributes
# Only for 1.19+
keepDefaultAttributes: false
# For new item LET IT FALSE PLS
# Otherwise you can let it true
# if you want to update your old items turn it FALSE
# But be careful the item tags may change
# it can impact shopkeeper or custom craft recipe
# Only for 1.19+
ignoreKeepDefaultAttributesFeature: true
# The usage features
# Increase or Decrease this usage with
# UsageModification in your activators
usageFeatures:
# The usage of the item
# -1 = Infinite
# Increase or Decrease this usage with
# UsageModification in your activators
usage: 1
# Is refreshable clean
isRefreshableClean: true
# The usage limit of the item
# Usage can't be increased above this value
usageLimit: -1
# The drop features
dropFeatures:
# Glow drop
glowDrop: false
# The color of the glow
glowDropColor: WHITE
# Display custom name above the item
displayNameDrop: false
# The enchantments of the item
enchantments:
enchantment0:
enchantment: Channeling
# The level of the enchantment
level: 1
enchantment1:
enchantment: Impaling
# The level of the enchantment
level: 7
enchantment2:
enchantment: Loyalty
# The level of the enchantment
level: 3
enchantment3:
enchantment: Mending
# The level of the enchantment
level: 1
enchantment4:
enchantment: Unbreaking
# The level of the enchantment
level: 5
enchantment5:
enchantment: Aqua_affinity
# The level of the enchantment
level: 1
enchantment6:
enchantment: Depth_Strider
# The level of the enchantment
level: 10
enchantment7:
enchantment: Respiration
# The level of the enchantment
level: 10
# The hiders features
# Hiders to hide:
# Attributes, Enchants, ...
hiders:
# Hide enchantments
hideEnchantments: false
# Hide unbreakable
hideUnbreakable: false
# Hide attributes
hideAttributes: false
# Hide usage
hideUsage: true
# Hide destroys
hideDestroys: false
# Hide placed on
hidePlacedOn: false
# Hide dye
hideDye: false
# Hide Potion effects
# and banner tags
hidePotionEffects: false
# The give first join features
giveFirstJoinFeatures:
# Enable the feature
giveFirstJoin: false
# The amount to give
giveFirstJoinAmount: 1
# Slot between 0 and 8 includes
giveFirstJoinSlot: 0
# The restrictions features
restrictions:
# The item can't be
# moved of the inventory
locked-in-inventory: false
# The variables
# Variables are used to store data like kills / deaths ...
variables: {}
# The activators / triggers
activators: {}
# Display conditions in the lore
displayConditions:
# Add player conditions to determine
# when the
playerConditions: {}
#
worldConditions: {}
#
itemConditions: {}
# The placeholders conditions
placeholdersConditions: {}
# Enable or disable this feature
enableFeature: false
# The attributes
attributes: {}