guiIcon

fun <E> GuiProperty<E>.guiIcon(iconGenerator: (E) -> ItemStack): GuiIcon.VariableIcon<E>(source)

Creates a gui icon which automatically updates itself if the value of the property changes.


Creates a static gui icon.