From 942dd629efbf12183b1c5f5a966c36d4b0647a6b Mon Sep 17 00:00:00 2001 From: nea Date: Sun, 7 May 2023 12:22:36 +0200 Subject: Add fishing particle highlighter Currently does not work when sneaking or when the bobber moves too much, since the position desyncs with the server --- src/main/kotlin/moe/nea/notenoughupdates/util/MC.kt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/kotlin/moe/nea/notenoughupdates/util/MC.kt') diff --git a/src/main/kotlin/moe/nea/notenoughupdates/util/MC.kt b/src/main/kotlin/moe/nea/notenoughupdates/util/MC.kt index 36aa726..956a330 100644 --- a/src/main/kotlin/moe/nea/notenoughupdates/util/MC.kt +++ b/src/main/kotlin/moe/nea/notenoughupdates/util/MC.kt @@ -6,6 +6,7 @@ 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 -- cgit