Mechanics
Other WikisDonate
  • Home
  • Examples
  • Placeholders
  • ⚙️Mechanics
    • Action Bar
    • Boss Bar
    • Command
    • Custom Sound
    • Damage
    • Drop Item
    • Fake Item
    • Firework
    • Flinch
    • Ignite
    • Leap
    • Lightning
    • Message
    • Particle
    • Potion
    • Push
    • Sculk Bloom
    • Sculk Shriek
    • Sound
    • Title
    • Warden Disturbance
  • 🎯Targeters
    • ServerPlayers
    • Shapes
      • Box
      • Scatter
    • Source
    • Target
    • World
  • ❔Conditions
    • Biome
    • Custom Biome
    • Entity Type
    • Gliding
    • Has Permission
    • InCone
    • Light Level
    • Material Category
    • On Ground
    • Range
    • Riding
    • Sneaking
    • Sprinting
  • 🔌Integrations
    • 🌊GeyserMC
    • 🌎MechanicsEverywhere
    • 👽MythicMobs
    • 🔫WeaponMechanics
Powered by GitBook
On this page
  1. Mechanics

Drop Item

Last updated 4 months ago

This mechanic is different than the Fake Item mechanic. Generally, you should instead use the fake item mechanic, which prevents players from picking up items.

The drop item mechanic drops a real item on the ground, that players can pick up.

Argument
Description
Default Value

type

The to use as the item.

*Required

customModelData

The custom model data used to change the item's model.

None

velocity

The velocity to spawn the dropped item with.

0 0 0

Mechanics:
  - "DropItem{type=IRON_NUGGET, velocity=r1}"

Spawns one iron nugget at the source location, with a subtle random velocity.

⚙️
References