diff options
author | miozune <miozune@gmail.com> | 2024-08-14 10:34:09 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-14 08:34:09 +0700 |
commit | 1bb8b83e53c1d4242d2791bf75597deb02404e8c (patch) | |
tree | 61dd09221dbaf0b13fde048f3428f930a61e4058 | |
parent | 77f9f7c1f90231d92afbb2ed08f3b203455e3ea2 (diff) | |
download | GT5-Unofficial-1bb8b83e53c1d4242d2791bf75597deb02404e8c.tar.gz GT5-Unofficial-1bb8b83e53c1d4242d2791bf75597deb02404e8c.tar.bz2 GT5-Unofficial-1bb8b83e53c1d4242d2791bf75597deb02404e8c.zip |
Update ModularUI2 (#2884)
-rw-r--r-- | dependencies.gradle | 2 | ||||
-rw-r--r-- | src/main/java/gtPlusPlus/core/tileentities/general/TileEntityDecayablesChest.java | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/dependencies.gradle b/dependencies.gradle index ceb2252897..4fed0c334c 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -40,7 +40,7 @@ dependencies { api("com.github.GTNewHorizons:NotEnoughIds:2.1.0:dev") api("com.github.GTNewHorizons:GTNHLib:0.4.2:dev") api("com.github.GTNewHorizons:ModularUI:1.2.0:dev") - api("com.github.GTNewHorizons:ModularUI2:2.0.14-1.7.10:dev") + api("com.github.GTNewHorizons:ModularUI2:2.1.0-1.7.10:dev") api("com.github.GTNewHorizons:waila:1.8.1:dev") api("com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-426-GTNH:dev") api("com.github.GTNewHorizons:AE2FluidCraft-Rework:1.3.21-gtnh:dev") diff --git a/src/main/java/gtPlusPlus/core/tileentities/general/TileEntityDecayablesChest.java b/src/main/java/gtPlusPlus/core/tileentities/general/TileEntityDecayablesChest.java index c0e50bcc4f..4c75d7ffe7 100644 --- a/src/main/java/gtPlusPlus/core/tileentities/general/TileEntityDecayablesChest.java +++ b/src/main/java/gtPlusPlus/core/tileentities/general/TileEntityDecayablesChest.java @@ -14,10 +14,10 @@ import net.minecraft.world.World; import com.cleanroommc.modularui.api.IGuiHolder; import com.cleanroommc.modularui.api.drawable.IKey; import com.cleanroommc.modularui.factory.GuiData; -import com.cleanroommc.modularui.future.InvWrapper; import com.cleanroommc.modularui.screen.ModularPanel; import com.cleanroommc.modularui.utils.Alignment; -import com.cleanroommc.modularui.value.sync.GuiSyncManager; +import com.cleanroommc.modularui.utils.item.InvWrapper; +import com.cleanroommc.modularui.value.sync.PanelSyncManager; import com.cleanroommc.modularui.value.sync.SyncHandlers; import com.cleanroommc.modularui.widgets.ItemSlot; import com.cleanroommc.modularui.widgets.SlotGroupWidget; @@ -395,7 +395,7 @@ public class TileEntityDecayablesChest extends TileEntity implements ISidedInven } @Override - public ModularPanel buildUI(GuiData data, GuiSyncManager syncManager) { + public ModularPanel buildUI(GuiData data, PanelSyncManager syncManager) { final SlotGroup SLOT_GROUP = new SlotGroup("decayables", 5); syncManager.registerSlotGroup(SLOT_GROUP); syncManager.addOpenListener(player -> { |