jvm Companion¶ object Companion Functions¶ of¶ fun of(base: Ingredient, nbt: CompoundTag): Ingredient Creates a vanilla Ingredient matching base stacks whose custom data is matched by nbt. fun of(base: Ingredient, builderAction: NbtCompoundBuilder.() -> Unit) of overload that builds the NBT with builderAction.