aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/notenoughupdates/util/MC.kt
blob: 36aa7263fc3b0829480dda51e2cdaaca18306c29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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)