without Effect
@Contract(value = "_ -> new", pure = true )
Creates new item metadata with the effect at the given index removed from the effects list.
Return
new item metadata
Parameters
index
the index of the effect to remove
Throws
if the index would result in an out of bounds exception, i.e. when it is too small or too big
@Contract(value = "_ -> new", pure = true )
Creates new item metadata with the given effect removed from the effects list.
Return
new item metadata
Parameters
effect
the effect to remove