blob: 956a330284b6a36bb3f10f19ced6d708f9aa69fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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
inline val world get() = MinecraftClient.getInstance().world
}
val Coordinate.blockPos: BlockPos
get() = BlockPos(x, y, z)
|