yueh
15582fd1df
Always use qualified access for fields and methods
2017-07-20 21:27:22 +02:00
yueh
7de90ed0ae
Finally use Java7 <>
2017-07-20 21:21:45 +02:00
yueh
8ec8babb6a
Organised imports
2017-07-20 21:18:49 +02:00
yueh
621910df91
Format sourcecode
2017-07-20 21:17:10 +02:00
Gunther De Wachter
458356a2be
First attempt at combining the Block registration and TE registration whilst still keeping support for addons.
...
It might need some refinement in the future.
2017-07-14 04:47:40 +02:00
Gunther De Wachter
fbcf8c4705
Highly incomplete code. First work on porting to 1.12. Still need to rework a LOT of things.
2017-07-06 01:57:19 +02:00
Gunther De Wachter
0e2f8a22a2
Decided to go for a more "separated" TE registration.
...
This will still make it so addons still get to add custom blocks without having to change too much of the internals.
It still needs thorough testing though. I don't want to change this too much because it ruins older worlds.
2017-07-04 15:40:57 +02:00
Gunther De Wachter
890eef1803
Update MCP Mappings to stable_32
...
Some mapping updates are just straight up weird. 20170516 -> isBlockSolid, 20170517 -> causesDownwardCurrent
2017-07-03 06:54:45 +02:00
Gunther De Wachter
e96339dd2b
Fix more items and unsafe checks that made items get deleted.
2017-07-02 07:44:21 +02:00
Gunther De Wachter
eb0b304fd9
Even more null fixes.
2017-07-02 04:13:49 +02:00
Gunther De Wachter
49a6df5bc7
Fixed up the Tile Entity mess a bit, still need to look at the CableBus stuff a bit though.
2017-06-30 17:22:06 +02:00
Gunther De Wachter
3ac7e518b1
Fixed compile error from cherry-picked commit.
2017-06-29 05:47:51 +02:00
yueh
af85a2bf67
Fixes #2713 : Call super#onBlockActivated() for wrench interaction. ( #2728 )
2017-06-29 05:39:31 +02:00
Gunther De Wachter
61b81fc802
Fix facade recipes. Hopefully the last null check fix.
2017-06-27 20:39:06 +02:00
Gunther De Wachter
da5879b667
First batch of null -> isEmpty() checks.
...
I most likely still missed a ton of checks...
2017-06-26 05:15:25 +02:00
Gunther De Wachter
c6bdf845a8
Add a temporary (?) method to register the TileEntities because the Forge method changed from 1.10 to 1.11.2.
2017-06-03 00:53:32 +02:00
Gunther De Wachter
86dd8193f7
Add/Change some missing code for the 1.11.2 upgrade
2017-06-02 23:55:31 +02:00
yueh
1cde7bc933
Changed to Null ItemStack instead of null.
2016-12-21 20:38:37 +01:00
yueh
ed9e6dd21c
Port to 1.11
2016-12-21 20:38:36 +01:00
yueh
589730bfad
Fixes #2707 : Calculuate the correct AABB for a rotated skychest.
2016-12-17 23:47:42 +01:00
yueh
a14cf2204d
Fixes anchor rendering ( #2698 )
...
* Fixes #2680 : Use a shorter cable anchor model when blocked by a facade.
* Fixes #2664 : Prevent anchors from creating intersection.
Replaced the simple List<ResourceLocation> for the static models with a
new container also indicating a solid part, which can be used to prevent
the creation of an intersection.
2016-12-14 22:37:10 +01:00
yueh
d377af9a69
Fixes #2675 : Set fullBlock correctly afterwards.
...
Reduces the visibility of some methods as these should be access through the public methods of Block or the overridden ones.
Removes now useless getCheckedSubBlocks.
2016-12-02 22:15:56 +01:00
yueh
a665200c31
Refactored AEConfig ( #2633 )
...
Added a singleton getter instead the public field.
Reduced all fields to private.
Replaced field access with getters.
Added setters where necessary (Dimension/Biome Registration)
Added config options to disable more features.
Splitted Enum name from the config key.
Changed FacadeConfig and Networkhandler similar to AEConfig.init().
2016-11-26 14:07:34 +01:00
shartte
0e7981d717
Cleaning Up Mod Integrations ( #2581 )
...
* Cleaned up unused Mod integrations other than for mods that are likely to be integrated soon.
* Introduced an easier Facade class to access mod integration abstractions (called Integrations).
* Removed the link between IntegrationType and integration abstraction. Integrations are now explicitly instantiated inside of IntegrationNode.
2016-11-06 20:23:14 +01:00
Sebastian Hartte
c1483d87c7
Fixes #2549 : A block being rendered in the translucent layer will cause the item renderer to completely disable depth-writing causing silly looking models when held in hand.
2016-11-04 11:51:24 +01:00
yueh
1e20086799
Extracts item comparison from Platform into their own helper. ( #2555 )
...
* Extracts item comparison from Platform into their own helper.
Renamed methods to be more more fitting for the actual comparison.
Added documentation about each methods behaviour.
2016-11-04 09:27:52 +01:00
yueh
b6d3be41e1
Fixes #2542 : Prevent memory card from opening a GUI
...
Some additional cleanup of AEBaseTileBlock#onBlockActivated()
2016-11-01 10:29:46 +01:00
Sebastian Hartte
bd97a6edd5
Fixes #2525 : Break particles for all attachments of a cable bus.
2016-10-29 19:44:10 +02:00
Sebastian Hartte
3c7d91b73e
Fixes #2529 : Forgot to call superclass method for onBlockExploded for tiny tnt.
2016-10-29 11:52:06 +02:00
yueh
2a206594cf
Fixes #2516 : Prefix tile entities with modid
...
For a transition phase it also registers them under their old names.
2016-10-27 18:01:55 +02:00
Sebastian Hartte
8e7dadf7e9
Fixes #2430 : IOrientableBlock somehow went missing from CGAs.
2016-10-15 13:50:10 +02:00
Sebastian Hartte
ea8c02b591
Implemented translucent facades.
2016-10-15 13:40:41 +02:00
Sebastian Hartte
877f87afe4
Fixes #2414 : Sky Compass not respecting placement face.
2016-10-15 13:13:19 +02:00
Sebastian Hartte
c590e7f6e6
Fixes #2377 : Paint blocks now render correctly.
2016-10-15 11:50:55 +02:00
Sebastian Hartte
070b35f3db
Clarified use of slight face offset.
2016-10-15 00:52:27 +02:00
Sebastian Hartte
7c8ee24f8c
Renamed QNB's getConnections to make more sense.
2016-10-15 00:47:45 +02:00
Sebastian Hartte
7761a37d59
Fixes #2431 : Implemented multi block rendering for quantum network bridge.
2016-10-14 22:59:14 +02:00
Sebastian Hartte
3f6607028d
Fixes #2432 : New model for wireless access point which includes status indicators, correct model rotation, and lit/unlit torch variants.
2016-10-09 19:43:01 +02:00
Sebastian Hartte
d9885bd4a8
Fixes #2429 : Inscriber TESR
2016-10-09 00:03:29 +02:00
Sebastian Hartte
0720d50f2f
Refactored hit particles on cable buses and made the code much nicer.
2016-10-03 21:46:40 +02:00
Sebastian Hartte
8ee6f58656
Fixes #2421 : Reimplemented addHitEffects so that block break particles show up again.
2016-10-03 21:34:58 +02:00
Sebastian Hartte
9eb093d865
Fixes #2392 : Using the Minecraft version of Matrix4f will not set it to identity in the constructor, causing the item to disappear.
2016-10-03 17:32:57 +02:00
yueh
f0e3c6eae9
Fixes #2411 : Use correct direction for compass location
2016-10-03 16:11:07 +02:00
yueh
2e6f15655c
Fixes #2412 : Wrongly declaring SkyStone and SkyStone chest as having subtypes.
2016-10-03 16:06:55 +02:00
Sebastian Hartte
21f4d5e6b6
Added the "rainbow" effect to molecular assemblers.
2016-10-03 12:57:06 +02:00
Sebastian Hartte
af6310b13e
Fixes #2391 . Initial forward/up could never be null thus the initial orientation was never set.
2016-10-03 00:33:43 +02:00
Sebastian Hartte
18ea568e2a
Fixes #2398 by switching to use of the auto rotation
2016-10-02 13:31:37 +02:00
Sebastian Hartte
2de1842445
Implemented facade rendering on the cable bus.
2016-09-29 21:47:50 +02:00
yueh
71396637e3
Organise imports
2016-09-17 17:05:07 +02:00
yueh
035dc244ff
Added missing @Override annotations
2016-09-17 17:00:10 +02:00