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 152
    • Issues 152
    • 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
  • giveitemfromtarget

giveitemfromtarget · Changes

Page history
updated layout and informations authored Oct 10, 2024 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 15 additions and 17 deletions
+15 -17
  • skills/mechanics/giveitemfromtarget.md skills/mechanics/giveitemfromtarget.md +15 -17
  • No files found.
skills/mechanics/giveitemfromtarget.md
View page @ ebf4ff47
Mechanic: Give Item From Target
===============================
## Description
Gives the caster an item while playing the pickup-item animation from the target entity or location when fakelooting is set to true.
Gives the caster an item from the target entity or location when fakelooting is set to false.
Attributes
----------
| Attribute | Aliases | Description | Default Value |
|-------------|---------|-------------------|---------------|
| item | i | The item material (supports for mythicmobs item) | None |
| amount | a | The amount given | 1 |
| fakeLooting | | plays the pickup-item animation from the target | false |
## Attributes
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| item | items, i | The item material (supports for mythicmobs item) | |
| fakeLooting | dofakelooting, fl | plays the pickup-item animation from the target | true |
------------
This mechanic was added in 4.12 MM
## Examples
```yaml
Skills:
- giveitem{i=diamond_sword;a=1} @PIR{r=20} ~onSpawn
```
Examples
--------
Skills:
- giveitem{i=diamond_sword;a=1} @PIR{r=20} ~onSpawn
- ...
\ No newline at end of file
## Aliases
- [x] givefromtarget
- [x] giveitemsfromtarget
- [x] itemgivefromtarget
\ No newline at end of file
Clone repository
Home
Changelogs
Premium Features
Commands and Permissions
Mythic Add-ons
Compatible Plugins
API Information
Guides
  • Troubleshooting
  • FAQ / Common Issues
  • Examples
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
  • 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
Other
  • Particles Types
  • Audience
  • Equipment Slots
  • Pins
Technical
  • Math
  • Operations
    • Attribute Operations
    • Stats Modifiers
  • SkillTree
  • Intratick Scheduling
  • Dynamic Metaskills