Commit graph

2361 commits

Author SHA1 Message Date
SpaceToad
70c1cd0535 Started a major refactor of the trigger action system.
Triggers and actions are moving towards more factorization in statements.
Actions will now accept parameters.
Triggers and actions will accept up to 3 parameters.
Parameters will not only be stacks, in particular for pipe wire.
This is supporting in particular the emerald gate implementation, for #1880.
2014-06-13 13:15:33 +02:00
Raul Tambre
df1e70cfd1 Updated to Forge 1121, fixed some typos, fix #1878 2014-06-13 12:20:59 +03:00
SpaceToad
66bfac926b adjusted fetching time 2014-06-12 19:19:56 +02:00
SpaceToad
101f591f8f Implemented leave cutter, close #1876 2014-06-12 18:29:02 +02:00
SpaceToad
e60950db9b fixed bug detected by checkstyle 2014-06-12 13:49:05 +02:00
SpaceToad
6389baa9cb Implemented planter robot, close #1874. 2014-06-12 13:46:52 +02:00
SpaceToad
defa5cab45 fixed robot re-initialization problems, #1873 2014-06-11 22:51:41 +02:00
SpaceToad
1d642f052c regular path finding is using a separate thread, #1873 2014-06-11 18:50:17 +02:00
SpaceToad
ce0c26f31d lumberjack pathfinding is now done in a separate thread, #1873 2014-06-11 18:34:42 +02:00
SpaceToad
6c52e912c7 First pass of optimization, using a chunk buffer for properties.
Part of #1873
2014-06-11 16:58:09 +02:00
SpaceToad
aeef94a888 Merge branch '6.0.x' into 6.1.x 2014-06-11 01:39:54 +02:00
SpaceToad
27f9e05512 fixed style 2014-06-11 01:39:40 +02:00
SpaceToad
878d5266bc fixed previous check-in 2014-06-10 17:16:49 +02:00
SpaceToad
53b5176297 fixed registry cleanup 2014-06-10 17:10:07 +02:00
Dynious
aef8260877 Made sure Version IMC message is also sent after init phase 2014-06-10 16:27:12 +02:00
SpaceToad
83e84f2687 fixed style 2014-06-10 13:27:13 +02:00
SpaceToad
0ad90d29ce Merge branch '6.1.x' of github.com:BuildCraft/BuildCraft into 6.1.x 2014-06-10 13:22:55 +02:00
SpaceToad
9e1a6ebf03 Implemented robot energy management - close #1867.
Finished robot lumberjack - close #1869.
Implemented docking station mutual exclusion - close #1868.
2014-06-10 13:21:17 +02:00
CovertJaguar
d99505c713 Fix block renderer to not be hugely inefficient. 2014-06-10 03:28:35 -07:00
SpaceToad
bdda0fb476 Refactored Robot AI system into smaller units. 2014-06-10 00:22:22 +02:00
SpaceToad
b83f2ae6dc fixed style 2014-06-09 17:43:16 +02:00
SpaceToad
1605a36c03 lumberjack robot now manages its axe and corresponding damage, #1869 2014-06-09 17:40:56 +02:00
SpaceToad
0d978677de added lumberjack animation, for #1869 2014-06-09 00:56:58 +02:00
SpaceToad
253c398f12 fixed robots dying 2014-06-08 14:14:16 +02:00
SpaceToad
b8aeb05dd0 fixed previous check-in 2014-06-08 13:59:43 +02:00
SpaceToad
73bb09ca93 fixed robots going through block edges 2014-06-08 13:31:31 +02:00
SpaceToad
7f5a993a07 minor tweaks in documentation 2014-06-08 12:50:18 +02:00
SpaceToad
cf393474ef minor fixes for #1869 2014-06-08 12:46:17 +02:00
SpaceToad
efcabd31a1 More work on lumberjacks.
RPC now support entity messages.
Robots now support item synchronization between client and server.
Lumberjack now use a variable tool.
for #1869
2014-06-08 11:58:55 +02:00
Dynious
b80c95ea03 Added Version Checker integration and fixed changelog grabbing 2014-06-08 11:17:34 +02:00
SpaceToad
10fd47b0b9 fixed style, #1869 2014-06-07 23:13:34 +02:00
SpaceToad
82b34ac62f implemented lumberjack wood search and cut, #1869 2014-06-07 23:11:55 +02:00
SpaceToad
00521143b6 Merge branch '6.0.x' into 6.1.x 2014-06-07 18:57:09 +02:00
SpaceToad
9e58783add made progress with lumberjack implementation, #1869 2014-06-07 18:56:07 +02:00
da3dsoul
576be235f7 Fix isFullFluidBlock -> fix Floodgates
A recommit to 6.0.x instead of master
2014-06-07 10:57:19 -04:00
SpaceToad
87c18afb76 minor style fix 2014-06-07 16:46:16 +02:00
SpaceToad
41479f2021 fixed style 2014-06-07 16:45:14 +02:00
SpaceToad
926764b0b5 picker board not takes parameters into account, #1732 2014-06-07 16:43:05 +02:00
SpaceToad
1518ccdcf6 implemented connection between UI and board parameters, #1732 2014-06-07 16:10:18 +02:00
SpaceToad
1a74389a5c added additional random parameters for robot, #1732 2014-06-07 11:25:32 +02:00
SpaceToad
da32818bad Merge branch '6.1.x' of github.com:BuildCraft/BuildCraft into 6.1.x 2014-06-06 09:00:23 +02:00
SpaceToad
81bc0fe11b finalized recipe refactoring, close #1861 2014-06-06 09:00:11 +02:00
SpaceToad
05cf55b224 Merge pull request #1864 from Prototik/builder-fluid
Fix builder fluid support
2014-06-03 09:20:24 +02:00
SpaceToad
eda4d58c9e further fixes to the integration table, #1861 2014-06-03 09:00:43 +02:00
Prototik
27754198ac Fix fluid energy requirement 2014-06-03 11:07:49 +08:00
Prototik
091ae87333 Make Builder support fluids via containers/pipes 2014-06-02 23:33:03 +08:00
SpaceToad
ed1675ada5 fixes in the integration table, #1861 2014-06-02 17:20:35 +02:00
SpaceToad
a5b9a8870e fixed style errors 2014-06-02 16:34:05 +02:00
SpaceToad
cfb9095139 Initial refactoring of recipe mechanics.
Assembly table should be ok, integration table and refinery still to go.
For #1851
2014-06-02 16:29:13 +02:00
SpaceToad
fbf2cef772 Merge branch 'integration-table-advanced-recipe' of https://github.com/Prototik/BuildCraft into Prototik-integration-table-advanced-recipe 2014-06-01 15:17:22 +02:00
SpaceToad
5a2100804b Merge branch '6.1.x' of github.com:BuildCraft/BuildCraft into 6.1.x 2014-06-01 15:13:35 +02:00
SpaceToad
e193d634cf made progress in board parameters, #1732 2014-06-01 15:13:23 +02:00
Prototik
1c49dddf35 Advanced integration recipe 2014-06-01 18:35:35 +08:00
Raul Tambre
742391e504 Fix oil and fuel opacity 2014-06-01 10:48:31 +03:00
SpaceToad
6150c5b09e Merge branch '6.0.x' into 6.1.x 2014-05-31 18:09:33 +02:00
SpaceToad
8bff372360 Merge branch '5.0.x' into 6.0.x
Conflicts:
	common/buildcraft/BuildCraftBuilders.java
	common/buildcraft/BuildCraftCore.java
	common/buildcraft/BuildCraftEnergy.java
	common/buildcraft/BuildCraftFactory.java
	common/buildcraft/BuildCraftSilicon.java
	common/buildcraft/BuildCraftTransport.java
	common/buildcraft/builders/network/PacketHandlerBuilders.java
	common/buildcraft/core/network/PacketHandler.java
	common/buildcraft/core/network/PacketTileState.java
	common/buildcraft/factory/network/PacketHandlerFactory.java
	common/buildcraft/silicon/network/PacketHandlerSilicon.java
	common/buildcraft/transport/network/PacketHandlerTransport.java
2014-05-31 18:09:23 +02:00
SpaceToad
d946f8d936 tentative fix for packet leaks, #1855 2014-05-31 15:26:43 +02:00
SpaceToad
e99f0a3c4b made progress with boards and parameters, #1732 2014-05-30 09:04:00 +02:00
SpaceToad
7b20cab4be fixed style 2014-05-29 22:00:42 +02:00
SpaceToad
3f925ae0e9 completed a first robot+board, #1732 2014-05-29 21:58:08 +02:00
SpaceToad
ce55fe5eb1 fixed redstone board writing, #1732 2014-05-29 15:07:18 +02:00
SpaceToad
d8d57e822f Merge branch '6.0.x' into 6.1.x 2014-05-29 14:17:29 +02:00
SpaceToad
b7a89c6cc8 Merge pull request #1856 from Prototik/inbt-serializable
INBT serializable for @NetworkData
2014-05-29 14:14:39 +02:00
SpaceToad
10e7429847 Merge pull request #1854 from Prototik/tile-marker-crash
Fix tile marker crash
2014-05-29 11:31:45 +02:00
SpaceToad
e7b680f29e made progress for robot implementation, #1732 2014-05-29 11:28:34 +02:00
Prototik
d3e3f8bf21 Add support for custom nbt-based serialize classes for @NetworkData 2014-05-28 14:16:40 +08:00
Prototik
173db45f4b Fix tile marker crash 2014-05-27 16:18:22 +08:00
Prototik
f9748a5bfc Fix pump crash 2014-05-27 11:52:44 +08:00
SpaceToad
e6ff3d7825 fixed style of previous check-in, #1732 2014-05-27 00:27:24 +02:00
SpaceToad
7acb8b4592 made progress with robot recipes and boards, #1732 2014-05-27 00:25:39 +02:00
SpaceToad
379ea6e278 fixed style and removed unused files 2014-05-26 23:00:01 +02:00
SpaceToad
34d285a448 started work on redstone boards, #1732 2014-05-26 09:34:28 +02:00
SpaceToad
e5e8e4da4b Merge branch '6.0.x' into 6.1.x 2014-05-25 17:54:28 +02:00
SpaceToad
111ad6032e Merge branch 'mjapi-engines' of https://github.com/Prototik/BuildCraft into Prototik-mjapi-engines 2014-05-25 17:48:03 +02:00
SpaceToad
972d39f678 fixed docking algorithms for robots, #1732 2014-05-25 17:47:36 +02:00
Prototik
0a4c84f558 Massive overhaul of energy system 2014-05-25 23:13:38 +08:00
SpaceToad
5060da651f progress with robot AI and fixed pathfinding, #1732 2014-05-25 17:08:53 +02:00
SpaceToad
79ddf23192 migrated robot picker to the new path resolver, #1732 2014-05-25 16:28:20 +02:00
Prototik
990c5bec91 Fix potential NPE in TileEnergyConverter 2014-05-25 18:08:54 +08:00
SpaceToad
3f46097772 fixed style 2014-05-24 21:15:47 +02:00
SpaceToad
e9b84c7121 made progress for implementation of testing framework, #1846 2014-05-24 21:05:23 +02:00
SpaceToad
c23a5573f4 Merge branch '6.1.x' into 6.1.x-pathfinding 2014-05-24 13:37:44 +02:00
SpaceToad
6280266024 Merge branch '6.1.x' of github.com:BuildCraft/BuildCraft into 6.1.x 2014-05-24 13:37:27 +02:00
SpaceToad
4eb19a49b5 Merge branch '6.0.x' into 6.1.x
Conflicts:
	common/buildcraft/transport/render/FacadeItemRenderer.java
2014-05-24 13:36:45 +02:00
SpaceToad
ee1d7aeebc Merge pull request #1833 from Prototik/tank-drain
Fix canFill/canDrain in tanks
2014-05-24 00:26:54 +02:00
SpaceToad
8f8529d408 added handling of blueprints without unique ids, close #1842 2014-05-24 00:15:39 +02:00
viliml
82e804cd13 Update EntityRobotPicker.java
Prevents a crash if the pipe a robot is docked onto is broken.
2014-05-21 14:10:52 +02:00
Prototik
aa24a99d95 Fix canFill/canDrain in tanks 2014-05-21 13:29:17 +08:00
Prototik
5c4141970b Fix possible NPE in FacadeItemRenderer 2014-05-19 15:58:18 +08:00
SpaceToad
625b21719d Merge branch '6.0.x' into 6.1.x 2014-05-18 21:39:02 +02:00
SpaceToad
527cc7d6d4 do not send power where power is received, close #1827 2014-05-18 21:23:24 +02:00
SpaceToad
2eb8e868f2 tentative fix for #1826 2014-05-18 18:44:53 +02:00
SpaceToad
0f543e5228 progress in path finding algorithm 2014-05-18 18:04:29 +02:00
SpaceToad
48fe5076a3 fixed initial gate activation status 2014-05-18 17:23:46 +02:00
SpaceToad
77708e8bff Merge branch 'transparent-facades' of https://github.com/Prototik/BuildCraft into Prototik-transparent-facades 2014-05-18 17:04:52 +02:00
SpaceToad
a68ffafc1c Merge branch '6.1.x' into 6.1.x-pathfinding 2014-05-18 17:00:43 +02:00
SpaceToad
13c8562fa1 Merge branch '6.0.x' into 6.1.x 2014-05-18 16:57:07 +02:00
SpaceToad
89f71c515b Added to wood pipes the ability to interact with all BC energy APIs.
Close #1824
2014-05-18 15:55:19 +02:00
SpaceToad
9e4519ccf1 Fix potential exceptions, close #1815 2014-05-18 15:43:59 +02:00
SpaceToad
e2a85c1607 Intrusive rewrite of some power transmission mechanisms.
The new algorithm should be better at balancing power consumption between
sources.
For #1746
2014-05-18 15:31:56 +02:00
Prototik
bb3bf76bb4 Fix possible NPE and crashes 2014-05-18 17:02:24 +08:00
Prototik
3cfa2c5e14 Support for transparent facades 2014-05-18 16:38:52 +08:00
Prototik
6db270d407 Really advanced phased facades 2014-05-17 22:30:09 +08:00
SpaceToad
04967c7c00 Merge branch '6.0.x' into 6.1.x 2014-05-17 14:17:50 +02:00
SpaceToad
30fbe3b614 fixed partial action state issues, close #1817 2014-05-17 14:17:29 +02:00
SpaceToad
fe1cbb3c63 fixes in the pathfinding system 2014-05-17 13:31:06 +02:00
dmillerw
8a4b398285 Fixed checkstyle failure 2014-05-15 19:49:13 -07:00
dmillerw
0399c2c501 Fixed bad formatting 2014-05-15 19:41:13 -07:00
dmillerw
10efb94617 Removed debug item from creative menu 2014-05-15 19:38:03 -07:00
dmillerw
656baa987f Fixed phased facade having incorrect meta value 2014-05-15 19:37:43 -07:00
dmillerw
8b92fcfa88 Added localization for phased facade 2014-05-15 19:37:20 -07:00
SpaceToad
c6c414ae43 added management of blocking blocks 2014-05-15 23:26:42 +02:00
SpaceToad
fc490f6d81 initial attempt at pathfinding algorithm 2014-05-15 23:25:49 +02:00
SpaceToad
7e2365de26 Merge branch '6.0.x' of github.com:BuildCraft/BuildCraft into 6.0.x 2014-05-15 22:23:23 +02:00
SpaceToad
4b475d9fef fixed crash when removing prematurely removing blueprint from library, close #1812 2014-05-15 22:22:49 +02:00
SpaceToad
7e3a1d23e7 Merge pull request #1810 from Prototik/energy-converter
Make Converter block works with pipes
2014-05-15 20:07:36 +02:00
SpaceToad
c44842ad10 fixed deployer sequence, close #1811 2014-05-15 20:05:36 +02:00
Prototik
3a02c63ea6 Make Converter block works with pipes 2014-05-15 14:21:05 +08:00
SpaceToad
095350d2e4 started A* algoritm 2014-05-15 08:21:03 +02:00
SpaceToad
03fd7afb7f Merge branch '6.0.x' into 6.1.x 2014-05-14 17:45:05 +02:00
SpaceToad
bd846a59b7 fixed style errors 2014-05-13 21:17:42 +02:00
SpaceToad
fd6d98218e fixed previous check-in 2014-05-13 21:13:09 +02:00
SpaceToad
61cc4d5d61 updated Forge requirement 2014-05-13 21:12:26 +02:00
SpaceToad
02f7daf9a0 Fixed minor schematic registration.
Enabled additional standalone schematics.
Close #1794.
2014-05-13 21:03:19 +02:00
SpaceToad
7f6a0fec90 Fixed residual liquid in pumps, close #1790
Fixed residual liquid in refineries, close #1791
2014-05-13 20:47:00 +02:00
SpaceToad
424a976cd0 now uses Forge fake player, close #1786 2014-05-13 20:32:14 +02:00
SpaceToad
92adc79f21 added protection against exceptions, for #1786 2014-05-13 08:55:28 +02:00
SpaceToad
68205d0ca2 fixed handling of unbreakable blocks, #1789 2014-05-12 23:46:20 +02:00
Leon LoeseR
08edcf1759 Fix drain method causing dupe glitches...
...if using them mixed

Before the one accepting a FluidStack always returned null if the targeted tank was empty, but the one under it wasnt, the one w/ int doesnt have the problem.
2014-05-12 20:22:17 +02:00
SpaceToad
34e0bf9637 Last changes to the Builder API, renaming to enfore consistency and
improve maintainability.

Close #1785
2014-05-11 18:42:24 +02:00
SpaceToad
664ff00e7d removed unused field 2014-05-11 16:51:03 +02:00
SpaceToad
c96ff8666e Merge branch '6.0.x' into 6.1.x 2014-05-11 16:37:15 +02:00
SpaceToad
c17041ac17 Merge branch '6.0.x' into 6.1.x
Conflicts:
	common/buildcraft/BuildCraftTransport.java
2014-05-11 16:36:42 +02:00
SpaceToad
aa98f263ba Manually reset power when stipping a wire.
Fixed style errors.
Followup on #1776
2014-05-11 16:33:09 +02:00
undergroundminer3
394a6cc685 Forgot the import
Add the pipetype import
2014-05-11 10:18:43 -04:00
undergroundminer3
ecff97c2ef Don't crash when I create new PipeTypes
I am using reflection to "hack in" new PipeTypes for myself.
(Yes, that IS possible, but very "aggressive")

Don't cause an ArrayIndexOutOfBounds exception when I do that.
(at least when rendering, just don't place a gate on my pipes)

This is also another step towards
the ability to create new PipeTypes.
2014-05-11 10:10:08 -04:00
SpaceToad
986390babc fixed NPE in Box.extendToEncompass, close #1783 2014-05-11 14:31:38 +02:00
SpaceToad
1c90496cde Added protection around facade creation, fix #1780 2014-05-11 14:00:00 +02:00
SpaceToad
f1d9aee0b8 Added various levels of detection and recovery for missing blocks.
Such blueprints should not be loaded in survival, as there may be
inconsistencies, but it's ok to load in creative, in particular for repair if
needed.
Close #1779
2014-05-11 13:19:06 +02:00
SpaceToad
a7fe30f38a fixed schematic hanging 2014-05-11 12:54:05 +02:00
SpaceToad
bc1a7486cd Implemented heuristic for wider default id translation. Close #1778. 2014-05-11 11:51:17 +02:00
SpaceToad
4dcb9af871 added possibility to blacklist recipes, close #1750 2014-05-10 22:08:23 +02:00
Humungus
47fe7440d5 fixes in updating 2014-05-10 21:14:05 +02:00
Humungus
ed6499a1fa A simple fix for the wire flicker 2014-05-10 19:21:56 +02:00
SpaceToad
29d308f4f9 relax constraints when loading corrupted pipes 2014-05-10 17:29:18 +02:00
SpaceToad
262f2dc22a minor tweaks to liquid holding blocks, close #1769 2014-05-10 16:05:37 +02:00
SpaceToad
44e3aaa1c5 removed energy from engines in blueprints 2014-05-10 15:25:41 +02:00
SpaceToad
30e4d493b3 fixed engines orientation, for #1771 2014-05-10 15:24:22 +02:00
SpaceToad
577cf11257 minor fixes 2014-05-10 15:02:02 +02:00
SpaceToad
a29c0a1140 removed unused file 2014-05-10 13:43:30 +02:00