Commit graph

41 commits

Author SHA1 Message Date
Parker Young 341ff4e972 Updated to 1.7.10
This version isn't backwards compatiable because of changes in the CompressedStreamTools. I don't know if you want to push an update to the 5.0.x branch, but I thought I'd do it, just in case you did.
2014-06-28 11:57:16 -04:00
SpaceToad 360d782ea9 normalized file headers 2014-02-15 09:21:40 +01:00
SpaceToad 8f7f8d31ad fixed player in net handler and deprecated proxies 2014-02-10 18:06:44 +01:00
SpaceToad 6b36051353 progress with 1.7.2 port 2014-02-08 20:39:39 +01:00
SpaceToad 2bc0a85bbe made progress with 1.7.2 port 2014-02-08 14:47:31 +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
CovertJaguar 6c73c1a070 Convert Power API to use Double instead of Float
Closes #1288
2014-01-03 01:17:19 -08:00
CovertJaguar 1acf4ba5b5 Cache Traveling Items
There existed a race condition where either the client could pass an
item from one pipe to another (with intact ItemStack NBT data) or a
packet could arrive from the server to inject the item into the pipe
(without NBT data). This resulted in incorrect Icons being occasionally
displayed for a moment for Items that use NBT to determine the Icon
(Forestry Bees/Trees).

To eliminate this race condition, all Traveling Items are now cached
(weakly) and ItemStacks are no longer sent as part of the Traveler
Packet. The client must instead request the ItemStack from the server.
The bonus being that the ItemStack (NBT and all) needs only be requested
when it first enters the network.

This also has the affect of further reducing bandwidth usage by Item
pipes, though it should be noted that Item pipes where already the least
bandwidth intensive pipe.

Additionally I rewrote the Item Grouping code. I'd never looked at it
before, but I figured I should make sure it properly maintains the pipe
state after grouping. What I found was 200 lines of wtf code that was
horribly outdated and broken. I replaced it with 20 lines of code that
are less dependent on implementation details of how pipes work. -.-
2013-12-02 17:45:08 -08:00
CovertJaguar 6f57b4a80d Logemerald->Emzuli Rework + PipeEvents
Modified Logemerald:
-Added ability to paint items as they are extracted
-Renamed to Emzuli, texture and recipe changed accordingly

PipeEvents:
-Added PipeEvents a replacement for Hook interfaces, precursor to 1.7
Pipe API
-Implement methods with signature "eventHandler(PipeEventClass event)"
to receive events

Widgets:
-General improvements for use as a button
2013-11-24 06:23:37 -08:00
CovertJaguar 99fca02856 Fix Pipe Raytracing + Improve Pipe interactions
Closes #1246

Its now much easier and more consistent to remove specific addons from a
pipe. Sneak-click with a gate to remove a gate, sneak-click with a
Yellow Wire to remove a Yellow Wire, etc...

Plugs can now be placed easily and simply on any side of the pipe in any
configuration.

Selection Box now highlights the part of the pipe you are pointing at.
2013-10-11 19:16:57 -07:00
CovertJaguar 158c79c301 Clean up Obsidian Pipe code 2013-09-03 02:12:13 -07:00
tommy1019 479ebc2f3f Obsidian pipes can't pick up arrows players can't. 2013-07-27 18:39:26 -05:00
CovertJaguar d62148bb07 Merged EntityData and EntityPassiveItem
They have been replaced by TravelingItem. Which means yes, I broke the
various pipe hooks again.

Additionally IPipedItem and IEntityPassiveItemContribution have been
deleted. Contributions were replaced by a simple NBTCompoundTag field in
TravelingItem (which is essentially all that contributions were anyway).
2013-07-27 05:59:57 -07:00
CovertJaguar 1745d270d8 Internalized IPipedItem
May delete eventually depending on feedback.
2013-07-24 13:14:32 -07:00
CovertJaguar 28c3b15c58 Use Generics to reduce annoying casts in Pipe 2013-07-24 01:17:55 -07:00
CovertJaguar 9cb75de1df PipeLogic Smash 2013-07-17 16:24:57 -07:00
CovertJaguar 61a0e89c4d Smash PipeLogic hard
PipeLogic is now only used by Iron and Wooden pipes. All other pipes use
the empty PipeLogic() class.

Pipe connections are now handled by the new PipeConnectionBans class.
2013-07-16 14:13:57 -07:00
CovertJaguar 80a249e810 An attempt to make pipes movable 2013-07-16 12:58:31 -07:00
CovertJaguar 1d11beaa6b More update work 2013-07-12 14:21:44 -07:00
CovertJaguar af89a9470b Power API Take 3 2013-07-01 14:21:51 -07:00
CovertJaguar 12de71213a Convert Pipe Icon Prov to enum
And fixed a issue with the PowerProvider casting objects to TileEntities
that aren't TileEntities. Fixed by adding a getWorldObj() function to
IPowerReceptor.
2013-06-27 13:10:01 -07:00
CovertJaguar 013fe4ecb4 Possible Tickless compatible system PowerProvider
doWork() callback is now handled in receiveEnergy() as well as in the
tick update. So you can respond more effectively even if you don't want
to tick.
2013-06-25 19:46:07 -07:00
CovertJaguar 1f8c9f78ee Power API rewrite
PowerFrameWork is gone.
PowerProvider is final.
Can have multiple PowerProviders (one for each block side).
PowerProviders can either accept power from pipes or they can't, defined
in constructor.
Removed a bunch of excess code that just cluttered the API.
2013-06-25 01:00:24 -07:00
Krapht 4438947cab Made the IPowerReceptor direction aware 2013-03-27 21:49:30 +01:00
Krapht 0f672972fe Started fix on actions/triggers, untested
Removed Action and Trigger from API
Moved IIconProvider to API
Renamed Action -> BCAction
Renamed Trigger -> BCTrigger
2013-03-16 09:21:48 +01:00
Krapht c5ebbbdf48 Fixed Pipes, Gates, Wires and several items
Actions and Triggers remain
2013-03-16 00:47:08 +01:00
Krapht 9cdd23f03d Migrated gates
Minor renaming
2013-03-09 14:46:03 +01:00
Krapht 365a0c0a47 Renamed pipe related textures
Ported Pipe textures (Pipe "api" changed for submods)
Ported Wire textures
Updated pipe sync to accomodate Icons
Updated all pipes to new "api"
Nerfed Herobrine
2013-03-09 02:26:11 +01:00
Christian df26c32121 Huge amount of fixes. Still a LOT to go. 2013-03-07 00:31:35 -05:00
Christian d7e06e07a3 Update rendering to use the vanilla renderitem- 3d items in pipes :)
Fixed for recent MCP update in forge as well. Refreshed the TileEntityPickupFX code
from the vanilla source. Easier to diff against that source too now.
2013-01-20 20:53:01 -05:00
SirSengir a2d69bc4f8 Initial 1.4.6 port. 2012-12-18 20:43:22 +01:00
SirSengir e42c71e9a3 Refactor/cleanup. 2012-12-17 23:30:54 +01:00
SirSengir 6ed78f37b2 Repackage for new Forge. 2012-12-17 23:29:42 +01:00
Christian cbc621550d Update to 1.4.4. Remove Orientations-> use ForgeDirection instead
Made the quarry much more scalable
Power pipes now have a risk of exploding if they don't have anywhere to dump their power to
Power pipe needs some work to seize rather than exploding
2012-11-10 01:43:12 -05:00
SirSengir a47461a306 Some fixing of assembly table lasers. 2012-09-09 11:54:17 +02:00
SirSengir be58eee547 Reorganizing namespaces. 2012-09-05 22:29:38 +02:00
SirSengir b87d8fd817 Eliminated isClient(). 2012-08-18 11:57:24 +02:00
SirSengir 69958df8b7 Merged proxies. 2012-08-18 11:18:57 +02:00
Krapht f7c5262c09 Forgeified texturebinding for pipeitems, changed getBoundingBoxFromPool to getBoundingBox, fixed Block.getHardness calls 2012-08-11 23:30:22 +02:00
SirSengir 686bde08b3 Removed APIProxy.java, merged functionality into CoreProxy.java. 2012-08-04 12:37:55 +02:00
SirSengir ef603b0d42 Fixed namespace. 2012-07-25 12:45:15 +02:00
Renamed from common/net/minecraft/src/buildcraft/transport/pipes/PipeItemsObsidian.java (Browse further)