Commit Graph
42 Commits
Author SHA1 Message Date
Chicken Bones af07735e7c Made empty multipart block replaceable 2013-09-10 20:20:08 +10:00
Chicken Bones 5747fd9bdf Added view optimisation to rayTrace
Cleaned up BlockMultipart with match statements
2013-09-10 16:10:33 +10:00
Chicken Bones eb66a498df Added support for parts with custom ray tracers. 2013-09-10 15:50:24 +10:00
Chicken Bones ae970734fc Update Forge name mappings
Add untested sorted raytrace.
2013-09-04 14:00:51 +10:00
Chicken Bones 686789acfd Added neighbor tile change events to multiparts
Put an operation sync around the onMoved event
2013-09-04 12:56:11 +10:00
Chicken Bones 982c21a97b Set blockID on descPacket received for compatiblity with save/load style frame mods.
Added MultipartSaveLoad.loadingWorld for parts that want to access the world during NBT load
2013-09-02 23:27:33 +10:00
Chicken Bones 6ae0278511 Fix ticks breaking and worldJoin/Seperate calls on tile hotswap 2013-08-29 08:53:53 +10:00
Chicken Bones 36068e38ea Allow parts to destroy themselves on world load 2013-08-29 00:04:42 +10:00
Chicken Bones 2e60e3f54f Added greater control over partChanged events
Made vanilla rs parts instances of IFaceRedstonePart
update CCL
2013-08-22 01:08:29 +10:00
Chicken Bones 87ad79f11f Added onMoved event to TMultiPart for clearer codepath. 2013-08-20 23:21:20 +10:00
Chicken Bones f9eb162770 Changed micro material rendering to take a part based interface instead of an actual part to allow other non-microblock things to use the renderer.
Added IMaskedRedstoneConnect for redstone parts with special connection modes
Added null check to TMultiPart.world().
Fixed hollow microblocks not rendering hollow on placement
Fixed a problem with packet send order on part remove.
2013-08-15 21:31:15 +10:00
Chicken Bones 5cd7f495d5 Add pickup delay to item drops. 2013-08-14 18:09:01 +10:00
Chicken Bones e6f5c1478a Fixed a bug with the order of remove events. 2013-08-12 16:43:34 +10:00
Chicken Bones 37a3d89382 Modified partChange event to take a parameter of the part that was changed and only send the event to other parts.
Update CCL dep
2013-08-12 13:35:12 +10:00
Chicken Bones 29d16e4886 Fixed onWorldJoin not being called when the container tile is swapped. 2013-08-01 23:54:27 +10:00
Chicken Bones eeb4cfc720 Fixed update ticks being lost on container swap. 2013-07-31 11:08:43 +10:00
Chicken Bones 1721ef0720 Fix chunk index extracting negative y values
Make parts lose their tile reference on being removed, fixes crash with tick scheduler
2013-07-30 11:20:06 +10:00
Chicken Bones e7b307763f CodeChickenCore -> CodeChickenLib refactoring. 2013-07-24 15:32:46 +10:00
Chicken Bones 646e84a163 Added termination markers to replace DataInputStream.available to see if it fixes crashes 2013-07-09 20:19:51 +10:00
Chicken Bones ebb86cd292 Fixed duplicate part drops 2013-07-01 07:09:35 +10:00
Chicken Bones 18c1b79361 Cleaned up collection mess to java.util.Iterable 2013-06-27 15:44:08 +10:00
Chicken Bones 8e18807f77 Fix operation sync (server side only)
Separate ItemMultiPart Java/Scala
2013-06-27 15:30:35 +10:00
Chicken Bones 62457e8155 Renamed TileMultipartObj to TileMultipart as TileMultipart is now class instead of trait
Fixed hollow occlusion
Fixed hollow redstone conduction
Added MultiPart item base class
2013-06-27 15:07:27 +10:00
Chicken Bones ffa0918f4b Completed ASM Mixin compiler and factory. 2013-06-27 06:06:04 +10:00
Chicken Bones 1b97e22aba Added ASMExtensionFactory, to be replaced by a mixin implementation with trait support to handle inner classes generated by scala
Renamed onNeighbourChanged to onNeighborChanged because mcp is american

Added multipass to renderDynamic
2013-06-26 16:48:47 +10:00
Chicken Bones c221e0bdcf Made copyFrom loadFrom distinction to make the copyFrom autogen clearer 2013-06-24 16:57:36 +10:00
Chicken Bones 5ed6a85af7 Send the add packet before any onAdded events get anywhere 2013-06-24 15:45:56 +10:00
Chicken Bones a302ed21c9 Moved TFacePart to a more consistent location 2013-06-24 13:21:44 +10:00
Chicken Bones 83e1713f72 Moved the partMap array to a tile trait to save memory when not needed. 2013-06-24 13:17:27 +10:00
Chicken Bones 5dd78b681c Separated the trait implementations for the ScalaCompilerFactory 2013-06-23 17:50:11 +10:00
Chicken Bones 16a3ea3875 Added some more redstone utilities and made sure masks line up
Fixed smoke particles on redstone torches (bugged in vanilla)
Added functions for world and coordinates on parts to clean code
Added more placement and world interaction events
Properly distinguished converted tiles
Fixed tick scheduler to remain in better sync with vanilla
2013-06-06 17:25:24 +10:00
Chicken Bones 5032937cfb Redstone torch parts
Improved tick scheduler, added random update ticks
2013-06-04 01:47:51 +10:00
Chicken Bones 3fd55ce0a0 Cleaned up unnecessary parentheses in foreach loops 2013-06-03 21:18:26 +10:00
Chicken Bones 38adcdbee1 Added buttons
Moved cuboid render function to CCC-Public
Fixed a redstone transmission bug
Added Tick Scheduler
2013-06-03 19:58:06 +10:00
Chicken Bones 283a723e38 Completed levers, added redstone interaction 2013-06-03 13:30:36 +10:00
Chicken Bones a695de4b9d Levers up to pre-redstone stage 2013-06-02 19:47:07 +10:00
Chicken Bones 931da01077 Started work on Levers
Made part conversion send the desc packet to the client rather than do a local conversion
2013-06-02 13:38:59 +10:00
Chicken Bones 20ce3e153a CCC-Public cleanup 2013-05-29 18:28:08 +10:00
Chicken Bones 626a9ed50e Optimized networking.
Sends a compressed packet containing the description of all tiles on chunk load. Uses position in chunk as an integer rather than world coords.
Combines and compresses all updates packets (change, add, remove) for each player at the end of tick.
2013-05-22 14:50:39 +10:00
Chicken Bones b067a08b34 Added workaround for lack of TileEntityLoadEvent
Fixed bug in part generator duplicating the base tile class
Updated readme to reflect removal of recent forge dependency
2013-05-21 00:19:56 +10:00
Chicken Bones 92b0dd1f5d Moved ScalaBridge out of minecraftforge package
Cut down unnecessary memory consumption on IRandomDisplayTick
2013-05-20 18:42:58 +10:00
Chicken Bones 26f9cbcb09 Initial Commit 2013-05-20 17:09:57 +10:00