Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 144
    • Issues 144
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Wiki
    • Drops
  • DropTables

DropTables · Changes

Page history
changed explanation for totalitems, maxitems, minitems, bonuslevelitems and bonusluckitems authored May 25, 2024 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 8 additions and 6 deletions
+8 -6
  • drops/DropTables.md drops/DropTables.md +8 -6
  • No files found.
drops/DropTables.md
View page @ e8f5654c
......@@ -36,32 +36,34 @@ internal_droptablename:
## DropTable Options
> In the descriptions below "drop" identifies a single "drop line" and not the actual amount of items the drop generates. So, if you have a drop like `bone 5`, despite generating 5 bone items, the drop counts as a single drop, as it was generated by a single "drop line"
**TotalItems: \[number\]**
- Defines exactly how many items the table will drop
- Defines exactly how many drops the table will generate
- Setting this causes item chances to be calculated as weights
**MaxItems: \[number\]**
- Defines a maximum number of items that will drop
- Defines a maximum number of drops that will generate
- If only this is set, drops will run down the list unless the maximum number of items is reached
**MinItems: \[number\]**
- Defines a minimum number of items that will drop
- Defines a minimum number of drops that will generate
- If only this is set, drops will run down the list until the minimum items is reached
- If you enable **both** ```MinItems``` and ```MaxItems```, the chances for each table entry will become *weights* instead.
**BonusLevelItems: \[number\]/\[range\]**
- A modifier on the number of items dropped based on the mob's level
- A modifier on the number of drops generated based on the mob's level
- Can be set as a range,`i.e. ```0.2to0.5```
- Works like:```amount = amount + (mob_level * bonus_level_items)```
- Requires that```TotalItems```, ```MinItems```, or ```MaxItems``` are set on the table
**BonusLuckItems: \[number\]/\[range\]**
- A modifier on the number of items dropped based on the killer's luck stat
- A modifier on the number of drops generated based on the killer's luck stat
- Can be set as a range, i.e. ```0.15to8```
- Works with Luck attribute, Luck-based enchants/curses, and Luck potion effects
- Works like: ```amount = amount + (luck * bonus_luck_items)```
......@@ -95,7 +97,7 @@ rare_snowsword_droptable:
- snowsword 1 0.05
```
In this example, the DropTable would drop 5 gold/diamonds if the player
has no Luck, and 15-27 gold/diamonds if the player has a Luck V enchant.
has no Luck, and 15-27 gold/diamonds if the player has a Luck V effect.
```yaml
LuckyDroptable:
TotalItems: 5
......
Clone repository
Home
Changelogs
Premium Features
Commands and Permissions
Mythic Add-ons
Compatible Plugins
API Information
Guides
  • Troubleshooting
  • FAQ / Common Issues
  • Examples
Packs
  • Pins
Mobs
  • Mob Options
    • Display Options
  • Mob Levels
  • Mob Factions
  • Power Scaling
  • Damage Modifiers
  • Equipment
  • BossBar
  • Custom AI
  • Custom Kill Messages
  • Threat Tables
  • Immunity Tables
  • Templates
  • Vanilla Overrides
  • Extra: Disguises
  • Extra: ModelEngine
Skills
  • Mechanics
  • Targeters
    • Filters
  • Triggers
  • Conditions
    • In-line conditions
  • Metaskills
  • Placeholders
  • Variables
Items
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers
  • Firework
Drops & DropTables
  • Drops
  • DropTables
  • FancyDrops
Spawning
  • Spawners
  • Random Spawns
Stats
  • Custom Stat Options
  • Modifiers
  • Built in Stats
Technical
  • Math
  • Operations
    • Attribute Operations
    • Stats Modifiers
  • Particles Types
  • Audience
  • Equipment Slots
  • Intratick Scheduling