-
Notifications
You must be signed in to change notification settings - Fork 6
Examples
Penal Buffalo edited this page Dec 29, 2024
·
2 revisions
Note that you can optionally utilize external-amount since it accepts doubles as opposed to amount which only accepts integers.
ALL_HOSTILE_MOBS:
- Coins:coin:
chance: 1.0
equipped: 0
amount: 1-4 # random amount between 1 and 4ALL_HOSTILE_MOBS:
- Coins:coin:
chance: 1.0
equipped: 0
amount-formula: '%mob-lvl% * (%rand_1_10% * 0.01)' # mob level * random number between 0.01 and 0.1ALL_HOSTILE_MOBS:
- CombatWeaponryPlus:SomeItem:
equipped: 0
chance: 1.0
amount: 1CustomCrafting requires you to specify the namespace. For example:
ALL_HOSTILE_MOBS:
- CustomCrafting:customcrafting/advanced_crafting_table:
equipped: 0
chance: 1.0
amount: 1ALL_HOSTILE_MOBS:
- CustomItems:SomeItem:
equipped: 0
chance: 1.0
amount: 1Types: crate, key
ALL_HOSTILE_MOBS:
- ExcellentCrates:MyKey123:
type: 'key'
chance: 0.25 # 25%
equipped: 0
amount: 1
nomultiplier: true - ExcellentCrates:MyCrate123:
type: 'crate'
chance: 0.25 # 25%
equipped: 0
amount: 1
nomultiplier: trueALL_HOSTILE_MOBS:
- ExecutableItems:crystalfragment:
equipped: 0.0
chance: 0.05 # 5%
amount: 1Pick a custom head on https://minecraft-heads.com/ then put the ID in your drop.
ALL_HOSTILE_MOBS:
- HeadDatabase:61380: # https://minecraft-heads.com/custom-heads/head/61380
equipped: 1.0
chance: 0.1 # 10%
amount: 1Optional attributes: usages, durability
ALL_HOSTILE_MOBS:
- ItemsAdder:SomeItem:
equipped: 1.0
chance: 1.0
amount: 1
extras:
usages: 10
durability: 200ALL_HOSTILE_MOBS:
- ItemsEdit:SomeItem:
equipped: 1.0
chance: 1.0
amount: 1ALL_HOSTILE_MOBS:
- MagicHealth:SomeItem:
equipped: 0
chance: 1.0
amount: 1MMOItems has the most feature support in LM Items. It is the only plugin to support multiple items.
The type attribute is required for all items unless using multiple items.
Optional attributes: ItemLevel
ALL_HOSTILE_MOBS:
- MMOItems:SILVER_LEAF:
type: 'ALCHEMY' # must match name of one the files in the `items` directory and is usually in all caps.
chance: 0.2
amount: 1.0
equipped: 0Example of using multiple items:
ALL_HOSTILE_MOBS:
- MMOItems:-: # note the item id must be `-`
type: 'SWORD' # get all sword types
chance: 0.2
amount: 1.0
equipped: 1.0
# optional fields below
min-items: 2
max-items: 4
# the lists support wildcards ( * )
allowed-list: []
excluded-list: [ '*_BLADE' ]ALL_HOSTILE_MOBS:
- MythicMobs:SomeItem:
equipped: 1.0
chance: 1.0
amount: 1ALL_HOSTILE_MOBS:
- Oraxen:SomeItem:
equipped: 1.0
chance: 1.0
amount: 1ALL_HOSTILE_MOBS:
- EcoArmor:SomeItem:
equipped: 1.0
chance: 1.0
amount: 1ALL_HOSTILE_MOBS:
- EcoItems:SomeItem:
equipped: 0
chance: 1.0
amount: 1