From 6ca77ae58834f68204193629edec282dcad8b5f8 Mon Sep 17 00:00:00 2001 From: Jakob K <52456572+bluefireoly@users.noreply.github.com> Date: Sat, 1 May 2021 21:37:52 +0200 Subject: [PATCH] Update itemBuilder.md --- guide/docs/extensions/itemBuilder.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/guide/docs/extensions/itemBuilder.md b/guide/docs/extensions/itemBuilder.md index 4a119d77..126cee3f 100644 --- a/guide/docs/extensions/itemBuilder.md +++ b/guide/docs/extensions/itemBuilder.md @@ -1,11 +1,11 @@ ## Create an itemStack -Spigots ItemBuilder is often painful to use and confusing, especially for beginners. +The default way of building complex `ItemStack`s using just Spigot is often painful to use and confusing for beginners. -With KSpigot itemBuilders you have an easy to use ItemBuilder and you don“t have to worry about things like itemMeta again. +With KSpigot's item builder you have an easy to use builder DSL. Additionally, it provides an easy way to update the `ItemMeta` of an `ItemStack`, which is often needed. +### Example use of the item builder -### Create a simple item ```kotlin val sword = itemStack(Material.GOLDEN_SWORD) { amount = 3 @@ -22,6 +22,6 @@ val sword = itemStack(Material.GOLDEN_SWORD) { } } ``` -### This results in following item +### This creates the following item ![](img/sword.png)