diff options
Diffstat (limited to 'src/main/kotlin/moe/nea/notenoughupdates/util/MC.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/notenoughupdates/util/MC.kt | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/main/kotlin/moe/nea/notenoughupdates/util/MC.kt b/src/main/kotlin/moe/nea/notenoughupdates/util/MC.kt deleted file mode 100644 index 956a330..0000000 --- a/src/main/kotlin/moe/nea/notenoughupdates/util/MC.kt +++ /dev/null @@ -1,13 +0,0 @@ -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) |