Ben Staddon
23ea237f2c
Fix incorrect lighting of item models ( #4493 )
2017-11-09 14:32:43 -08:00
Ben Staddon
4b3799f460
Change item model alpha tests to match values used for rendering ( #4490 )
2017-11-09 14:31:39 -08:00
mcenderdragon
4cdb6b6d60
Added tint index of 0 to fluid models ( #3938 )
2017-11-09 13:59:30 -08:00
mezz
b5e88dd07b
Improve the Forge Bucket ( #4435 )
2017-10-31 11:03:44 -07:00
Ben Staddon
43749d3fd1
Further reduce quad count of generated item models ( #4448 )
2017-10-31 11:02:09 -07:00
Ben Staddon
8d938660e7
Add caching of data for flat lighting ( #4358 )
2017-10-31 10:09:39 -07:00
Matthew Mirvish
e283d51e28
[1.12.x] [Animation API] Add rotation origin variable ( #4466 )
2017-10-20 22:27:35 -07:00
Ben Staddon
0d34b02f88
Improve performance of vertex format mapping by caching hashcodes ( #4370 )
2017-10-02 16:45:58 -07:00
Ben Staddon
4073891058
Reduce the number of quads generated by ItemLayerModel ( #4332 )
2017-10-02 16:43:06 -07:00
tterrag
6956df4ff2
Allow item models to use formats other than ITEM ( #4273 )
2017-10-02 16:17:35 -07:00
Paul Fulham
4203e7426f
Fix lightmap calculation vertex clamping ( #4387 )
2017-09-17 19:28:11 -07:00
Xander
ce49596014
Add an extra error check for OBJ model materials ( #4402 )
2017-09-16 21:17:12 -07:00
Ben Staddon
ef5ffc2c5d
Add missing bounds checks to ItemTextureQuadConverter ( #4343 )
2017-09-06 14:08:19 -07:00
Ben Staddon
cd5d7d2bed
Adjust float (un)packing functions to be slightly more accurate ( #4316 )
2017-09-06 13:55:41 -07:00
KnightMiner
82d735e43a
Add support for running IModel.retexture() on models from blockstates ( #4200 )
2017-08-09 15:18:35 -05:00
Ben Staddon
0fde64ac38
Clean up uses of deprecated library functions ( #4130 )
...
Avoid catching and rethrowing runtime exceptions
Append error messages to exceptions instead of the log
2017-07-12 21:50:28 -07:00
ichttt
ede05a25f1
Fix missing messages of missing models ( #4120 )
2017-07-03 10:39:42 -07:00
mezz
8581225da8
Use java 8 collection functions
2017-06-28 00:14:10 -07:00
mezz
9675585891
Use lambdas for short anonymous methods
2017-06-27 23:18:09 -07:00
mezz
93025510ae
Use multiple catch, try-with-resources, replace system.out and e.printStackTrace
2017-06-27 22:57:10 -07:00
Ben Staddon
9a09ff68aa
Remove some deprecated methods and clean up
2017-06-25 22:30:18 -07:00
mezz
7892ca922c
Remove the call to client.refreshResources during loading ( #4032 )
2017-06-25 22:13:58 -07:00
Fry
0f7ec7e7fd
Added dependencies and dependency ordering for textures. ( #4070 )
2017-06-26 07:58:19 +04:00
LexManos
45147ac512
Fix ModelBlockAnimation expsing a private class.
2017-06-25 12:23:56 -07:00
RainWarrior
dc043ac79f
Cleanup of model system, taking advantage of java 8;
...
replaced guava Optional and Function with java 8 versions.
2017-06-25 04:08:20 +03:00
LexManos
a26d89c876
First pass of registry rewrite.
...
Tests do not run yet.
Things of note:
Removed the idea of substitutions, just register multiple items with the same name they will override each other like a normal map.
Decoupled Forge registries from vanilla classes. They now use bouncer classes. MODDERS SHOULD NEVER USE THESE
Introduced more stringent registry locking. As it sits things are only allowed to be registered during the RegistryEvent.Registry phases!
This is to force modders to split up their registrations, and pave the way for calling these functions multiple times during a single MC lifecycle.
ObjectHolder, Missing Mappings, etc... *should* now work for all registry types, nothing should be special cased to Blocks/Items anymore.
Added optional generic dummy factory to registries, to allow registry creators the ability to dummy more then just Blocks.
Re-worked the ItemStack transformer and applied it to ItemBlock and ItemBlockSpecial. Allowing us to cleanup reflective hacks in Block callbacks.
Registry onAdd callback is now only fired on the ACTIVE registry, fixing any issues of temp registries overriding active objects.
2017-06-23 16:59:57 -05:00
diesieben07
0e9820c51c
Clean up Logging ( #3953 )
...
# Conflicts:
# patches/minecraft/net/minecraft/client/renderer/texture/Stitcher.java.patch
# patches/minecraft/net/minecraft/client/renderer/texture/TextureMap.java.patch
# patches/minecraft/net/minecraft/entity/EntityList.java.patch
# patches/minecraft/net/minecraft/tileentity/TileEntity.java.patch
# src/main/java/net/minecraftforge/oredict/OreDictionary.java
2017-06-22 23:18:49 -07:00
mezz
e3777f4559
Add missing Override annotations
2017-06-17 18:24:17 -07:00
mezz
c2845967cc
Update MCP mappings to 20170617
2017-06-17 18:06:04 -07:00
mezz
3d322ef925
Update mcp mappings to 20170611
2017-06-17 17:13:44 -07:00
LexManos
f1cca475ea
Initial patch update to 1.12.
...
Some things to note:
Netty is screwy so currently can't join single player. @cpw
Crafting has been MAJORY reworked. The current GameRegistry functions are nooped, this is IN THE WORKS.
Just need to move the recipe list to a full class registry, and then re implement the in-code recipe registration.
Also, it IS advised that modders move to JSON, because ideally we'll see a S->C recipe syncing system in 1.13
which would allow servers to have custom recipes.
OreDictionary currently 1/2 works, need to write a better algorithm for replacing ingredients.
Please be patient
Rendering:
A lot of functions got a new float parameter, this is similar to partial ticks, needs more research
2017-06-10 22:22:02 -04:00
Ben Staddon
2814df89b3
Tweak vertex lighter to avoid causing excess array initialisations ( #3771 )
2017-05-26 13:57:21 -07:00
tterrag
d77033b0d0
Fix normals not being generated for formats without normals ( #3896 )
...
Fix normals not being generated for formats without normals
2017-05-15 12:39:54 +04:00
Vincent Lee
0b41a0a822
Fix forge pipeline block shifts ( #3789 )
2017-05-01 17:53:17 -07:00
mezz
15aee5b18a
Skip loading models if there is a fatal mod dependency error ( #3772 ) Close #3768
2017-04-07 16:48:00 -07:00
Vincent Lee
1df8d5f8e5
Fix forge:default-item missing case for FIXED transform ( #3663 )
2017-02-23 15:36:48 -08:00
RainWarrior
b2e3233dc1
Added check for quad builder to always have the particle texture set, and fixed where that wasn't true. Fixes #3653
2017-02-19 22:11:31 +03:00
RainWarrior
9888214524
Small bugfix in lighting logic.
2017-01-21 21:10:30 +03:00
Fry
bbc107de96
Added the variant name to the missing model. ( #3328 )
2017-01-19 13:57:37 +04:00
Vincent Lee
a41288644d
Skip first baking in ModelLoader ( #3621 )
2017-01-11 18:33:13 -08:00
James Mitchell
c545b8ecd4
Clean up null issues, add more annotations ( #3590 )
2017-01-11 15:17:56 -08:00
RainWarrior
da3af92343
Fix super call to ItemOverrideList constructor inside AnimationItemOverrideList, fixes #3264 .
2017-01-07 04:27:36 +03:00
RainWarrior
cea922432a
Added caching for baked vanilla models, fixes #3594 .
2017-01-07 02:58:36 +03:00
James Mitchell
5165dc52bf
Update MCP mappings to snapshot_nodoc_20161220 ( #3551 )
2016-12-21 15:52:30 -08:00
James Mitchell
6a125ae0d4
Fix uses of uppercase "Forge" where it fails Loader.isModLoaded(modID) ( #3513 )
2016-12-17 13:23:39 -08:00
liach
2337b0a6ae
Moved TextureStitchEvent.Pre to allow custom sprites for blocks ( #3436 )
2016-12-01 20:49:23 -08:00
Ben Staddon
86a772ee8c
Clean up handling of changes to IVertexConsumer ( #3458 )
2016-11-27 02:01:26 -08:00
mezz
2bd8b95a3b
Cleanup some null checks and remove deprecated methods in Item and Block ( #3429 )
2016-11-22 15:20:05 -08:00
mezz
6f1a44a405
Remove deprecated Fluid stuff
2016-11-16 16:17:21 -08:00
shartte
7643be8cdc
Unlike BakedQuad, UnpackedBakedQuad does not propagate the diffuse lighting flag to Vertex Consumers. Made UnpackedBakedQuad conform to BakedQuad's behavior. ( #3181 )
2016-08-12 14:33:38 -07:00