yueh
15582fd1df
Always use qualified access for fields and methods
2017-07-20 21:27:22 +02:00
yueh
621910df91
Format sourcecode
2017-07-20 21:17:10 +02:00
Gunther De Wachter
7414840530
Fixed facades not showing up before F3+A. This is caused by the BlockRendererDispatcher not existing yet in the ModelBakeEvent event.
2017-07-19 19:08:49 +02:00
Gunther De Wachter
6648d18f00
Changed the Parts and Material enum to be more java compliant.
...
Renamed Dense Cables to Dense Smart Cables.
2017-07-16 02:22:30 +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
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
178198b0c6
Fixed render issue with cables/certain blocks on a specific side.
2017-06-29 04:16:35 +02:00
yueh
ed9e6dd21c
Port to 1.11
2016-12-21 20:38:36 +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
Sebastian Hartte
32a0496bc2
Fixes facade stilts sometimes being rendered using the facade texture's tint.
2016-11-07 00:17:24 +01:00
Sebastian Hartte
fbb0c05c7f
Fixes #2577 : Use the item stacks color handler to color tinted quads of the block model.
2016-11-06 03:35:56 +01:00
Sebastian Hartte
2fe5a3cef8
Fixes #2557 : Made facades much more robust when rendering. Facades now use string ids for the base item in NBT again to avoid issues when loading worlds with a different Item ID registry mapping. In addition, we don't store the Block metadata instead of the Item Damage anymore, since when reading a facade back in, we were using that block metadata as the item damage, which is technically incorrect.
2016-11-02 01:43:01 +01:00
Sebastian Hartte
971fc3d243
Fixes #2533 and #2531 : Slight overhaul to how Facades store the associated item and retrieve the sprite.
2016-10-30 15:19:48 +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
59544993bd
This reverts back to the old way of extending the vertex format with the necessary vertex element for lightmap data, if fullbright quads are enabled. Instead of then enabling the extended vertex format for Optifine, it is disabled if Optifine is detected.
...
Since the root cause is actually that the Vanilla lighting pipeline doesn't support such Vertex Formats, we disable it also if the Forge lighting pipeline is disabled.
This also relates to #2489 .
2016-10-27 20:05:18 +02:00
Sebastian Hartte
4b607d8fc8
#2489 : Use a default vertex format for the custom lightmap in the cube builder as well.
2016-10-21 13:44:26 +02:00
Sebastian Hartte
433d575fd4
Fixes #2467 : Straight connections for glass and dense cables are now constrained to the requested connection type on both sides.
2016-10-18 23:47:35 +02:00
Sebastian Hartte
c427fa04a7
Fixes #2472 : Off by when selecting texture for channels >= 5.
2016-10-16 22:27:21 +02:00
Sebastian Hartte
4102f7b8f5
Fixes #2447 : Rotate textures for straight cable connections.
2016-10-15 15:19:22 +02:00
Sebastian Hartte
ea8c02b591
Implemented translucent facades.
2016-10-15 13:40:41 +02:00
Sebastian Hartte
c590e7f6e6
Fixes #2377 : Paint blocks now render correctly.
2016-10-15 11:50:55 +02:00
Sebastian Hartte
e82641760b
Implemented Biometric Card Hash display.
2016-10-12 23:55:08 +02:00
Sebastian Hartte
55d66be929
Fixes #2448 : Facades items and blocks now use the same algorithm to determine the block texture.
...
Facades will now use the correct side to determine the texture to use, and will fall back to general quads.
Fixed crafting of facades on the server by removing the check for model simplicity.
2016-10-09 21:59:56 +02:00
Sebastian Hartte
744ac69fb7
Fixes #2419 : Particle Textures are required, or the block damage model will crash. Also fixed an issue with textures not being propagated for UVL quads.
2016-10-03 21:34:01 +02:00
Sebastian Hartte
8666936646
Updated forge and MCP mappings to latest version.
2016-09-30 22:13:57 +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
93145750c0
Added missing file headers
2016-09-17 16:00:37 +02:00
yueh
f185bc07a6
Capitalised enums to match conventions
2016-09-17 15:06:00 +02:00
Sebastian Hartte
d48e7e1f6d
Implemented spatial pylon rendering.
2016-09-15 22:12:53 +02:00
Sebastian Hartte
9c561d550b
Fixes API compilation problem.
2016-09-13 19:58:38 +02:00
Sebastian Hartte
5b6ed0cfd0
First pass of implementing rendering for crafting cubes ( #7 )
2016-09-12 01:11:38 +02:00
Sebastian Hartte
7e027da804
Reimplemented cable and parts rendering.
2016-09-10 00:56:28 +02:00