Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In house UI migration #2512

Draft
wants to merge 63 commits into
base: 1.20.1
Choose a base branch
from
Draft

In house UI migration #2512

wants to merge 63 commits into from

Conversation

Spicierspace153
Copy link
Contributor

@Spicierspace153 Spicierspace153 commented Dec 7, 2024

The current tasks needed for full GUI capability from owo lib are

  • Fluid containers
  • Multiblock GUI
  • XEI
  • Multiblock preview widget
  • XML/RTUI
  • Recreate any other missing widgets we don't have
  • make custom XSD format for autocomplete based on the owo-ui one
  • add player and carried stack awareness to components
  • component network syncing from client/server
  • port 1.12 MUI2 cover UIs (they're so good)
  • allow cycling cycle buttons (like filter mode) backwards with right-click

@Spicierspace153 Spicierspace153 requested a review from a team as a code owner December 7, 2024 18:43
@Spicierspace153 Spicierspace153 marked this pull request as draft December 7, 2024 18:44
@YoungOnionMC YoungOnionMC added the Do Not Merge DO NOT MERGE THIS PR YET! label Dec 9, 2024
@screret screret added the type: refactor Suggestion to refactor a section of code label Dec 12, 2024
screret and others added 29 commits December 13, 2024 09:37
# Conflicts:
#	src/main/java/com/gregtechceu/gtceu/api/recipe/ui/GTRecipeTypeUI.java
…syncing and clearing the listeners so that's nice but AAAAAAAAAAAAAAAAAAAAAAAAAAA
# Conflicts:
#	src/main/java/com/gregtechceu/gtceu/common/data/GTRecipeTypes.java
#	src/main/java/com/gregtechceu/gtceu/common/machine/kinetic/ElectricGearBoxMachine.java
#	src/main/resources/gtceu.mixins.json
TODO:
- fix UI layout errors :)
- fix EMI clearing all slots after viewing a tab once
- fix recipe viewers' recipe components being 0 tall
- add server side for almost everything
- fix client/server sync logic for most components
- port 1.12 cover UIs
- port 1.12 multiblock UIs
- etc.
# Conflicts:
#	src/main/java/com/gregtechceu/gtceu/api/capability/recipe/FluidRecipeCapability.java
#	src/main/java/com/gregtechceu/gtceu/api/capability/recipe/ItemRecipeCapability.java
#	src/main/java/com/gregtechceu/gtceu/api/gui/widget/SlotWidget.java
#	src/main/java/com/gregtechceu/gtceu/api/gui/widget/TankWidget.java
#	src/main/java/com/gregtechceu/gtceu/api/ui/component/PatternPreviewComponent.java
#	src/main/java/com/gregtechceu/gtceu/client/TooltipsHandler.java
#	src/main/java/com/gregtechceu/gtceu/common/data/GCYMRecipeTypes.java
#	src/main/java/com/gregtechceu/gtceu/common/data/GTRecipeTypes.java
#	src/main/java/com/gregtechceu/gtceu/core/mixins/emi/FluidEmiStackMixin.java
#	src/main/java/com/gregtechceu/gtceu/core/mixins/rei/FluidEntryRendererMixin.java
#	src/main/java/com/gregtechceu/gtceu/integration/ae2/gui/widget/list/AEFluidDisplayWidget.java
#	src/main/java/com/gregtechceu/gtceu/integration/emi/GTEMIPlugin.java
#	src/main/java/com/gregtechceu/gtceu/integration/jei/GTJEIPlugin.java
#	src/main/java/com/gregtechceu/gtceu/integration/rei/GTREIPlugin.java
#	src/main/java/com/gregtechceu/gtceu/integration/xei/entry/fluid/FluidEntryList.java
#	src/main/java/com/gregtechceu/gtceu/integration/xei/entry/item/ItemEntryList.java
#	src/main/java/com/gregtechceu/gtceu/integration/xei/entry/item/ItemTagList.java
#	src/main/java/com/gregtechceu/gtceu/integration/xei/handlers/fluid/CycleFluidStackHandler.java
#	src/main/java/com/gregtechceu/gtceu/integration/xei/handlers/item/CycleItemStackHandler.java
#	src/main/java/com/gregtechceu/gtceu/integration/xei/widgets/GTOreByProductComponent.java
# Conflicts:
#	src/main/java/com/gregtechceu/gtceu/api/blockentity/PipeBlockEntity.java
#	src/main/java/com/gregtechceu/gtceu/api/fluids/FluidBuilder.java
#	src/main/java/com/gregtechceu/gtceu/api/machine/SimpleGeneratorMachine.java
#	src/main/java/com/gregtechceu/gtceu/api/machine/feature/multiblock/IRotorHolderMachine.java
#	src/main/java/com/gregtechceu/gtceu/api/machine/steam/SimpleSteamMachine.java
#	src/main/java/com/gregtechceu/gtceu/api/machine/steam/SteamBoilerMachine.java
#	src/main/java/com/gregtechceu/gtceu/common/data/GTItems.java
#	src/main/java/com/gregtechceu/gtceu/common/machine/electric/MinerMachine.java
#	src/main/java/com/gregtechceu/gtceu/common/machine/electric/WorldAcceleratorMachine.java
#	src/main/java/com/gregtechceu/gtceu/common/machine/multiblock/generator/LargeCombustionEngineMachine.java
#	src/main/java/com/gregtechceu/gtceu/common/machine/multiblock/steam/LargeBoilerMachine.java
#	src/main/java/com/gregtechceu/gtceu/common/machine/multiblock/steam/SteamParallelMultiblockMachine.java
#	src/main/java/com/gregtechceu/gtceu/data/recipe/misc/MachineRecipeLoader.java
#	src/main/java/com/gregtechceu/gtceu/data/recipe/misc/MetaTileEntityLoader.java
#	src/main/java/com/gregtechceu/gtceu/integration/jei/multiblock/MultiblockInfoCategory.java
#	src/main/java/com/gregtechceu/gtceu/integration/kjs/GregTechKubeJSPlugin.java
#	src/main/java/com/gregtechceu/gtceu/integration/kjs/builders/GTRecipeCategoryBuilder.java
#	src/main/java/com/gregtechceu/gtceu/integration/kjs/builders/machine/CustomMultiblockBuilder.java
#	src/main/java/com/gregtechceu/gtceu/integration/kjs/builders/machine/MachineFunctionPresets.java
#	src/main/java/com/gregtechceu/gtceu/integration/rei/multiblock/MultiblockInfoDisplayCategory.java
#	src/main/java/com/gregtechceu/gtceu/integration/xei/widgets/GTRecipeComponent.java
…ding messages another way as this just didn't work.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Do Not Merge DO NOT MERGE THIS PR YET! type: refactor Suggestion to refactor a section of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants