From 973c13e84f8e091a6a920779103d96559dcd32a8 Mon Sep 17 00:00:00 2001 From: nea Date: Sat, 27 Aug 2022 01:38:49 +0200 Subject: Switch to yarn mappings --- .../kotlin/moe/nea/notenoughupdates/events/NEUScreenEvents.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/main/kotlin/moe/nea/notenoughupdates/events/NEUScreenEvents.kt') diff --git a/src/main/kotlin/moe/nea/notenoughupdates/events/NEUScreenEvents.kt b/src/main/kotlin/moe/nea/notenoughupdates/events/NEUScreenEvents.kt index f118be5..64edda0 100644 --- a/src/main/kotlin/moe/nea/notenoughupdates/events/NEUScreenEvents.kt +++ b/src/main/kotlin/moe/nea/notenoughupdates/events/NEUScreenEvents.kt @@ -2,13 +2,13 @@ package moe.nea.notenoughupdates.events import moe.nea.notenoughupdates.events.NEUScreenEvents.OnScreenOpen import net.fabricmc.fabric.api.event.EventFactory -import net.minecraft.client.gui.screens.Screen -import net.minecraft.client.Minecraft +import net.minecraft.client.gui.screen.Screen +import net.minecraft.client.MinecraftClient object NEUScreenEvents { fun interface OnScreenOpen { /** - * Called when a new Screen is opened via [Minecraft.setScreen]. If [new] is null, this corresponds to closing a [Screen]. + * Called when a new Screen is opened via [MinecraftClient.setScreen]. If [new] is null, this corresponds to closing a [Screen]. * @return true to prevent this event from happening. */ fun onScreenOpen(old: Screen?, new: Screen?): Boolean @@ -20,4 +20,4 @@ object NEUScreenEvents { } } -} \ No newline at end of file +} -- cgit