item
Represents an item from the game.
IRON_SHOVEL;
Parameters
- item: the item
Example
Give a diamond to the current player.
mobs.give(
mobs.target(LOCAL_PLAYER),
DIAMOND,
1
);
Represents an item from the game.
IRON_SHOVEL;
Give a diamond to the current player.
mobs.give(
mobs.target(LOCAL_PLAYER),
DIAMOND,
1
);