Commit graph

1816 commits

Author SHA1 Message Date
SpaceToad
89acd880dc minor tweaks and fixes for server release 2014-03-09 15:34:01 +01:00
SpaceToad
1a2bc3a964 fixed server warning 2014-03-09 15:09:37 +01:00
SpaceToad
b615089a9b Merge branch 'BuildCraft-5.0.x' into NextGen
Conflicts:
	build.gradle
2014-03-09 14:54:36 +01:00
SpaceToad
a083857efc renamed BlueprintMangager into SchematicRegistry 2014-03-09 14:48:09 +01:00
SpaceToad
d8163eeca1 Cleanup, and started to migrate filler / quarry to the new bpt
close #1488
2014-03-09 14:29:15 +01:00
SpaceToad
f3e611bedd implemented missing library actions, fix #1482 2014-03-09 13:45:20 +01:00
SpaceToad
970425f9bf Implemented transfer of stacks requirements from client to server, close #1487 2014-03-09 13:15:23 +01:00
SpaceToad
0db2a98e05 Do not store full blueprints anymore, only ids. For #1484 2014-03-09 12:15:55 +01:00
SpaceToad
896dce5b65 reduced memory footprint of bpt requirements, #1484 2014-03-09 11:55:09 +01:00
SpaceToad
b775c045fc Introduced a layer specific for tile schematic, further optimizing for #1484 2014-03-09 11:07:17 +01:00
SpaceToad
add526d8f9 Optimized blueprint memory footprint, for #1484
Air block generate null schematics
x, y, z are not recorded in the schematic anymore
2014-03-09 10:48:55 +01:00
SpaceToad
d38ab99d89 further optimization for large blueprints handling 2014-03-08 20:33:36 +01:00
SpaceToad
854dab6c32 implemented RPC slicing and fixed handling, close #1477 2014-03-08 18:51:55 +01:00
CovertJaguar
ebcd3151bf Fix flowing lava matching 2014-03-08 09:40:24 -08:00
SpaceToad
aaecf6126a library is now passing directly byte arrays over the network, for #1477 2014-03-08 17:44:33 +01:00
SpaceToad
c8ebad37c3 fix performances issues when saving a blueprint from the architect, #1477 2014-03-08 17:13:58 +01:00
SpaceToad
8948339b15 implemented iterative reading of architect, for #1477 2014-03-08 16:23:08 +01:00
SpaceToad
46628683c1 fixed formatting, and use int to store NBT length, for #1477 2014-03-08 15:29:24 +01:00
SpaceToad
b2626a5cff added missing rotation for quartz pillar, #1481 2014-03-08 14:22:46 +01:00
SpaceToad
b925468e62 added rotations for logs, fix #1481 2014-03-08 11:56:02 +01:00
CovertJaguar
de38b80e6f Fix oil worldgen for stone-like blocks 2014-03-07 09:07:54 -08:00
SpaceToad
824396f989 added support for blueprints with no name, fix #1476 2014-03-06 08:55:47 +01:00
SpaceToad
cc4a0eb7db prepare experimental nextgen version 2014-03-05 20:51:37 +01:00
SpaceToad
707e048eb8 refactored class names and some schematic functions 2014-03-05 20:42:44 +01:00
SpaceToad
12e215c611 added back double meta specification 2014-03-05 08:59:14 +01:00
SpaceToad
15bb4eefe9 fixed diamond pipe recording 2014-03-04 22:16:09 +01:00
SpaceToad
83bc69303a now using NBT to pass blueprint over the network 2014-03-04 21:17:43 +01:00
SpaceToad
8a7b612402 migrated model of blueprint support, now slot-specific instead of block-type-specific 2014-03-04 21:03:37 +01:00
SpaceToad
ed0834c04e removed useless class 2014-03-03 23:41:13 +01:00
SpaceToad
955600e7ef fixed serialization of blueprint for the library 2014-03-03 20:49:35 +01:00
SpaceToad
46fe51803d fixed anonymous object serialization 2014-03-02 10:25:57 +01:00
SpaceToad
677b075a47 improved id translation, fixed pipe id translation 2014-03-01 19:58:22 +01:00
SpaceToad
39c9cd3391 ensure that ids on blueprints are not correlated to worlds ids 2014-03-01 18:12:37 +01:00
SpaceToad
4f8a4535b9 re-introduced last blueprint handlers 2014-03-01 17:35:32 +01:00
SpaceToad
db3638fa1c merged with BuildCraft-5.0.x 2014-03-01 10:45:42 +01:00
SpaceToad
8af4e59a6e improved file format, and reverted part of #1471 2014-03-01 10:33:26 +01:00
SpaceToad
43a696bb11 improved file format, and fix #1414 2014-03-01 10:29:35 +01:00
SpaceToad
ebb9857a7a made progress in pipe support for blueprints 2014-03-01 09:56:29 +01:00
Chris
f09da45e15 Merge pull request #1471 from dmillerw/BuildCraft-5.0.x
Fixed partially transparent facades rendering incorrectly
Fixes #1468
2014-02-27 15:57:48 -08:00
SpaceToad
3fba674ef8 Merge branch 'BuildCraft-5.0.x' into NextGen 2014-02-26 23:57:08 +01:00
SpaceToad
d2b058e0f7 fixed name and added protection against NPE, part of #1465 2014-02-26 23:56:54 +01:00
SpaceToad
a18f58f60c minor enhancements to pipe support in blueprints 2014-02-26 23:50:26 +01:00
dmillerw
438a6d906a Fixed indentation 2014-02-26 10:41:26 -08:00
dmillerw
07ce344751 Fixed indentation 2014-02-26 10:36:39 -08:00
dmillerw
9cb360af95 Fixed partially transparent facades rendering incorrectly 2014-02-26 10:33:17 -08:00
fabricator77
05693e1b0b Restore bucket handler so empty buckets fill correctly.
By default clicking on any fluid with an empty bucket will fill it with
water. BucketHandler matches the fluid block clicked on with the
matching fluid filled bucket (item)
2014-02-25 20:18:39 +10:30
Cisien
566760b270 Found some more valid facades! 2014-02-23 17:31:47 -08:00
Cisien
2443f52e16 Oh look! debug log text! <squish> 2014-02-23 16:18:31 -08:00
Cisien
b039726ef1 addFacade with an ItemStack of 0 would create a facade recipe without a block
fixed some spelling mistakes in build.grade
added IDEA project files to .gitignore
2014-02-23 15:24:49 -08:00
SpaceToad
ef2980ccc2 merged with builder branch 2014-02-23 23:28:15 +01:00
SpaceToad
681b3372f7 Merge branch 'BuildCraft-5.0.x' into builder 2014-02-23 23:25:30 +01:00
SpaceToad
830df9948f fixed id mapping computation 2014-02-23 23:16:28 +01:00
SpaceToad
d52acfa732 worked on old bpt files, and fixed requirements computation 2014-02-23 20:38:29 +01:00
SpaceToad
4ab0eaf290 last set of fixes for blueprints authoring 2014-02-23 17:36:47 +01:00
SpaceToad
5c5819f28d resurrected basic library functionalities 2014-02-23 17:14:11 +01:00
SpaceToad
d8c4d5db14 first implementation of save / load of blueprint on the disk 2014-02-23 15:33:28 +01:00
SpaceToad
8980dfdcdf reorganized class serialization, now accepts more objects 2014-02-23 11:59:30 +01:00
Cisien
fdd8800f2b Remove extra logging 2014-02-22 16:38:42 -08:00
Cisien
1c61f29259 Spaces 2014-02-22 16:20:25 -08:00
Cisien
5ebb0e4338 clean up some spaces tabs 2014-02-22 16:12:46 -08:00
Cisien
55ef362018 Better support for mod blocks in facades
Blocks can be blacklisted from becoming facades in the config
Added an IMC message for blacklisting facades. send an IMC message with the item stack, and the blacklist-facade command
Register FacadeRecipe with the RecipeSorter
Facades store the block registry block name in place of the ID. Existing facades will be updated automatically.
The add-facade IMC string message implementation now requires block registry name instead of id. (but still works with id, for now)
The FacadeRecipe handler will rotate through the meta of the blocks the facade is made from allowing cycling through variants (such as colors of wool).
2014-02-22 15:41:46 -08:00
SpaceToad
3dbf9b6495 re-established raw building capability 2014-02-22 13:54:47 +01:00
SpaceToad
51f0580374 initiated replacement of schematics with updated version of original Bpt code 2014-02-22 13:21:49 +01:00
SpaceToad
b4deff27bd progress in fixing back tile architect 2014-02-22 00:14:49 +01:00
SpaceToad
e55950dee6 started to resurect old blueprint system and simplified tiles with boxes 2014-02-21 21:30:12 +01:00
SpaceToad
a69d4a3df6 Merge pull request #1461 from Cisien/patch-4
Set the block name for lasers
2014-02-21 07:42:47 +01:00
Chris
e0f968eeb9 Set the block name for lasers 2014-02-20 21:45:36 -08:00
Chris
8d1a56f02e SideOnly on client only methods in gates
Problem: When loading a world that has gates, the server will crash with this exception:
http://paste.cisien.com/f/33730518.txt

Solution: add @SideOnly(Side.CLIENT) to the methods that deal with IIcon, since they are client-side only.

Tested item pipes with gates pulling items from a chest in single player, and in multi-player
2014-02-20 20:38:28 -08:00
SpaceToad
95cb00fe91 connected builder robots to filler urbanist 2014-02-20 21:26:54 +01:00
SpaceToad
880fc11c4f implemented synchronization of box kind 2014-02-20 09:31:33 +01:00
SpaceToad
aa65b484ac fixed villages generation, fix #1458 2014-02-20 08:47:24 +01:00
SpaceToad
84d3cd6948 fixed block urbanist rendering 2014-02-20 08:43:05 +01:00
SpaceToad
d27f8d90ab fixed serialization for urbanist over the network 2014-02-19 23:37:35 +01:00
SpaceToad
4b144864d6 avoid using entities when rendering frames 2014-02-19 22:43:29 +01:00
SpaceToad
b517ce2bf6 fixed (again) item facades, fix #1454 2014-02-19 08:27:53 +01:00
SpaceToad
bcd31a1f96 made progress in block selection from third person view 2014-02-19 00:23:06 +01:00
SpaceToad
2f1eb04d5d merged with builder 2014-02-18 21:22:58 +01:00
SpaceToad
85149631ad merged with 5.0.x branch 2014-02-18 21:20:29 +01:00
SpaceToad
873c39f314 added back some proxy code, fixing server load, fix #1447 2014-02-18 20:42:57 +01:00
SpaceToad
31f6516b79 Merge branch 'patch-2' of https://github.com/viliml/BuildCraft into viliml-patch-2 2014-02-17 21:32:49 +01:00
viliml
5facf915ba Fix Facade names
This is how to control name of items.
2014-02-17 16:27:11 +01:00
Robin
7a48cd63f3 fix format and use splitToList 2014-02-17 13:31:48 +01:00
SpaceToad
be5b87eb12 attempt at making facade computation more robust, fix #1444 2014-02-16 22:33:42 +01:00
SpaceToad
f943487150 added save / load for pickup robot 2014-02-16 22:29:46 +01:00
SpaceToad
3ccc60a119 finalized initial implementation of picker AI, and refactored a bit robots 2014-02-16 18:36:35 +01:00
SpaceToad
4948e02cb5 initial categorization of items 2014-02-16 17:21:22 +01:00
SpaceToad
1677fa3785 merged with latest changes and fix compilation errors 2014-02-16 12:14:30 +01:00
SpaceToad
347bfd7a2e Merge branch 'BuildCraft-5.0.x' into builder 2014-02-16 12:10:42 +01:00
SpaceToad
90f2532278 migrated to Minecraft 1.7 2014-02-16 12:10:01 +01:00
SpaceToad
ce393ec0ef fixed conversion error, fix #1439 2014-02-16 09:37:00 +01:00
SpaceToad
f5f192e7df removed all references to EntityClientPlayerMP and fixed filler packet, fix #1437 2014-02-16 09:29:26 +01:00
SpaceToad
5be1c3d066 changed biome ids in config, fix #1438 2014-02-16 09:19:11 +01:00
robin4002
754857dbb6 Move to assets lang system 2014-02-16 00:48:23 +01:00
SpaceToad
2709b8a1b7 fixed compilation errors with Minecraft 1.7 2014-02-15 22:29:48 +01:00
SpaceToad
ce432eaa76 further fixes in facades 2014-02-15 14:45:22 +01:00
SpaceToad
6b21bdd901 more fixes following last pull 2014-02-15 14:16:23 +01:00
SpaceToad
8a30d95286 Merge pull request #1433 from fabricator77/BuildCraft-5.0.x
Fix IIcon sided crashes on dedicated server
2014-02-15 14:06:26 +01:00
SpaceToad
88bb117094 added more gate options in creative 2014-02-15 09:57:27 +01:00
SpaceToad
360d782ea9 normalized file headers 2014-02-15 09:21:40 +01:00
fabricator77
d2a4dabdc7 Fix IIcon sided crashes on dedicated server 2014-02-15 14:09:48 +10:30
SpaceToad
b3dac23866 fixed generic fluid pumping 2014-02-14 08:53:53 +01:00
SpaceToad
ebbc8d2146 resurected minimum amount of blueprint for quarry frame 2014-02-11 22:46:50 +01:00
SpaceToad
3580d4b34a fixed quarry placement and various minors twearks 2014-02-11 21:11:06 +01:00
SpaceToad
12ec799ea3 fixed calls to sendNetworkUpdate 2014-02-11 08:23:55 +01:00
SpaceToad
9742bd6911 fixed location of icons/triggers to get proper icon load 2014-02-10 21:49:48 +01:00
SpaceToad
ef400b1d92 fixed missing packet ids transmission 2014-02-10 18:24:27 +01:00
SpaceToad
8f7f8d31ad fixed player in net handler and deprecated proxies 2014-02-10 18:06:44 +01:00
SpaceToad
f227dc2afc fixed items traveling in pipes 2014-02-10 16:05:05 +01:00
SpaceToad
f10e728b59 fixed pipe state synchronization 2014-02-10 15:16:32 +01:00
SpaceToad
944b9d693b fixed get description packets 2014-02-10 13:04:20 +01:00
SpaceToad
32e3d44e13 added missing channel to energy mod 2014-02-09 21:29:23 +01:00
SpaceToad
4d1e73f9e7 added discriminator for tile update 2014-02-09 21:19:35 +01:00
SpaceToad
976b6733da fixed setBlock calls to null 2014-02-09 19:55:54 +01:00
SpaceToad
c516cc5862 fixed facade display and pipe initialization 2014-02-09 19:03:13 +01:00
SpaceToad
58ed5ee20c fixed biomes conflicts and forge version 2014-02-09 18:15:15 +01:00
SpaceToad
4dacb568ba fixed last compilation errors 2014-02-09 18:02:44 +01:00
SpaceToad
6692683e4f removed obsolete file 2014-02-09 12:30:02 +01:00
SpaceToad
36a9ef91e5 more compilation fixes for 1.7.2 2014-02-09 12:29:21 +01:00
SpaceToad
6b36051353 progress with 1.7.2 port 2014-02-08 20:39:39 +01:00
SpaceToad
20d08f393a progress with 1.7.2 port 2014-02-08 16:04:03 +01:00
SpaceToad
2bc0a85bbe made progress with 1.7.2 port 2014-02-08 14:47:31 +01:00
SpaceToad
87562542c9 Merge branch 'marmot' into BuildCraft-5.0.x 2014-02-08 10:39:18 +01:00
SpaceToad
2995c13c1d Merge branch 'marmot' into builder 2014-02-08 10:38:03 +01:00
SpaceToad
fce098b021 Merge branch 'nightly' into marmot 2014-02-08 10:37:36 +01:00
SpaceToad
ec265fd6f3 implemented robot stations and robot hierarchy 2014-02-08 10:28:16 +01:00
SpaceToad
12cb51373e various experiments for BC NextGen 2014-02-01 17:19:07 +01:00
SandGrainOne
5055d8c146 Fluid level trigger for tanks 2014-01-30 20:08:01 +01:00
SpaceToad
fef5ccbac1 further progress in supporting fillers for urbanist module 2014-01-25 11:45:26 +01:00
CovertJaguar
7c09c24499 Add NPE check in Iron Engine
Closes #1420
2014-01-21 20:24:36 -08:00
SpaceToad
3dd418a27a progress in tool filler 2014-01-20 21:15:30 +01:00
SpaceToad
8584db25a9 fixed robots for urbanist 2014-01-19 11:02:11 +01:00
SpaceToad
3742dfdec9 removed unused files 2014-01-18 14:53:57 +01:00
SpaceToad
48ec6c9da7 further progress in urbanist implementation 2014-01-18 14:53:09 +01:00
SpaceToad
b4a668e91f first set of Urbanism experiments 2014-01-16 22:53:16 +01:00
SpaceToad
3b973044ea migrated part of the sendTo* calls to the new network API 2014-01-14 19:22:10 +01:00
SpaceToad
14003341e3 progress made in MC 1.7 network support 2014-01-13 20:26:16 +01:00
SpaceToad
13213cd59d fixed IIcon and IIconRegister names 2014-01-12 23:05:36 +01:00
SpaceToad
be872d3692 Starting the port to Minecraft 1.7
Initial set of very obvious fixes for Minecraft 1.7 port, with
an early version of Forge.
2014-01-12 19:12:40 +01:00
SpaceToad
db943bff47 Merge branch 'marmot' into builder 2014-01-12 18:23:46 +01:00
SpaceToad
1c2e28f2dd Merge branch 'nightly' into marmot 2014-01-12 18:23:34 +01:00
SpaceToad
7af855040b Further progress for the library
Blueprint identification has been adjusted a bit in order to make it easier
to have an ordered list. Loading functions are temporary deactivated waiting
for some more insights on the serialization. Server and client databases have
been separated.
2014-01-12 17:57:32 +01:00
SpaceToad
33a77efaf2 Blueprint serialization over the network
This patch changes a bit the behavior of the Library. Instead of being an
item browsing blueprints on the server, it's going to retreive blueprints
built on the server for the client, and then allow the client to send back
its blueprints to the server.

This patch is a first milestone, with functional serialization and
deserialization of a blueprint over the newtork, using the Library as interface.
2014-01-11 20:55:24 +01:00
SpaceToad
3cf761226e Polymorph classes supported in serializer.
The serializer now supports cases where the actual object is different from
the object declared, sending once the class name on the stream.
2014-01-11 17:27:53 +01:00
SpaceToad
08d01c0394 Re-introduction of the builder block
Added back the builder block to the world, with fixes of initial obvious errors.
TileArchitect is now passing its name through RPCs.
2014-01-11 13:59:30 +01:00
SpaceToad
9dab76fc71 Support for multi-dimentional arrays in serialization.
Carrying on with the work on RPC, this patch implements support for multi-
dimension arrays in serialization.
2014-01-11 12:49:10 +01:00
SpaceToad
4e23782911 added nissing deprecated annotation 2014-01-11 10:56:01 +01:00
SpaceToad
4f4818bb35 Merge branch 'marmot' into builder 2014-01-11 10:49:45 +01:00
SpaceToad
c0cbc7f841 Merge branch 'nightly' into marmot 2014-01-11 10:49:34 +01:00
SpaceToad
7e4b66c127 Merge branch 'nightly' of github.com:BuildCraft/BuildCraft into nightly 2014-01-11 10:47:32 +01:00
SpaceToad
36c2d8d8e2 generalized change made for #1410 2014-01-11 10:46:30 +01:00