Age | Commit message (Collapse) | Author |
|
This is primarily used by depleteInput() from controller. only drain from internal source (i.e. ForgeDirection.UNKNOWN) is allowed
|
|
|
|
|
|
* Fix stocking hatch might hold 0 amount of fluid after running recipe
* now actually fix
|
|
* Add stocking input hatch
* Refactor stocking input hatch UI code and fix some formatting
* Add new visual changes from stocking bus and some refactoring
* Remove drain/fill methods and fix tooltip
* Split information slots into separate array and update MUI
* Use inventory of size in constructor
* Add assembly line support
* Add amount to info slot tooltips and update tooltips every tick
|
|
* Shut down machine with message if stocking bus fail to extract items
* Better way to handle message persistent on shutdown
* Minor cleanup
* Allow more localizations
* Add network status display
* Fix auto-pull mode accepting shift insert
* Remove workaround for issue with multiple ME buses in a multiblock
* Some tweak for appearance
* Correct inconsistent variable naming in GT_UITextures
* Update .gitignore
* Fix typo
* Remove isScheduledForResetCheckRecipeResult by using persistsOnShutdown
* Apply "cannot set slot" tooltip for empty slots too
|
|
|
|
output (#2319)
|
|
|
|
|
|
|
|
* update buildscript
* yeet wildcard imports
|
|
* ME hatch`s improvements (?)
* ForgeDirection.UNKNOWN not allowed
Better description
No check before getBoolean
* Add description in tooltip
Chat message using localization
Stocking bus data stick will copy/paste connection mode
* Chinese localization
* Another method localization
* code style
|
|
* Deprecate GT_MetaTileEntity_MultiBlockBase#isValidMetaTileEntity
* Explicit brackets
---------
Co-authored-by: Martin Robertz <dream-master@gmx.net>
|
|
also made the rotation and flip marker to not show up when the multi doesn't support rotating or flipping
|
|
* Remove unused machines
* Add some Javadoc
* Remove some unused constructors
* Use ResourceLocation and SpecialEffects for newMetaEntity
* Remove some non-ModularUI code
* Remove mGUIParameterA and mGUIParameterB
* Remove mGUIName and mNEIName
* Use nonnull string
* updateBuildScript
|
|
|
|
Panels (#2289)
* Adds several UI elements to multiblock drills
* Adds metrics transmitter cover and associated sensor card
* Fixes item icons and item name
* Adds tooltips for adv. sensor card and metrics panel, fixes card/overlay icons, adds recipe for metrics cover
* Refactor cover tab sync to send much smaller ISerializable payloads
* Remove unused variable
* Additional master merge cleanup
* Adds interface for custom metrics export, adds oil drill support
* Adds support for metrics covers retaining attached machine name for tooltip, metrics
* * Adds discrete coordinates to Metrics Cover data
* Adds machine to advanced sensor card tooltip
* Adds cycle time and minimum energy hatch tier to multiblock ore drill tooltips
* Moves many tooltip strings to i10n
* Remove old GT_DisabledWhileActiveButton.java file that crept in during a messy merge
* Spotless
* Improve oil and ore drill metrics, more i18n
* Addresses PR review concerns, adds more situations for self-destructing sensor cards
* Remediates further PR concerns
|
|
* Add crafting input bus items to getStoredInputs
* Add crafting input hatch fluids to getStoredFluids
* Respect internal input isolation
* List.of -> Arrays.asList
* Skip fluids on non-supporting bus
* Fix NPE
* Change return type to Optional & add Slave support
|
|
|
|
|
|
* Adds several UI elements to multiblock drills
* Spotless
* Adds formatNumbers calls in places where it'd been missed
* Eliminate wildcard import
* Add @NotNull annotations to new fields and methods
|
|
* Added BarnardaC bee effect, added harder alternative mutation for indium bee
* Improved tooltip and waila hud for iapiary
* Shorten effect name for beealyzer
* Moved Effects to own files, cached constants
* Refactor constant names
|
|
* Adds item and charging info to Locker WAILA panel
* Refactor Locker WAILA tip entries to happen more on client side
|
|
|
|
|
|
GT_MetaTileEntity_Hatch_CraftingInput_ME (#2272)
|
|
* Added bricked blast furnace recipe progress to waila.
* fixed formatting issues.
|
|
* fix PCB Factory not applying its roughness multiplier when it doesn't do any overclocks
* spotless
|
|
|
|
* Fixes + Detect Inventory Slot Changes
* support rename + check for updates
* add back onChangeListener + fix npe
* ICustomNameObject TileEntity
* Fix NPEs
* Use IInterfaceTerminalSupport
* fix
* register
* dep
* spotless
* General Crafting Input Hatch QoL fixes (#2212)
* feat: refactor naming && include circuit and catalyst in default name
* feat: add 4 more slot to solve my ocd
* fix: formatting
* feat: migrate from 4x8 to 4x9
* spotlessApply (#2213)
Co-authored-by: GitHub GTNH Actions <>
* QoLs
* 9 manual items
* spotless
* feat: open master GUI when used, without holding a data-stick (#2221)
* fix destpos
* optimize empty check
* Fix error when fluidInventory.size() == 0
If the fluidInventory size is 0, there is no element to get. Add a check
for it.
* name in waila + fix int overflow
* unnecssary super
* update deps
---------
Co-authored-by: Fox_white <39846845+foxwhite25@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Firenoo <49818773+firenoo@users.noreply.github.com>
Co-authored-by: Martin Robertz <dream-master@gmx.net>
|
|
* Correct PCB Factory Energy Hatch description
Changes the PCB factory description (the one seen when holding shift) which currently says "Energy Hatches: 1+"
I believe this is incorrect and that the correct description is 1-2 energy hatches or 1 TT energy hatch.
I believe the PCB factory uses this, which checks for 1-2 or 1 TT:
public boolean checkExoticAndNormalEnergyHatches() {
if (mExoticEnergyHatches.isEmpty() && mEnergyHatches.isEmpty()) {
return false;
}
if (!mExoticEnergyHatches.isEmpty()) {
if (!mEnergyHatches.isEmpty()) {
return false;
}
if (mExoticEnergyHatches.size() != 1) {
return false;
}
}
return mEnergyHatches.size() <= 2;
}
* gradlew spotlessApply
|
|
* Optimize isEmpty check
* rearrage
|
|
|
|
Co-authored-by: Firenoo <49818773+firenoo@users.noreply.github.com>
|
|
|
|
When simulating an injection, if the stackSize > chest's capacity, it
causes a NPE when the internal chest is empty.
Also fixes a potential bug when void overflow is set; the chest should
return null in such a scenario regardless of simulation/modulation.
|
|
* Fix server crash with RecipeFilter
* Make client send filtered machines to server
* Use mUniqueIdentifier
|
|
energy hatches (#2227)
* max-1-energy-hatch-in-drilling-rigs.-plants-and-concrete-backfiller
* spotlessApply (#2228)
Co-authored-by: GitHub GTNH Actions <>
* revert
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
|
|
|
* Fix Digital Tank capacity for Fluid Storage Monitor
* Annotations
|
|
* fix PAs overclocking ulv recipes too much
* make sure we save the returned value
|
|
* Check invalid patterns
* fix logger
|
|
|
|
* Fix NPEs
* spotlessApply (#2203)
Co-authored-by: GitHub GTNH Actions <>
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
|
* add machine type for brewery
* spotlessApply (#2197)
Co-authored-by: GitHub GTNH Actions <>
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
|
* enable subclass to allow less voiding mode being set
* fix bug
* rename
|
|
* Made Emit Energy button a CycleButtonWidget
* Made Emit Redstone button a CycleButtonWidget
* Made Invert Redstone button a CycleButtonWidget
* Made Stocking Mode button a CycleButtonWidget
* Spotless apply
* Made Invert Filter button a CycleButtonWidget
* public bInvertFilter -> protected invertFilter
* Deduplicated filter code
* Made Allow NBT button a CycleButtonWidget
* Made Ignore NBT button a CycleButtonWidget
* public bNBTAllowed -> private allowNbt
* public bNBTAllowed -> private ignoreNbt
* Grey extended tooltips
* Don't hardcode multiline tooltips
* Document hidden functionality
* Cleaned numeric constants
* Fixed string constant declaration
* Named constants in filter
* Unify filter redstone behavior
* Fix cover filter mode being inverted
so that the displayed mode is the active one
* Less magic numbers
* Allow right clicking recipe filter
* Display only machine type in recipe filter and cycle through compatible machines
* Buffer tooltips show output voltage to clarify their role as passthroughs
* Added more info to Emit EU/Redstone buttons
* Added Sorting mode button to buffers/filters
* Added Sorting mode button and stack limit button to input buses
* Don't cycle prefixes when clicking with itemstack
* Fixed tooltips to work off of the inventory
* Fix RecipeFilter losing filter
* Support multiblock machines
* Use ModularUi syncers to sync state with client
Thanks minecraft7771!
* Grey text for recipe filter helper text
* AnimatedTooltipHandler -> EnumChatFormatting
* Explicited RecipeFilter filter building
* Specify color for empty slot tooltip
* Don't cache new uses of GT5U.MBTT.MachineType.
Also corrected MachineType::description
* Removed unused getItemExtraTooltip
* Multiple returns in getItemStackMachineRecipeMap
|
|
* Ignore the .vs file created by VS
* Fix item/fluid integer overflow problem
|
|
* refactor OC calc
* somewhat refactor parallel helper
* fix PA not OCing correctly
no clue why it wasn't using super and then setting the duration again.
* make use of new api to make fusion cleaner
* make batch mode actually dynamic
* add another reason for 0 parallel
* move variables around to try and group them together
* address reviews
* add overclocking past 1 tick by adding parallels
* add null check and make a basic calculator to prevent npe
* check null recipeMap supplier
* address reviews
* addressing of reviews
* make it possible to call some OverclockCalculator methods through static methods
* address reviews
* make sure one doesn't get too many OCs when calculatin under 1 tick
* add api for custom duration under one tick and fix batch mode doing 0 ticking
* fix not calculating duration under 1 tick correctly
* spotless
* try to have correct eut consumption
* address review
* make sure mk5 fusion is said in nei
* fix eutCalculating under one tick way too much and address reviews
* remove roundUp voltage
|