compoundKey

inline fun <T : Any> compoundKey(id: ResourceLocation): CompoundKey<T>(source)

Creates a CompoundKey which can be used to read and write data to a PersistentCompound in a typesafe way.

Parameters

id

the unique identifier for this key, this should contain your mod id