yueh
a65be62cd1
Organize and clean imports
2020-07-28 10:29:57 +02:00
Sebastian Hartte
e640918ca0
Compiles, can get ingame, uses Mixins to work around missing Fork Hooks for structures and custom dimensions.
2020-07-28 02:05:24 +02:00
Sebastian Hartte
84e6aaa122
Compiles again.
2020-07-27 23:50:28 +02:00
yueh
56ecda5173
1.16 port
2020-07-27 11:21:50 +02:00
yueh
662dbca3e1
Fixes #4508 : Correctly construct the sparse lists. ( #4511 )
...
* Fixes #4508 : Correctly construct the sparse lists.
Also renamed all uncondensed getters to sparse and all condensed to the simple ones.
* Apply suggestions from code review
Co-authored-by: shartte <shartte@users.noreply.github.com >
* Streamlined collapsing the sparse lists
* Extracted helper to condense stacks
* Sort lists desc by stack size
Co-authored-by: shartte <shartte@users.noreply.github.com >
2020-07-27 11:21:06 +02:00
shartte
7e89317dd5
Fix substitutions not being correctly recognized. ( #4507 )
2020-07-26 22:25:18 +02:00
shartte
59e40ccbd9
Fixes mouse handling for right-clicks to clear the search box and middle-click for crafting. ( #4505 )
2020-07-26 16:30:53 +02:00
yueh
774f88ee90
Clear searchfield on rightclick ( #4503 )
2020-07-26 15:28:52 +02:00
yueh
0528879833
Moved datagens to appeng.datagen ( #4502 )
2020-07-26 15:28:18 +02:00
yueh
5b82e59264
Removed superfluous crash enhancement ( #4498 )
2020-07-26 12:42:48 +02:00
yueh
3a4b171443
Fixes #4468 : Default to ae serverside ( #4496 )
2020-07-25 16:05:58 +02:00
yueh
2ac27fd9ce
Fixes patterns always returning a recipe. ( #4495 )
2020-07-24 22:39:38 +02:00
shartte
d01aa28cdc
Use standard mechanics for damaging the quartz knife. ( #4494 )
2020-07-24 16:39:32 +02:00
shartte
21aa5ce33b
Don't use PacketBuffer#readString since it's client-only. ( #4489 )
...
Fixes #4488
2020-07-22 10:22:28 +02:00
shartte
f7ef6eb772
Same method name as in superclass leads to ForgeGradle reobf problems. ( #4491 )
...
Fixes #4490
2020-07-22 10:22:00 +02:00
Sebastian Hartte
590e435ad6
Formatting fixes
2020-07-19 23:51:57 +02:00
Sebastian Hartte
8d92a51e4f
Formatting fixes
2020-07-19 23:50:47 +02:00
Sebastian Hartte
4322910614
Added labels that specify the unit of power (AE) and the unit of fluid (mB) for the level emitters.
2020-07-19 23:50:18 +02:00
Sebastian Hartte
ebe589a714
Ported the other number entry dialogs over to the shared widget.
2020-07-19 23:25:11 +02:00
Sebastian Hartte
6187e6a7bb
Started refactoring number entry dialogs to use shared code.
2020-07-19 20:04:08 +02:00
shartte
d5f113eb35
Merge pull request #4484 from AppliedEnergistics/energy-grid-failfast
...
Guard Against Concurrent EnergyGrid Modifications
2020-07-19 17:56:22 +02:00
shartte
9ad5bb21c0
Merge pull request #4480 from AppliedEnergistics/mb-fixes
...
Fix more MultiBlock issues
2020-07-19 17:31:06 +02:00
Sebastian Hartte
1c88ea7b78
Fail faster when something modifies the list of energy providers/requesters while an extract/inject operation is ongoing, since this would lead to ConcurrentModificationExceptions later, without a way of tracking down what caused the modification in the first place.
2020-07-19 16:39:37 +02:00
Sebastian Hartte
b45669bb82
Removed several unchecked casts.
2020-07-19 16:01:19 +02:00
Sebastian Hartte
749ebeb91d
Moved part textures from parts to part to be consistent with singular naming used in Minecraft (and for the model directory).
2020-07-19 14:14:18 +02:00
Sebastian Hartte
71a91e51fb
Naming improvements
2020-07-19 13:16:50 +02:00
yueh
223163aa0a
Fixes #4330 : Avoid mutating the input stack ( #4481 )
2020-07-19 13:13:20 +02:00
Sebastian Hartte
bdd22093c3
Account for empty messages when drawing tooltips.
2020-07-19 12:05:26 +02:00
Sebastian Hartte
0367b35ce0
Never return null from Widget#getMessage since the
...
narrator will always dereference it, leading to a crash.
2020-07-19 12:04:15 +02:00
yueh
755ac12b8a
Fix SortedSet using compare for equals ( #4479 )
...
Fix SortedSet using compare for equals
2020-07-19 11:43:20 +02:00
Sebastian Hartte
e1f9e01404
Force cluster-rebuilds on the first detected change, if their bounds do not match.
...
Also use a client-side method to update connected textures
for crafting cubes if two previously distinct clusters are connected.
Refactored MBCalculator to use generics for type checks and remove more casts.
2020-07-19 00:16:33 +02:00
Sebastian Hartte
7121426fc9
Disable AO for the Spatial Pylon due to artifacts.
2020-07-19 00:12:35 +02:00
yueh
a94e8504f8
Correctly convert milliseconds to microseconds ( #4478 )
2020-07-18 20:51:30 +02:00
yueh
9275bfe001
Split TickHandler#onTick into more specific event handlers ( #4477 )
2020-07-18 19:35:33 +02:00
shartte
5b3c4aef79
When blocks adjacent to multiblock-capable blocks are updated, ( #4474 )
...
do not always recalculate existing multiblocks. Only do so,
if the adjacent block is either part of the multiblock's bounding
box, or if the adjacent block would be a valid part of the multiblock.
2020-07-18 18:18:24 +02:00
yueh
4a289470e2
Added a priority to IAEPowerStorage ( #4473 )
...
Added a priority to IAEPowerStorage
2020-07-18 18:06:05 +02:00
shartte
d79c0f642c
Do not allow recursive creation of multiblocks. ( #4472 )
2020-07-18 18:00:40 +02:00
shartte
e8b57c6dc5
Multiblocks sometimes can't be broken because during removal, ( #4469 )
...
they update their own block-state to display the disconnected
state, effectively reversing their own removal. This occurs
because the cached block state in the tile entity base class is
outdated and doesn't reflect the removal.
2020-07-17 22:35:49 +02:00
shartte
8142eb90a6
Added new Cell Rendering to ME Chest ( #4464 )
...
Moved cell models to origin 0,0,0.
Implemented a TER to render cell models/LED in the ME chest as they are rendered in the drive.
2020-07-17 20:37:07 +02:00
Sebastian Hartte
08abd4a770
Fixed formatting.
2020-07-17 20:26:17 +02:00
Sebastian Hartte
b8722dbbc0
Do not rely on exceptions for control flow, when the
...
cell has no fuzzy mode.
2020-07-17 19:51:59 +02:00
Sebastian Hartte
1ac6d5d967
Fixes creation of entangled singularities.
2020-07-17 15:27:03 +02:00
Sebastian Hartte
5c290789e0
Fixes #4467 : Private methods also need to be annotated with @OnlyIn(Dist.CLIENT)
...
if they use client-side classes.
2020-07-17 12:45:17 +02:00
Sebastian Hartte
4953509255
P2P Fluid Tunnel Fix
2020-07-13 17:45:40 +02:00
Sebastian Hartte
188f105730
Fix the alive check for the matter cannon.
2020-07-12 17:20:42 +02:00
yueh
9bb23bcac8
Refactored crafting patterns ( #4458 )
...
* Deduplicate crafting patterns internals
This should save a bit memory for duplicate patterns as well as speed up
loading new patterns on reloading chunks.
* Encode recipe id in pattern
* Use the recipe id directly for looking it up
* Slightly refactored how patterns encode whether they are crafting patterns or not.
* Renamed PatternHelper.
* Added APIs to encode patterns. (#4463 )
* Removed ICraftingPatternItem.
* Renamed isCrafting to isCraftable
Co-authored-by: shartte <shartte@users.noreply.github.com >
2020-07-12 16:21:30 +02:00
yueh
06735f5c39
Rewrite drive model to support custom cell models ( #4459 )
...
* Rewrite driver model to support custom cell models
Each cell can now register a mapping Item -> ResourceLocation for a
custom cell model. Fallback will always be a 1k item cell.
2020-07-11 23:07:20 +02:00
yueh
0d43ca15be
Removed AEApi
...
Moved all internal access to the internal `Api` class using a new static
getter.
2020-07-11 19:40:34 +02:00
yueh
d18eabe1fc
Restored the old PluginLoader as AddonLoader
...
Introduce a new `IAEAddon` interface, which has to be implemented and
annotated wit `@AEAddon` to obtain access to our public API.
2020-07-11 18:40:51 +02:00
yueh
d9d491d51c
Removed deprecated API parts ( #4457 )
2020-07-10 19:35:29 +02:00