====== .give ====== ^ .give ^^ ^Type|[[:Command]]| ^Category|[[:No Category|none]]| ^In-game description|"Gives you an item with custom NBT data.\\ Requires creative mode.\\ \\ Syntax: .give [] []\\ .give [] []"| ^[[:keybinds#default_keybinds|Default keybind]]|none| ^Source code|[[w7src>net/wurstclient/commands/GiveCmd.java]]| .give is a [[:command|chat command]] that allows the user to obtain any item in [[mc>Creative Mode]], even if the `/give` command is blocked. NBT data is also supported. ===== Syntax ===== Main article: [[Command Syntax]] * ''.give [] []'' Creates the given item and places it in the user's inventory.\\ \\ * ''.give [] []'' Same as above, but using a [[mc>Java_Edition_1.13/Flattening|legacy numeric item ID]].\\ \\ Examples: * ''.give diamond'' Gives the user one [[mc>diamond]].\\ \\ * ''.give diamond 64'' Gives the user 64 diamonds.\\ \\ ===== Changes ===== ^Version^Changes^ |[[update:Wurst 2.3]]|Added ''.give''.| |[[update:Wurst 5.2]]|Fixed ''.give'' not giving items.| |[[update:Wurst 6.23]]|Removed ''.give'''s templates.| |[[update:Wurst 7.0pre1]]|Temporarily removed ''.give''.| |[[update:Wurst 7.0pre18]]|Re-added ''.give''.| |[[update:Wurst 7.0pre26]]|Fixed a crash when typing ''.give @p ...''.| |[[update:Wurst 7.0pre27]]|''.give'' can now create a stack of up to 64 items, even for limited or non-stackable items.| {{tag>item_duplication NBT_data creative_mode_only}}