Setting item properties
Setting specific properties to items, such as its display name, lore, etc.
Chain creation
If you want to create an item with properties all in one go, then just combine the methods of your choice below. Here is an example:
The build() method is what builds the item from a FluidItem to an ItemStack. You can still store the fluid item in a variable if you want to change values later on, but to get the item itself, you will need to call this method.
Properties
Display name
Lore
Custom Model Data
Item Flags
Durability
Custom Data
Enchantment
Last updated
Was this helpful?