Duy Tran KhanhandDuy Tran Khanh 33cb7d0125 Custom Controls revisions implemenation (#292)
* Move control loaders to CustomControlsUtils.m

* WIP Drawer support (currently broken)

Also, updated MetalANGLE for helping debug stuff on crash.

* temp

* ControlDrawer: free orientation

* Avoid scrolling the hotbar in grab mode

* Popover: fix the frame inside the arrow

* Changes

- Attempt to allow Microsoft login when offline.
- Custom controls: drawer and sub-buttons are now visible.
- Pickers in Preferences: pre-select at the saved index.

* Bump version code to 4, hide sub-button by default

* Fix text trucanting

* impl scroll buttons, rewrite some parts to objc

* Virtual mouse implementation

Also, possible fix for popover crashes on iPad

Exception type: NSInternalInconsistencyException
> Reason: Tried to set <UIBarButtonItem: 0x10fee5660> menuOnTouchDown
menu=0x2810dce10 image=<UIImage:0x280149050 symbol(system:
ellipsis.circle) {20, 19} baseline=3.5,contentInsets={1, 1.5, 1,
1.5},alignmentRectInsets={-0.5, 0, -0.5, 0}
config=<traits=(UserInterfaceIdiom = Pad, DisplayScale = 2,
DisplayGamut = sRGB, HorizontalSizeClass = Regular, VerticalSizeClass
= Regular, UserInterfaceStyle = Dark, UserInterfaceLayoutDirection =
LTR, PreferredContentSizeCategory = L, AccessibilityContrast =
Normal)>> as sourceView of
<_UIAlertControllerActionSheetRegularPresentationController:
0x12043f5a0>, even though it is not a kind of UIView.

* Swap item between hands by double-tap item moment

* Basic editor (only several stuff implemented)

There's no save/load yet, so it's just a preview for now.

* Control editor (preview only)
TODO: Color picker for iOS < 14

* Save, load and set default are here

* Changes

- Ported Snap and Align from Android
- Added options: create and delete button

TODO:
- color picker for iOS < 14
- drawer editor
- maybe more

* Editor: Added orientation changer for drawer

Added some more check to determine whether dynamic position should be
visible (when the button is not a sub-button, or the parent drawer
doesn't use the FREE orientation)

* Editor: implemented adding drawer and sub-button

* Added a warning about unfinished custom controls

Co-authored-by: Duy Tran Khanh <[email protected]>
2021-11-26 10:35:21 +07:00
2021-09-21 11:47:59 -04:00
2021-10-15 05:16:17 +07:00
2020-12-31 20:47:34 -05:00
2021-05-08 12:34:48 +07:00
2021-10-05 05:40:27 +07:00

PojavLauncher

iOS build Discord Reddit

Note

  • The official Twitter for PojavLauncher is @PLaunchTeam. Any others (most notably @PojavLauncher) are fake, please report them to Twitter's moderation team.

Introduction

PojavLauncher is a Minecraft: Java Edition launcher for Android and iOS based on Boardwalk. This launcher can launch most of available Minecraft versions (from 1.6.1 to 21w08b (1.17) snapshot, including Combat Test versions). 1.17 support is available with our current workaround described here. Modding via Forge (1.16.x only) and Fabric are also supported. Older versions of Forge and Fabric can be used with OpenJDK 8. This repository contains source code for iOS/iPadOS platform. For Android platform, check out PojavLauncher repository.

This launcher is available on the Procursus repo, thanks to @Diatrus, and Doregon's Repository, thanks to @Doregon

Getting started with PojavLauncher

The PojavLauncher Website has extensive documentation on how to install, set up, and play! For those who wish to install quickly, here's the basics (on iOS 12 or later):

Procursus-bootstraps

If you have Chimera, Taurine, Odyssey, or another jailbreak that comes with libhooker, this one's for you.

  1. Search for pojavlauncher with your favorite package manager.
  2. Install PojavLauncher iOS.

Bingner/Elucubratus bootstraps

If you have unc0ver, checkra1n, or another jailbreak that comes with Cydia Substrate or Substitute, this one's for you. You can also use this if you have a libhooker jailbreak.

  1. Add https://apt.doregon.gq to your sources list.
  2. Search for pojavlauncher with your favorite package manager.
  3. Install the package you wish to have, according to your preference:
    • pojavlauncher is the stable build. This one gets updated with new releases or tags on this repository, or when Procursus updated their copy.
    • pojavlauncher-dev is the latest commit on the main branch of this repository. It may have application breaking bugs, but also has more features.

Known issues

  • Minecraft 1.12.2 and below are very buggy: you can't type text, random crashes, etc...
  • When using certain versions, the camera may jump to a random position when you start to touch the screen.
  • Some Forge versions may fail with java.lang.reflect.InvocationTargetException.
  • The game will be prone to JetsamEvents.

Work in progress

  • Custom controls

Contributors

PojavLauncher is amazing, and surprisingly stable, and it wouldn't be this way without the following people that helped and contribute to the project!

@khanhduytran0 - Lead iOS port developer
@artdeell - Lead developer
@LegacyGamerHD - Lead developer
@zhouwei - Original Boardwalk code
@Doregon - PojavLauncher hosting on Doregon's Repository, iOS port developer
@Mathius-Boulay - Developer
@Diatrus - PojavLauncher hosting on Procursus
@Syjalo
@pedrosouzabrasil
@notfoundname
@buzybox11
@RealEthanPlayzDev
@HongyiMC
@thecoder08
@genericrandom64

Third party components and their licenses

S
Description
A Minecraft: Java Edition Launcher for Android and iOS based on Boardwalk. Succeeded by https://github.com/AngelAuraMC/Amethyst-iOS
Readme GPL-3.0
247 MiB
0 Stars 1 Watchers 0 Forks
Languages
Objective-C 67.5%
Java 20.9%
C++ 5.6%
C 3.4%
Makefile 1.9%
Other 0.7%