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 149
    • Issues 149
    • 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
    • Items
  • Items

Items · Changes

Page history
added Glider, DeathProtection and Consumable's ConsumeEffects authored Apr 12, 2025 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 35 additions and 6 deletions
+35 -6
  • Items/Items.md Items/Items.md +35 -6
  • No files found.
Items/Items.md
View page @ dd66f3f1
...@@ -223,6 +223,14 @@ MyCoolStick: ...@@ -223,6 +223,14 @@ MyCoolStick:
- obsidian - obsidian
``` ```
#### Glider
Allows item to be used as an elytra.
Used to handle the [glider component](https://minecraft.wiki/w/Data_component_format/glider) of an item.
```yaml
MyItem:
Glider: true
```
#### Group #### Group
Sets the group the item is in for `/mm items browse`. Sets the group the item is in for `/mm items browse`.
```yml ```yml
...@@ -336,14 +344,35 @@ SomeBook: ...@@ -336,14 +344,35 @@ SomeBook:
Allows item to be eaten. Includes customizable animations and sounds. Allows item to be eaten. Includes customizable animations and sounds.
Used to handle the [consumable component](https://minecraft.wiki/w/Data_component_format/consumable) of an item. Used to handle the [consumable component](https://minecraft.wiki/w/Data_component_format/consumable) of an item.
```yaml ```yaml
Options: MyExampleItem:
Consumable: Consumable:
ConsumeSeconds: 3 ConsumeSeconds: 3
HasParticles: false HasParticles: false
Animation: SPEAR Animation: SPEAR
Sound: item.crossbow.quick_charge_3 Sound: item.crossbow.quick_charge_3
ConsumeEffects:
- potion{type=absorption;d=200}
- randomteleport{radius=5}
- removePotion{type=wither}
- clearAllEffects
- sound{sound=entity.ghast.scream}
```
#### DeathProtection
If present, this item protects the holder from dying by restoring a single health point, like a Totem of Undying does.
Used to handle the [death_protection component](https://minecraft.wiki/w/Data_component_format/death_protection) of an item.
```yaml
MyTotemItem:
DeathProtection:
ConsumeEffects: # Same as Consumable's
- potion{type=absorption;d=200}
- randomteleport{radius=5}
- removePotion{type=wither}
- clearAllEffects
- sound{sound=entity.ghast.scream}
``` ```
#### Food #### Food
Used to handle the [food component](https://minecraft.wiki/w/Data_component_format/food) of an item. Used to handle the [food component](https://minecraft.wiki/w/Data_component_format/food) of an item.
Required [Consumable](/Items/Items#consumable) to be set in order to work Required [Consumable](/Items/Items#consumable) to be set in order to work
......
Clone repository
Home
Changelogs
Premium Features
Commands and Permissions
Mythic Add-ons
Compatible Plugins
API Information
Config Files

Guides
  • Troubleshooting
  • FAQ / Common Issues
  • Examples
Packs

MythicScribe MythicScribe - VSCode Extension

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
    • Mechanics by Tag
  • 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
  • Item Matcher
  • Operations
    • Attribute Operations
    • Stats Modifiers
  • SkillTree
  • Advanced User Guides and Techniques