Rebar Item
RebarItems are wrappers around ItemStacks that allow you to easily add extra functionality.
Unlike RebarBlock and RebarEntity, RebarItem isn't persisted in memory, so you should avoid storing any fields in your RebarItem classes. Instead, use the stack's PersistentDataContainer to store data persistently.
An implementation of RebarItem must have a constructor that takes an ItemStack as its only parameter. This will be used to load an in-world ItemStack as this particular RebarItem class.
Inheritors
Properties
Functions
Returns the list of placeholders to be substituted into the item's lore.
Shorthand for getSettings().get(...)
Shorthand for getSettings().getOrThrow(...)
Returns settings associated with the item.
Places the block associated with this item, if it exists.
Checks if the block associated with this item can be placed in the given context.