13 lines
318 B
Kotlin
13 lines
318 B
Kotlin
package moe.nea.notenoughupdates.util
|
|
|
|
import io.github.moulberry.repo.data.Coordinate
|
|
import net.minecraft.client.MinecraftClient
|
|
import net.minecraft.util.math.BlockPos
|
|
|
|
object MC {
|
|
inline val player get() = MinecraftClient.getInstance().player
|
|
}
|
|
|
|
val Coordinate.blockPos: BlockPos
|
|
get() = BlockPos(x, y, z)
|