Builder
Functions
Link copied to clipboard
@Contract(value = "_ -> this", mutates = "this" )
Adds the given modifier modifier to the list of attribute modifiers for the item.
Link copied to clipboard
Adds the given block to the list of blocks the item can destroy.
Link copied to clipboard
Adds the given block to the list of blocks the item can be placed on.
Link copied to clipboard
@Contract(value = "_ -> this", mutates = "this" )
@Contract(value = "_ -> this", mutates = "this" )
Sets the list of attribute modifiers applied to entities wearing items that the metadata is applied to to the given modifiers.
Link copied to clipboard
@Contract(value = "_ -> this", mutates = "this" )
Sets the list of blocks the item can destroy to the given blocks.
Link copied to clipboard
@Contract(value = "_ -> this", mutates = "this" )
Sets the list of blocks the item can be placed on to the given blocks.
Link copied to clipboard
Sets the custom model data for the item to the given data.
Link copied to clipboard
Makes the item unbreakable.
Sets whether the item is unbreakable to the given value.