feat(jui): add anvil screen

This commit is contained in:
Sally Knight
2026-03-26 16:51:20 +03:00
committed by Tropical
parent 9a2062c70a
commit fbbf086f71
7 changed files with 239 additions and 4 deletions

View File

@@ -1,6 +1,7 @@
#include "../Platform/stdafx.h"
#include "LocalPlayer.h"
#include "UI/Screens/HorseInventoryScreen.h"
#include "UI/Screens/RepairScreen.h"
#include "User.h"
#include "../Input/Input.h"
#include "../GameState/StatsCounter.h"
@@ -644,8 +645,7 @@ bool LocalPlayer::startEnchanting(int x, int y, int z,
bool LocalPlayer::startRepairing(int x, int y, int z) {
#ifdef ENABLE_JAVA_GUIS
// minecraft.setScreen(new RepairScreen(inventory, level, x, y, z));
// FUCK YOU 4J FIRST AND FOREMOST
minecraft->setScreen(new RepairScreen(inventory, level, x, y, z));
bool success = true;
#else
bool success =