mirror of
https://github.com/architectury/architectury-api.git
synced 2026-03-28 03:56:59 -05:00
@@ -81,7 +81,7 @@ public class MixinKeyboardHandler {
|
||||
target = "Lnet/minecraft/client/gui/screens/Screen;wrapScreenError(Ljava/lang/Runnable;Ljava/lang/String;Ljava/lang/String;)V",
|
||||
ordinal = 0, shift = At.Shift.AFTER), locals = LocalCapture.CAPTURE_FAILHARD,
|
||||
cancellable = true)
|
||||
public void onKeyAfter(long long_1, int int_1, int int_2, int int_3, int int_4, CallbackInfo info, Screen screen, boolean bls[]) {
|
||||
public void onKeyAfter(long long_1, int int_1, int int_2, int int_3, int int_4, CallbackInfo info, boolean f3Pressed, Screen screen, boolean bls[]) {
|
||||
if (!info.isCancelled() && !bls[0]) {
|
||||
EventResult result;
|
||||
if (int_3 != 1 && int_3 != 2) {
|
||||
|
||||
@@ -3,8 +3,8 @@ org.gradle.daemon=false
|
||||
|
||||
platforms=fabric
|
||||
|
||||
minecraft_version=23w32a
|
||||
supported_version=23w32a
|
||||
minecraft_version=23w33a
|
||||
supported_version=23w33a
|
||||
|
||||
artifact_type=beta
|
||||
|
||||
@@ -14,7 +14,7 @@ base_version=10.0
|
||||
maven_group=dev.architectury
|
||||
|
||||
fabric_loader_version=0.14.22
|
||||
fabric_api_version=0.86.3+1.20.2
|
||||
fabric_api_version=0.87.1+1.20.2
|
||||
mod_menu_version=7.0.0
|
||||
|
||||
forge_version=46.0.1
|
||||
|
||||
@@ -41,7 +41,7 @@ public class ClientOverlayMessageSink extends ConsoleMessageSink {
|
||||
public ClientOverlayMessageSink() {
|
||||
ClientGuiEvent.RENDER_POST.register((screen, graphics, mouseX, mouseY, delta) -> render(graphics, delta));
|
||||
ClientGuiEvent.RENDER_HUD.register((graphics, tickDelta) -> {
|
||||
if (Minecraft.getInstance().screen == null && !Minecraft.getInstance().options.renderDebug) {
|
||||
if (Minecraft.getInstance().screen == null && !Minecraft.getInstance().gui.getDebugOverlay().showDebugScreen()) {
|
||||
render(graphics, tickDelta);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user