This commit is contained in:
Cloudburst
2021-05-16 10:45:14 +02:00
parent 18a2b46166
commit 3b230b8344
3 changed files with 43 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ import cloudburst.rejects.modules.InteractionMenu;
import minegame159.meteorclient.systems.commands.commands.PeekCommand;
import minegame159.meteorclient.systems.modules.Modules;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.gui.screen.ChatScreen;
import net.minecraft.client.gui.screen.ingame.InventoryScreen;
import net.minecraft.client.options.KeyBinding;
@@ -83,6 +84,12 @@ public class InteractionScreen extends Screen {
client.openScreen(new PeekCommand.PeekShulkerBoxScreen(new ShulkerBoxScreenHandler(0, client.player.inventory, getSimpleInventory(e)), client.player.inventory, entity.getName()));
});
}
functions.put("Spectate", (Entity e) -> {
MinecraftClient.getInstance().setCameraEntity(e);
closeScreen();
});
if (entity.isGlowing()) {
functions.put("Remove highlight", (Entity e) -> {
entity.setGlowing(false);