-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LM4 Buffs System #424
Comments
This comment was marked as resolved.
This comment was marked as resolved.
LM4 Custom Drops Config ChangesUseful links for brainstorming: LM3 CustomDrop Docs; LM3 Oath's Example CustomDrops; LM3 CustomDrops.yml PreviewSettings DocumentationRoot File Sections
Drop Recipient / Table Settings
Drop Settings
EnchantmentsThe process of applying enchantments to Custom Drop items is explained below. enchantments:
- enchantment: "Unbreaking"
strength: 1
chance: 75
- enchantment: "Unbreaking"
strength: 2-3
chance: 25 Example Filemob-groups:
- mob-group: "neutral"
overall-chance: 100
drops: ......etc...
entities:
- entity: WITHER_SKELETON
overall-chance: 100 # = 100% overall chance for any items in this creeper-specific drop table to be processed
drops:
- material: "CYAN_DYE"
chance: 5 # 5% chance to drop
name: "&3Custom Drop"
amount: 1-2
min-level: 75
max-level: 100
custom-model-data: 123
no-multiplier: true
no-spawner: true
priority: 8
max-drops-in-group: 2
item-flags: ['HIDE_ATTRIBUTES']
drop-group-id: 'powder'
chunk-kill-limited: true
durability-loss: 10
enchantments:
UNBREAKING: 1
overrides-vanilla-drops: false
permissions: ['someplugin.class.wizard']
formula-condition: "between(%entity_max_health%, 12, 34) && between(%player_exp_to_level%, 12, 34)"
cause-of-death: ["PLAYER"]
- command: "/say Something happened with a creeper!"
run: ["ON_SPAWN", "ON_DEATH"]
- command: "/say It has spawned in!"
run: "ON_SPAWN"
delay: 1
- command: ["/say Farewell, Creeper...", "/say Shall you form your craters in the grounds of hell..."]
run: "ON_DEATH"
drop-tables:
- drop-table: 'Brain-Eaters'
entities:
in-list: ['ZOMBIE', 'HUSK', 'DROWNED']
drops:
- material: "NETHERITE_SWORD"
chance: 0.5 # 0.5%
name: "&cLegendary Broadsword"
amount: 1-5
min-level: 95
max-level: 100 Removed Features From LM3 -> LM4Only Drop If Equipped
only-drop-if-equipped: false Unchanged; same as LM3amount: 32
name: '&dBlazed Pearl Broadsword'
lore: ['&f&oForged from Wither ashes.']
priority: 5
nbt-data: ""
delay: 0
external-amount: 1
# **Note:** LM4, unlike LM3, does not add the `levelledmobs.permission.` prefix.
permission: ['vip'] SectionsAdded Generic Formatting Changes
LM3: minLevel: 12
maxLevel: 34
custommodeldata: 123
nomultiplier: true
nospawner: false
maxdropgroup: 1
item_flags: ''
groupid: '' LM4: min-level: 12
max-level: 34
custom-model-data: 123
no-multiplier: true
no-spawner: false
max-drops-in-group: 1
item_flags: ['HIDE_ATTRIBUTES']
drop-group-id: '' Root Item Section
LM3: - DIAMOND_SWORD:
name: 'Sword of a Thousand Truths' LM4: - material: "DIAMOND_SWORD"
name: 'Sword of a Thousand Truths' Chances
LM3: chance: 0.15 LM4: chance: 15 Chunk Kill Count
LM3: use-chunk-kill-max: true LM4: chunk-kill-limited: true Durability Loss (Damage)
LM3: damage: 10 LM4: durability-loss: 10 EquipmentLM3: equipped: 1.0
equip-offhand: true LM4: equip:
# Chance to equip or otherwise act as a drop
chance: 0.6
# if equipment-slots is specified then the item WILL be equipped, just a matter of 'where?'.
# LM will attempt to put the item in any of the slots, in order.
# Equipped items will be limited to their material's stack size and will not use any overflow logic.
allowed-slots: ['MAIN_HAND', 'OFF_HAND', 'HELMET', 'CHESTPLATE', 'LEGGINGS', 'BOOTS'] EnchantmentsLM3: enchantments:
ENCHANTMENT: X
enchantments:
ENCHANTMENT:
shuffle: false
default: 1
X: 0.5 LM4:
enchantments:
- enchantment: Sharpness
strength: 5
chance: 75 Overrides Vanilla DropsLM3: override: true LM4: overrides-vanilla-drops: true Overall Chances and Permissions
LM3: CREEPER:
- DIAMOND_SWORD:
overall_chance: 0.750112
overall_permission: ['vip']
ZOMBIE:
- DIAMOND_SWORD:
overall_chance: 0.2357
overall_permission: ['vip']
LM4: CREEPER:
overall-chance: 75.0112 # = 75.0112% overall chance for any items to be processed
overall-permissions: ['vip']
drops:
- material: "NETHERITE_SWORD"
ZOMBIE:
overall-chance: 23.57 # = 23.57% overall chance for any items to be processed
overall-permissions: ['vip']
drops:
- material: "APPLE" PermissionsAdded a plural in LM4 ( Run On Spawn/Death
LM3: run-on-spawn: true
run-on-death: true LM4: # multi-value variant
run: ["ON_SPAWN", "ON_DEATH"]
# single-value variant
run: "ON_SPAWN"
run: "ON_DEATH" Formula ConditionsLM3: min-player-level: 12
max-player-level: 34
player-level-variable: '%player_exp_to_level%' LM4:
formula-condition: "between(%entity_some_placeholder_here%, 12, 34) && between(%player_exp_to_level%, 12, 34)" Cause of Death & Player-CausedLM3: cause-of-death: ['']
player-caused: true LM4: # This will be the default value
cause-of-death: ["PLAYER"] External TypeLM3: type: 'LM items type here.' LM4: external-type: 'LM items type here.' |
Shield breaker feature is on-hold due to the lack of required API. PaperMC/Paper#8751 |
SHIELD_BREAKER
attribute. #379 and Increase Damage to Shields by Multiplier #329 for more information.The text was updated successfully, but these errors were encountered: