Commit graph

309 commits

Author SHA1 Message Date
asiekierka
c78e48ecb5 add IPipeConnection support for pluggables, add coloring with dyes for lapis and daizuli pipes 2014-12-18 17:15:41 +01:00
Hea3veN
50b2d6bee2 handle robots being unloaded 2014-12-18 09:55:40 -03:00
asiekierka
f2a3010fca fixes, optimizations, API changes for greater compatibility with pre-6.3.x mods 2014-12-18 11:56:04 +01:00
asiekierka
15736507ff IPipePluggableItem added to allow other mods to easily place their pluggables on pipes, gates now use the Pluggable system for client-side sync 2014-12-16 18:42:27 +01:00
asiekierka
60af8ac978 touchups 2014-12-16 17:35:42 +01:00
asiekierka
9b857eaba7 move IPipePluggable to PipePluggable, move Diamond Liquid Pipes to the event system 2014-12-16 10:44:49 +01:00
asiekierka
ad36ec30cd API improvements: start refactoring pipe API, add renderers, hitboxes, registration and network sync to IPipePluggable API, fix tons of design things 2014-12-15 19:10:12 +01:00
asiekierka
bd52ca6981 Merge branch '6.2.x' of github.com:BuildCraft/BuildCraft into 6.3.x 2014-12-15 17:32:24 +01:00
asiekierka
fba2a37941 BuildCraft 6.2.6, update RF API 2014-12-14 22:29:22 +01:00
asiekierka
da923944de sync 2014-12-13 14:12:13 +01:00
asiekierka
7c75a00976 relicense BuildCraft API to MIT, close #2248 2014-12-09 21:09:14 +01:00
asiekierka
a5b4dc3742 Update IControllable.java 2014-12-01 10:16:09 +01:00
asiekierka
695313802a API: cleanup, remove unused functions, improve documentation 2014-11-30 10:07:20 +01:00
asiekierka
5dcbf56c16 BuildCraft 6.2.1 2014-11-30 00:32:28 +01:00
asiekierka
e0c96aa7d6 revert RF API, add anti-fakeplayer measures to engine overheat wrenching 2014-11-30 00:23:54 +01:00
asiekierka
f5d885343d harden source code with IntelliJ checking tools 2014-11-29 12:58:42 +01:00
asiekierka
b76846e971 unnerf Mining Wells, add shift-hover pipe tooltips, etc. 2014-11-28 18:35:25 +01:00
asiekierka
9bf2a15ca5 BuildCraft 6.2.0 2014-11-27 20:25:34 +01:00
asiekierka
ff999aa316 update CoFH RF API, add IFluidContainerItem support (close #2236) 2014-11-27 09:29:50 +01:00
asiekierka
99369a106b fix checkStyle 2014-11-23 10:57:09 +01:00
asiekierka
bceb1b375e fix builder packet spam, rewrite network API - kill serializers, network data, replace RPC with PacketCommand 2014-11-22 22:27:43 +01:00
Adrian Siekierka
f8d36e9366 and, of course, commit the interface too... bah 2014-11-09 13:36:02 +01:00
Adrian Siekierka
9e2795d235 add IEngine API, restore engine connecting behaviour 2014-11-08 10:52:44 +01:00
Adrian Siekierka
2c04e14389 remove MJ API compatibility layer 2014-11-08 08:16:50 +01:00
asiekierka
d0506b8a49 fix a lot of Builder bugginess 2014-11-01 22:25:29 +01:00
asiekierka
bf25fdfbf6 fix a bunch of Builder processing bugs 2014-11-01 17:55:08 +01:00
asiekierka
ce1daeecf1 make StatementParameters use NBT for serialization, add Blueprint Library debug code 2014-11-01 09:42:53 +01:00
asiekierka
da8d4513c4 add shift-click support to statement parameters, close #2107 (at last) 2014-11-01 09:03:50 +01:00
asiekierka
1562eee634 fix #2126 for gate expansions 2014-11-01 07:57:13 +01:00
asiekierka
bf17bd43fd clean up Pipe/PipeTile APIs 2014-10-31 18:09:27 +01:00
asiekierka
85e588780f add debug messages for schematics and facades (close #2124), improve schematic autodetection 2014-10-30 12:47:55 +01:00
asiekierka
3c21b9c2e6 fix triggers not initializing statement parameters 2014-10-29 18:20:11 +01:00
asiekierka
96c3f42054 fix crash on server 2014-10-29 17:06:08 +01:00
asiekierka
054524754d fix license headers, restore IOverrideDefaultStatements 2014-10-29 09:33:27 +01:00
asiekierka
e146d1b46d fix style and BitSetUtils 2014-10-29 09:25:28 +01:00
asiekierka
239edfa78a add null checks for obsidian pipes, fix #2111 2014-10-28 20:19:01 +01:00
asiekierka
9c31b0123b add early draft of Tiles API, remove IMachine 2014-10-28 20:15:30 +01:00
asiekierka
4492802f25 Further work on refactoring the Gate API for #2107 2014-10-28 17:21:45 +01:00
asiekierka
8728885c2c further work on improving/separating the gate API, #2107 2014-10-28 12:17:52 +01:00
asiekierka
489a3cc6f7 move StatementManager parameter handling to use getUniqueTag, for #2107 2014-10-28 07:22:43 +01:00
asiekierka
56dd1a6bdd refactor and add functionality to gate API, for #2107 2014-10-28 06:56:49 +01:00
asiekierka
a5758d1bf1 various fixes 2014-10-27 12:16:30 +01:00
asiekierka
b2135c37b6 fix #2104 2014-10-26 22:18:27 +01:00
asiekierka
9ddcb5cce4 added mouse button and description to statement parameters, added sided redstone I/O support 2014-10-26 17:56:18 +01:00
asiekierka
5fde18014b fix style 2014-10-26 12:42:11 +01:00
asiekierka
24b4859178 use the API breaking changes as an occasion to make Schematic function names make more sense 2014-10-26 12:34:07 +01:00
asiekierka
53cfda589e refactor SchematicRegistry to ISchematicRegistry 2014-10-26 12:27:51 +01:00
asiekierka
3eae592b59 refactor SchematicRegistry to use BlockMetaPairs, add fluid and block heuristics 2014-10-26 11:43:54 +01:00
asiekierka
95f13ba439 remove modsSupported, redundant Architect Table options, etc... strive for a proper builder supporting system 2014-10-26 10:30:34 +01:00
asiekierka
46432d2579 properly fix Java 7 dependency 2014-10-24 20:07:14 +02:00
asiekierka
5cd1f38a4a remove dependency on Java 1.7 2014-10-24 19:37:14 +02:00
asiekierka
645deeb3ea Add extra getters to FlexibleRecipe for #2078 2014-10-22 19:11:54 +02:00
asiekierka
3323779c74 further stripes pipe refactor, improve API, close #1670 2014-10-22 16:44:46 +02:00
asiekierka
42f6d298ee refactor stripes pipes, create early version of stripes pipe API, for #1670 2014-10-22 16:30:53 +02:00
asiekierka
ac2a969919 refactor SchematicBlock, close #1949 2014-10-19 13:31:47 +02:00
asiekierka
260a57d600 create IFacadeItem API, close #1946 2014-10-19 12:21:45 +02:00
asiekierka
777fee2092 fix style 2014-10-18 16:23:47 +02:00
asiekierka
c426661973 update API for IMC removal 2014-10-18 09:27:35 +02:00
asiekierka
549cbd5219 clean up engine and fuel code to fully use RF 2014-10-15 18:45:16 +02:00
asiekierka
e9538d73e6 forgot to include fixed API 2014-10-15 18:21:28 +02:00
AEnterprise
6ee4b2de2e fix style and coppyright notices 2014-09-20 11:30:33 +02:00
AEnterprise
9330dd18d9 also need coordinates for the pipe placement location 2014-09-18 17:25:28 +02:00
AEnterprise
fb706ae1ab detect interaction with pipes (for gates, plugs and robot stations) 2014-09-17 18:13:00 +02:00
AEnterprise
b01533e1d5 make it possible to differenciate between the lasertables and engines 2014-09-17 15:41:45 +02:00
SpaceToad
1ec9d92699 added variable timeout for schematic, down to 1. close #1971 2014-09-14 20:52:53 +02:00
AEnterprise
6b76b63ba7 fix style 2014-09-10 14:56:17 +02:00
AEnterprise
cfb63644b4 create events for external research 2014-09-10 14:43:06 +02:00
SpaceToad
579252a473 Further progress on composite blueprints (#1544).
Markers now display if they're recording a composition or not.
Architects save / load their sub-blueprints.
Composition links have a maximum reach.
2014-09-07 11:52:15 +02:00
SpaceToad
a703d946b1 Merge branch 'iron-engine' of github.com:Prototik/BuildCraft into Prototik-iron-engine
Conflicts:
	common/buildcraft/energy/TileEngineIron.java
2014-09-06 12:28:50 +02:00
SpaceToad
9f71fdfe0e fixed style 2014-09-04 20:55:50 +02:00
asiekierka
3c06e37347 Did not mean to include this one. 2014-09-04 20:00:37 +02:00
asiekierka
af6297c73b fix robots in API 2014-09-04 19:51:50 +02:00
asiekierka
cba7b0ba18 Port over everything but pipes. 2014-09-03 19:22:15 +02:00
asiekierka
ab84e095cd start removing the "new" MJ API, commit RedBuildCraft engine implementation 2014-09-03 11:21:08 +02:00
asiekierka
75d8779d65 add CoFH RF API to tree 2014-09-03 11:09:51 +02:00
Prototik
ae184f76b2 Rewrite fuel/coolant api for iron engine
Add lava as fuel source
2014-08-29 19:08:34 +08:00
SpaceToad
dd4b1c53f8 Merge branch '6.1.x' of github.com:BuildCraft/BuildCraft into 6.1.x 2014-08-18 23:33:08 +02:00
SpaceToad
f9b769bdde Implemented pump robot, close #1985.
Fixed race conditions with robot registry.
2014-08-18 23:32:11 +02:00
SpaceToad
a2247bf315 Merge pull request #1988 from darkevilmac/6.1.x
Fixed a crash on dedicated servers with EnumColor
2014-08-18 20:08:42 +02:00
SpaceToad
4f41d134a7 added control of wether an AI can be loaded from NBT 2014-08-18 09:07:57 +02:00
darkevilmac
a38ec8612b Fixed a crash on dedicated servers with EnumColor. You can see the crash here https://gist.github.com/darkevilmac/f9587498216118ebf49a 2014-08-17 22:05:01 -07:00
SpaceToad
2c69299172 finish first implementation of fluid transporter, #1985 2014-08-16 18:03:20 +02:00
SpaceToad
19989256e2 moved ResourceId to API, fixing compilation errors 2014-08-15 00:39:22 +02:00
SpaceToad
3b9b1af204 further work in requesting orders, for #1973 2014-08-14 23:24:53 +02:00
SpaceToad
221a4416e5 implemented stack requesting mechanism, for #1973 2014-08-14 18:58:17 +02:00
SpaceToad
f864f16f0a added assembly table drivers to crafting robot, for #1973 2014-08-13 22:11:44 +02:00
SpaceToad
7798953087 Progress on crafting robots (#1973)
Added centralized notion of resources for robots.
Removed urbanist tasks, as they're being replaced by robot ai.
2014-08-12 23:23:43 +02:00
SpaceToad
0e78b4a308 progress in interaction of crafting robot and furnace, for #1973 2014-08-08 09:36:11 +02:00
SpaceToad
0b6ff77515 made progress for crafter robot, #1973 2014-08-07 09:40:17 +02:00
SpaceToad
9475faf2a8 minor fixes from previous modifications 2014-08-07 09:33:03 +02:00
SpaceToad
e92b7e9828 Merge pull request #1965 from Parker8283/patch-log4j
Updated logging to log4j2
2014-08-03 20:34:33 +02:00
SpaceToad
6c88ad2ae8 Started convergence on a pre-alpha release.
Science book is deactivated.
Redstone parameter mechanics have been removed, all replaced by gates.
2014-08-03 12:19:58 +02:00
Parker
37adec2afe Updated logging to log4j2 2014-08-02 11:33:58 -04:00
AEnterprise
854b733e92 more accurate aiming of the lasers 2014-07-27 14:07:18 +02:00
SpaceToad
01273bd63c Fixed style. 2014-07-22 19:52:10 +02:00
SpaceToad
e155b9b761 robots can now work on a zone defined from a map 2014-07-21 14:34:21 +02:00
SpaceToad
b117a23c5d added multi-area selection capabilities 2014-07-20 23:41:43 +02:00
SpaceToad
bc60546eb9 added energy management for builder robot, close #1908 2014-07-15 15:55:32 +02:00
simon816
7a941c1279 Add support for injecting colored items in pipes 2014-07-08 22:38:24 +01:00
SpaceToad
b71fe3cce8 made progress for builder robot, for #1920 2014-07-08 22:40:39 +02:00
SpaceToad
40c882de25 Various fixes in robot behavior. 2014-07-06 13:22:58 +02:00
SpaceToad
6de8ad01ea improved behavior of farmer robot 2014-07-06 00:21:37 +02:00
SpaceToad
ffcd8188de fixed various regressions with gates logic 2014-07-05 10:08:36 +02:00
SpaceToad
4d35532ad1 made progress with ai load / save, for #1921 2014-07-04 08:59:23 +02:00
SpaceToad
5554cf41bc improved save / load of stations, for #1921 2014-07-03 09:32:57 +02:00
SpaceToad
3372c3f997 finished bucher and shovelman, close #1924, close #1925 2014-07-01 08:15:44 +02:00
SpaceToad
504911cff0 planter can now plant seeds, part of #1922 2014-06-30 20:54:50 +02:00
SpaceToad
99d93d46e4 fixed API build 2014-06-30 00:19:04 +02:00
SpaceToad
7721d0d95d added farmer and harvester robots, part of #1922 2014-06-30 00:07:48 +02:00
SpaceToad
1ab3bcef10 finished initial save / load loop, for #1921 2014-06-29 18:57:46 +02:00
SpaceToad
27cf9473c6 made progress with robot loading / unloading, for #1921 2014-06-29 16:58:44 +02:00
SpaceToad
8ca47462d5 Progress made in robot life cycle.
Robot now die if they have no more energy or if their station is destroyed.
Improved energy requirements (by default, all robots consume 0.1 MJ / cycle).
Part of #1921
2014-06-29 16:07:19 +02:00
SpaceToad
99309b381a improved carrier robot behavior and adjusted energy consumption 2014-06-29 11:55:19 +02:00
SpaceToad
bb3618aaf9 Further work in robot carrier control.
Items can now be filtered.
It's now possible to put items in a pipe.
For #1877.
2014-06-28 17:15:34 +02:00
SpaceToad
ecd0464379 added area control for lumberjack and planter, for #1877 2014-06-28 14:05:02 +02:00
SpaceToad
8e58dd97de decrease load of picker robots 2014-06-28 11:04:37 +02:00
SpaceToad
ab699b2480 no need for systematic cycle latency with sleep implementation 2014-06-28 00:51:47 +02:00
SpaceToad
9f1187c3aa implemented robot sleep / wakeup, for #1873 and #1877 2014-06-27 23:42:30 +02:00
SpaceToad
e4e477a241 implement miner robot, close #1915 2014-06-26 23:07:51 +02:00
SpaceToad
3c409ca0b9 started work on bomber, for #1913 2014-06-26 08:51:28 +02:00
SpaceToad
2e209805b8 separate normal terminaison from abort 2014-06-22 23:31:07 +02:00
SpaceToad
eeb637d59f Generalized latency property, for #1873 2014-06-22 17:49:22 +02:00
SpaceToad
0d4f021dd3 Merge branch '6.1.x' of github.com:BuildCraft/BuildCraft into 6.1.x 2014-06-22 11:51:30 +02:00
SpaceToad
9577c53313 Fixed gate extension ids synchronization, for #1895.
Added a new concept of NetworkId, allowing to transfer ids over the network
instead of strings.
RPCs are now all handled the same way (except RPC Pipes, to be completed when
actually used).
2014-06-22 11:49:59 +02:00
SpaceToad
bcc0f37e82 Merge pull request #1893 from tambry/MoreParameterization
Even more parameterization and cleanup!
2014-06-17 21:42:21 +02:00
SpaceToad
afbfe26fa0 Factorised station scan code.
Fixed world property analysis.
2014-06-16 02:59:43 +02:00
SpaceToad
c6430035ff first attempt with AI overriding, #1877 2014-06-15 23:54:20 +02:00
Raul Tambre
5292bc6f19 Even more parameterization and cleanup 2014-06-15 22:05:06 +03:00
SpaceToad
e53f267d06 fixed and / or computation with parameter actions 2014-06-15 20:52:08 +02:00
SpaceToad
7bb2351b67 Merge branch '6.1.x' of github.com:BuildCraft/BuildCraft into 6.1.x
Conflicts:
	common/buildcraft/core/ItemMapLocation.java
2014-06-15 19:51:49 +02:00
SpaceToad
002caaca38 first attempt at overriding AI, for #1877 2014-06-15 19:50:55 +02:00
Raul Tambre
5ecbe57320 Parameterization and minor cleanup 2014-06-15 20:27:17 +03:00
SpaceToad
4c2b425d10 fixed builds 2014-06-15 17:33:09 +02:00
SpaceToad
4d955da51f improved docking / undocking API, #1877 2014-06-15 17:20:54 +02:00
SpaceToad
7d2e546a66 Completed support for action parameters and parametrized pipe signal.
Finalized implementation of emerald gate.
Close #1880.
2014-06-15 15:01:10 +02:00
Prototik
c01bfe8783 Make support for sided gates 2014-06-15 14:18:32 +08:00
SpaceToad
44d4e4e3b9 started work on docking action, #1877 2014-06-15 02:41:00 +02:00
SpaceToad
4f8e82b153 Continuation on gates refactoring.
Moved some packets into RPCs.
Part of #1880.
2014-06-14 15:29:45 +02:00
SpaceToad
b1076d8556 fixed API builds 2014-06-13 13:36:02 +02:00
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
SpaceToad
101f591f8f Implemented leave cutter, close #1876 2014-06-12 18:29:02 +02:00
SpaceToad
6389baa9cb Implemented planter robot, close #1874. 2014-06-12 13:46:52 +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
53b5176297 fixed registry cleanup 2014-06-10 17:10:07 +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
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
41479f2021 fixed style 2014-06-07 16:45:14 +02:00
SpaceToad
1a74389a5c added additional random parameters for robot, #1732 2014-06-07 11:25:32 +02:00