IdResourceLookup

Properties

Link copied to clipboard
val key: String
Link copied to clipboard
val provider: Provider<Map<String, T>>
Link copied to clipboard
var value: Map<String, T>

Functions

Link copied to clipboard
operator fun contains(id: String): Boolean
operator fun contains(id: ResourceLocation): Boolean
operator fun contains(id: ResourcePath): Boolean
Link copied to clipboard
operator fun get(id: String): T?
operator fun get(id: ResourceLocation): T?
operator fun get(id: ResourcePath): T?
Link copied to clipboard
fun getOrThrow(id: String): T
fun getOrThrow(id: ResourceLocation): T
Link copied to clipboard
operator fun getValue(thisRef: Any, property: KProperty<*>): Map<String, T>
Link copied to clipboard
@JvmName(name = "set1")
fun set(value: Map<ResourcePath, T>)
Link copied to clipboard
fun <R> toMap(mapValues: (T) -> R): HashMap<String, R>