Commit Graph

50 Commits

Author SHA1 Message Date
Shadowfacts b601cdb516
Add multipart placement context isOffset 2019-01-06 10:25:08 -05:00
Juuxel 5173175668 Updating block state neighbors (#2)
* Add item settings

* Restore original build.gradle

* Add a call to updateNeighborStates in updateWorld

This is needed for validating neighboring blocks with getStateForNeighborUpdate.
2019-01-06 09:47:52 -05:00
Shadowfacts 26cfe04646
Fix ShapeUtils::hasSolidSide 2019-01-05 18:20:21 -05:00
Shadowfacts b6813ad14d
Add multipart container hasSolidTopSurface implementation 2019-01-05 18:15:24 -05:00
Shadowfacts e2db11e181
Update JavaDocs 2019-01-05 14:07:19 -05:00
Juuxel 6206c437b9 Add item settings (#1) 2019-01-05 14:05:04 -05:00
Shadowfacts fd737cfd23
Add Multipart::canIntersectWith 2019-01-05 14:04:46 -05:00
Shadowfacts 3351522bd3
Replace Fabric example mod license with LGPL-3 2019-01-05 10:16:35 -05:00
Shadowfacts 32d645776e
Add Multipart add/remove hooks 2019-01-05 10:14:52 -05:00
Shadowfacts 835d75f06e
Add MultipartContainer#getParts(Multipart) 2019-01-05 10:04:24 -05:00
Shadowfacts d411a15bba
Change ItemMultipart -> MultipartItem 2019-01-05 10:02:21 -05:00
Shadowfacts c7a3d16920
Bump version 2019-01-05 10:01:56 -05:00
Shadowfacts 132e4c92e2
Update README 2019-01-01 18:54:08 -05:00
Shadowfacts 733757a694
Fix mixin not using fully qualified method signature 2019-01-01 18:44:53 -05:00
Shadowfacts 5f3ee48296
Update build.gradle 2019-01-01 18:41:49 -05:00
Shadowfacts 4dd1d98600
Remove test initializer from mod def 2019-01-01 18:41:19 -05:00
Shadowfacts 5ad5d569c3
Add container/view methods for getting the world and pos 2019-01-01 18:40:38 -05:00
Shadowfacts f0e150664d
Add hit side to Multipart::activate 2018-12-29 18:45:36 -05:00
Shadowfacts 7c465d01f4
Initial implementation of container getPart(Direction) 2018-12-29 18:33:16 -05:00
Shadowfacts 6ade580e85
Update to latest Fabric/yarn 2018-12-29 13:36:29 -05:00
Shadowfacts 9f2f8ddf9e
Draw block highlight for specific multipart hit 2018-12-29 10:52:53 -05:00
Shadowfacts 4498feaee1
Show targeted multipart in debug HUD 2018-12-29 10:24:06 -05:00
Shadowfacts 53b0db1cc4
Change MultipartEntity container to a view 2018-12-28 13:25:31 -05:00
Shadowfacts 271bb0165e
Remove unnecessary state parameters 2018-12-28 13:17:02 -05:00
Shadowfacts d0d4d8f257
Remove unused method 2018-12-28 13:14:51 -05:00
Shadowfacts 3fa9b5c1ee
Destroy containers that are created unnecessarily 2018-12-28 13:13:51 -05:00
Shadowfacts ab3b81eac9
Add JavaDocs 2018-12-28 13:10:59 -05:00
Shadowfacts 9de6875866
Reorganize 2018-12-27 21:55:51 -05:00
Shadowfacts 36019c3116
Fix desync issue caused by container type switching 2018-12-27 21:44:58 -05:00
Shadowfacts 6d0a8f22bf
Use separate blocks for ticking/non-ticking containers 2018-12-27 21:44:50 -05:00
Shadowfacts 42413ebfae
Tweak container API 2018-12-25 13:29:54 -05:00
Shadowfacts 5759262d07
Initial tickable multipart entity implementation 2018-12-25 12:08:48 -05:00
Shadowfacts 17a5a8d6ee
Cleanup 2018-12-25 10:30:46 -05:00
Shadowfacts b334e6987e
Extract MultipartContainer into its own interface 2018-12-25 10:25:51 -05:00
Shadowfacts d167b53931
Initial MultipartEntity implementation 2018-12-25 10:20:44 -05:00
Shadowfacts 04c21b644c
Add test slab multiparts 2018-12-24 18:25:40 -05:00
Shadowfacts 3cce66f53e
Rewrite multipart placement logic 2018-12-24 18:25:28 -05:00
Shadowfacts dd479376fd
Remove MultipartSlot 2018-12-24 17:16:38 -05:00
Shadowfacts fc5ccc35dd
Fix typo 2018-12-24 16:38:52 -05:00
Shadowfacts 0f8d9f1353
Add multi-model support for multiparts 2018-12-24 15:44:07 -05:00
Shadowfacts 83a2a2e852
Multipart item models 2018-12-24 11:47:50 -05:00
Shadowfacts 5718fb5e16
Cleanup 2018-12-24 11:36:59 -05:00
Shadowfacts 46abfcba3b
Multipart model loading 2018-12-24 11:29:06 -05:00
Shadowfacts 7c059deb02
Update to latest Fabric/yarn 2018-12-22 13:37:19 -05:00
Shadowfacts cb98afd9f3
Fix test texture 2018-12-22 13:24:27 -05:00
Shadowfacts 9dc046491f
Move mixin to ModelLoader 2018-12-22 12:59:16 -05:00
Shadowfacts f03001699b
Add part activation 2018-12-19 20:48:51 -05:00
Shadowfacts 72fa61fe87
Cleanup 2018-12-19 20:48:36 -05:00
Shadowfacts f5c2d193a5
Update Fabric/Yarn 2018-12-19 20:23:04 -05:00
Shadowfacts aa1b254c59
Initial commit 2018-12-19 19:39:10 -05:00