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 137
    • Issues 137
    • 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
    • Skills
    • Mechanics
  • giveitem

giveitem · Changes

Page history
Update giveitem authored Dec 20, 2023 by Amy's avatar Amy
Show whitespace changes
Inline Side-by-side
Showing with 7 additions and 1 deletion
+7 -1
  • skills/mechanics/giveitem.md skills/mechanics/giveitem.md +7 -1
  • No files found.
skills/mechanics/giveitem.md
View page @ 18a3cd7f
...@@ -9,7 +9,7 @@ fakeLooting was added in 4.12 MM and it makes the item being given show up on th ...@@ -9,7 +9,7 @@ fakeLooting was added in 4.12 MM and it makes the item being given show up on th
## Attributes ## Attributes
| Attribute | Aliases | Description | Default | | Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------| |-----------|-----------|----------------------------------------------------------------------|---------|
| item | i | The item material (supports for MythicMobs' [Items](https://git.lumine.io/mythiccraft/MythicMobs/-/wikis/Items/Items) and [Droptables](https://git.lumine.io/mythiccraft/MythicMobs/-/wikis/drops/Drops#drop-tables)) | | | item | i | The item material (supports for MythicMobs' [Items](https://git.lumine.io/mythiccraft/MythicMobs/-/wikis/Items/Items) and [Droptables](https://git.lumine.io/mythiccraft/MythicMobs/-/wikis/drops/Drops#drop-tables)) You can specify an amount by putting a space and a number after the item name | |
| fakeLooting | fl | Plays the pickup-item animation from the origin | false | | fakeLooting | fl | Plays the pickup-item animation from the origin | false |
...@@ -19,3 +19,9 @@ fakeLooting was added in 4.12 MM and it makes the item being given show up on th ...@@ -19,3 +19,9 @@ fakeLooting was added in 4.12 MM and it makes the item being given show up on th
- giveitem{i=diamond_sword} @PIR{r=20} ~onSpawn - giveitem{i=diamond_sword} @PIR{r=20} ~onSpawn
- ... - ...
``` ```
The below example would give the players 6 cookies.
```yaml
Skills:
- giveitem{i=cookie 6} @PIR{r=20} ~onSpawn
- ...
```
\ No newline at end of file
Clone repository
Home
Changelogs
Premium Features
Commands and Permissions
FAQ / Common Issues
Mythic Add-ons
Compatible Plugins
API Information
Packs
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
  • Effects
  • Targeters
    • Filters
  • Triggers
  • Conditions
    • In-line conditions
  • Metaskills
  • Placeholders
  • Variables
  • Math
Items
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers
  • Firework
Drops & DropTables
Spawning
  • Spawners
  • Random Spawns
Stats
  • Custom Stat Options
  • Modifiers
  • Built in Stats
Examples
Useful Tips