* Fix gt++ fluid cells not extracting properly
If GT++ fluid tank item sees a stacksize > 1, it refuses to fill/drain the
tank item, so we need to set the tank size to 1 before performing tests.
* Fix GT cells not working with fluid terminal
GT cells use IFluidContainerItem, despite the fact that they act like
FluidContainerRegistry items. Unfortunately this threw off the test code;
need to extract the entire container at a time for the test.
* fix: uses IInterfaceTerminalSupport for interface terminal
fix custom target not registered in ae2fc wireless interface terminal
* fix: empty string caused channel crash && check if custom name exist before getting
* fix: Fluid interface not registered
* Revert "fix: Fluid interface not registered"
This reverts commit bc21ee2673.
* fix: remove ASM in favor of the new API
* fix: remove zero size character bypass as checking hasCustomName is enough
* Fix the adv blocking mode setting shown w/o upgrade
* Use else ifs instead of ifs when looking for button
* Register dual p2p interface to interface term
* Fix moving inventory region when space is held
* Fix scrollbars not initialized when terminal is empty
* Fix fluid handling for the 3rd time
Rearranges the steps to insertion and validates whether the tank can be
drained.
* Fix fluid extraction for the 3rd time
* Add the dual P2P interface
- Can be disabled in the config
- Updated dependencies
- We now require a hard inheritance dependency on beta-238+.
- CANNOT BE ATTUNED.
* Dependency cleanup (don't use pre)
* Fix dual interface background
* Fix null icon for p2p dual interface
BetterP2P needs this to properly display the icon.
* spotlessApply
---------
Co-authored-by: GitHub GTNH Actions <unknown>
* Untangle Baubles hard dependency and skip on unmapped items/blocks
Have forge issue the standard "Missing items" screen when updating, so
players are warned before joining the world. Previously we consumed all
missing mapping by mistake.
Remove the hard dependency on baubles by adding Optional.Interface
* spotlessApply (#138)
Co-authored-by: GitHub GTNH Actions <>
* Update dependencies and fix wrong gui channel
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Actionable.SIMULATE gives faulty results. Using Actionable.MODULATE will
force the AE system to extract the correct amount, which fixes a dupe bug
with the previous implementation.
* gradle updateBuildScript
* fix comments and commented-out code
Code deletion, converting comments into javadocs, and refactoring code to not
need comments.
* remove redundant suppressions
* replace C-style array declaration with Java-style
* make private field final
* remove unnecessary semicolon
* extract a common part from an if
* simplify boolean expression
* simplify ternary if
* remove unused imports
* convert escaped characters for clarity
* replace while with for
* replace explicit types with diamond operators
* replace anonymous type with lambda
* enable modern Java syntax
* migrate to enhanced switch
* migrate to pattern variables for instanceof
* remove empty javadoc
* add Nonnull annotation to overrides of Nonnull methods
* replace wailaStack with null
When wailaStack is not null, the flow breaks out of the loop,
so there's no need to confuse the reader with putting wailaStack
both as the result and the parameter of the call - there's no
recursion.
* int cannot be bigger than its max value
* suppress dataflow warning
* remove redundant initializer
The default value of int is 0.
* null check is covered by instanceof
* simplify some calls of addVertexWithUV
* fix typos and add TODOs
* make flipState more understandable
* Add an API to allow other mods to blacklist fluids from this mod.
* Removed Thaumic Energistics config setting. This will be handled by
Thaumic Energistic's side (which also happens to have a config setting).
* Added an API that allows for blacklisting fluids from either the storage
or the display individually.
* Prevent blacklisted fluids from being discretized
* Update API usage
- use AE2's new API
- use ThE's config setting for aspect -> gas
* spotlessApply
---------
Co-authored-by: GitHub GTNH Actions <unknown>
* Replace ore dictionary bus
Extra Cells ore dict bus -> export bus w/ ore dict card
(retains ore filter setting, not verified they are 1:1)
* Add OpenComputer migration
Moves migration to postInit, and migrates OC upgrades.
* Remap wireless w/ correct encryption key + power
Basically now works without needing to relink in security term
* Update buildscript
* spotless apply
* spotlessApply (#125)
Co-authored-by: GitHub GTNH Actions <>
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Update ae2 to latest (beta-203)
* Add support for the Advanced Blocking Card to Dual Interfaces
Behavior: The Dual Interface acts in the same way as the regular ME
interface when the advanced blocking card is used, but has an additional
check for fluids on top of items contained in the ME system.
* Network throttle: Force ME update packets to be sent once every 50ms.
1. Item and fluid packets are separated to their own classes, as they are
not even allowed to be mixed together in the first place. This will enforce a strict
separation of the two.
2. New network worker thread for handling ME inventory updates. Instead of
creating packets directly, classes should schedule packet(s) to be sent at the
next 50ms boundary. The packet has a limit of 256 items to prevent killing the
client, but this can be changed in the config. In fact, the packet send rate is
also configurable.
3. Upon opening a terminal GUI, ME update packets are split. Only the last received
packet will trigger a terminal sorting, so if the ME system is large, it may take
several seconds (!) to load all the items.
* Update SPacketMEFluidInvUpdate.java
---------
Co-authored-by: Martin Robertz <dream-master@gmx.net>