withLodestone

@Contract(value = "_, _ -> new", pure = true)
abstract fun withLodestone(dimension: ResourceKey<World>, position: Vec3i): CompassMeta

Creates new item metadata tracking the lodestone in the given dimension at the given position.

This will set isTrackingLodestone to true.

Return

new item metadata

Parameters

dimension

the dimension the lodestone is in

position

the position the lodestone is at