withLighting

abstract fun withLighting(lighting: Boolean): BlockChangeFlags

Creates a new set of flags with the given lighting setting.

Return

the resulting flags

Parameters

lighting

the new setting