RainWarrior
4c8da35655
Improved UV offset hackery - should fix most visible custom model seams.
2016-04-02 18:49:18 +03:00
cpw
6e04a6c572
Squashed commit of the following:
...
commit b3b290aec9d3010a134859da6001ea28a96c2fdc
Merge: c6ce6a0 d803f7d
Author: cpw <cpw@weeksfamily.ca >
Date: Fri Mar 25 13:28:04 2016 -0400
Merge branch 'RegistryRework' of https://github.com/LexManos/MinecraftForge into LexManos-RegistryRework
Implement proper registry slaves. Should help with rollback related issues.
Missing patch
commit d803f7db76
Author: LexManos <LexManos@gmail.com >
Date: Tue Mar 22 03:36:14 2016 -0700
Update VillagerRegistry and use it. Should in theory make custom villagers work now. Using string version instead of int id for networking.
commit eb5e5b4b42
Author: LexManos <LexManos@gmail.com >
Date: Tue Mar 22 02:14:16 2016 -0700
More cleanup.
commit edbc56b2ff
Author: LexManos <LexManos@gmail.com >
Date: Tue Mar 22 02:05:23 2016 -0700
More cleanups, removed deprecated UniqueIdentifier {ResourceLocation now}
commit e2df8d1be3
Author: LexManos <LexManos@gmail.com >
Date: Tue Mar 22 01:29:19 2016 -0700
Stupid generics....
commit 46d57dc467
Author: LexManos <LexManos@gmail.com >
Date: Tue Mar 22 01:00:25 2016 -0700
Some registry tweaking to provde a non-complicated API modders can use.
2016-04-01 20:56:06 -04:00
RainWarrior
90758f8c96
Fixed StackOverflow caused by the previous commit, closes #2669 .
2016-03-29 15:34:45 +03:00
RainWarrior
a073b0e386
Prevent missing model from loading multiple times.
2016-03-29 12:07:26 +03:00
RainWarrior
6e68aa4106
Enabled diffuse lighting by default in UnpackedBakedQuad.Builder.
2016-03-26 09:41:05 +03:00
RainWarrior
75032ebf9c
Made some more public fields either private or final.
2016-03-24 22:22:21 +03:00
RainWarrior
a9d23f5e78
Cleanup: removed IEEP, removed redundant casts, fixed imports, fixed typos.
2016-03-24 22:22:20 +03:00
RainWarrior
884cc690ea
Show meaningful error if ModelLoaderRegistry is used before the missing model is initialized.
2016-03-23 08:20:06 +03:00
RainWarrior
bebf22c0b0
Added default left hand transforms for forge transform strings. Closes #2615 .
2016-03-21 18:55:22 +03:00
RainWarrior
438145995c
Ignore blocks/items with null registry name during model loading. Fixes NPE during resource reloading in worlds with removed blocks/items.
2016-03-21 18:29:45 +03:00
RainWarrior
4e6ad80370
Removed blockCenterToCorner from TRSRTransformation constructor. Closes #2461 .
2016-03-21 18:23:27 +03:00
RainWarrior
c589a3a299
Implemented slightly more generic version of UVLock, re-enabled it for json models. Closes #2607 .
2016-03-21 18:06:35 +03:00
RainWarrior
4b53f0716b
instance -> INSTANCE
2016-03-21 10:48:52 +03:00
RainWarrior
286c8c05b7
Separated model classes to client and common packages.
2016-03-21 10:48:52 +03:00
RainWarrior
5f62404f8a
Switched animation system to capabilities, added animated item example, fixed state passing in MultiModel.
2016-03-21 10:48:52 +03:00
RainWarrior
ad03581fbe
Fixed sprite not being passed to the quad builder for custom models.
2016-03-19 09:48:46 +03:00
RainWarrior
a81dfbc4ef
Fixed quads that don't need diffuse lighting getting it anyway.
2016-03-17 14:11:24 +03:00
RainWarrior
b8bb8c374c
Fixed MultiLayerModel not getting correct submodels; Unified the gui lighting of normal and custom models - diffuse lighting is now done in the pipeline, no need for IColoredBakedQuad anymore.
2016-03-17 07:29:44 +03:00
RainWarrior
6b926f9a06
Javadocs, small cleanup.
2016-03-16 05:17:33 +03:00
RainWarrior
8b4bce37de
Fixed progress reporting for model loading.
2016-03-16 05:00:44 +03:00
RainWarrior
b81a13d010
Fixed model error reporting, fixed model errors in test mods that shouldn't happen, fixed custom texture loading, made more things private/final.
2016-03-16 01:42:23 +03:00
RainWarrior
5d352bda6c
Big model loader refactoring: simplified a lot of things, broke some error reporting. Still generally works.
2016-03-13 16:16:25 +03:00
RainWarrior
a799bbad2d
First version of updated of ModelLoader, mostly works.
2016-03-13 12:10:50 +03:00
RainWarrior
4650ee2789
Updated to latest mappings. Exc is broken, some anonymous classes didn't map to srg names.
2016-03-13 04:40:03 +03:00
LexManos
873899a62b
Fixed position being shifted before being sent to shouldSideBeRendered.
2016-03-09 15:15:52 -08:00
LexManos
7b7156e87f
Interaction hooks need to be re-added but compiles {Doesn't run}
2016-03-09 14:11:56 -08:00
cpw
25256c8ddd
More fixups, removing chestgenstuff aggressively. Use loot tables. Any missing ones WILL be added by Mojang.
2016-03-08 23:22:54 -05:00
cpw
fffbc0f078
Some more forge code fixes
2016-03-08 16:23:54 -05:00
RainWarrior
ee82341312
Made OBJModel.java compile.
2016-03-06 03:00:08 +03:00
RainWarrior
3e22a2b90d
Model UV lock handling from the state to the model, fixed most compile errors in ModelLoader, disabled it (and ModelBakeEvent) until it's functional, fixed some errors in ForgeHooksClient.
2016-03-06 02:51:39 +03:00
RainWarrior
70670d70ea
Removed generics from IModel subinterfaces, add ed ModelProcessingHelper instead.
2016-03-06 01:34:04 +03:00
RainWarrior
cb909eeb59
Fixed B3D loader, fixed some obvious errors in ModelLoader.
2016-03-05 05:02:34 +03:00
RainWarrior
cff4bf21ae
Updated raw types in ExtendedBlockState, fixed some ATs, updated some things that needed updating in model classes.
2016-03-02 20:00:32 +03:00
RainWarrior
728319cbb5
Fixed most errors in the model stuff, except for ModelLoader and b3d and obj getQuads/handleBlockState methods.
2016-03-01 23:19:38 +03:00
LexManos
ac7c4d2f6c
Some import renames and compile error fixes, killed ~800.
2016-03-01 04:58:03 -08:00
RainWarrior
e495b7599c
ModelLoader: added verbose error logging showing items/blockstates associated with model locations; removed redundant cast leftover from ungenerified code; fixed up a couple of warnings.
2016-02-22 03:53:26 +03:00
Fry
34382745ab
Merge pull request #2488 from bonii-xx/universal_bucket
...
Fix universal bucket logging an exception
2016-02-19 13:27:59 +03:00
Bernhard Bonigl
9b128aaed2
Fix universal bucket logging an exception
2016-02-19 11:17:23 +01:00
RainWarrior
e8915b6a55
Added default levels for fluid extended properties in fluid model.
2016-02-16 14:13:19 +03:00
Bernhard Bonigl
1055206ba8
Add universal bucket
2016-02-16 00:49:01 +01:00
RainWarrior
ed9517a8b4
Fix custom model loader reload hook not firing during registration.
2016-02-10 10:20:13 +03:00
RainWarrior
7e7b855ddf
Fix multiple registrations of reloading hooks in custom model loaders.
2016-02-09 16:09:55 +03:00
RainWarrior
12c924751a
Fix TRSRTransformation.toItemTransform. Closes #2425 .
2016-02-07 17:49:06 +03:00
RainWarrior
085b28ba35
Revert binary-incompatible changes in models.
2016-02-04 13:34:40 +03:00
RainWarrior
bfa17d2f0d
One day I will learn to include all required classes in the commit.
2016-02-02 12:42:41 +03:00
RainWarrior
3bdc75ad49
Added "gui3d" and "smooth_lighting" options to the forge blockstate. Implemented them for vanilla and B3D models. Added generic types to IModel subinterfaces, to simplify chaining.
2016-02-02 12:23:26 +03:00
RainWarrior
a0bf0155ac
Fix NoSuchElementException in ModelBlockAnimation caused by empty event list.
2016-01-26 01:22:21 +03:00
RainWarrior
960717eb0c
Fixed minor race condition between mouse clicks and TESR in the animation example.
2016-01-25 17:39:43 +03:00
RainWarrior
e929199758
Sometimes I forget how much trivial things are missing from Java 6.
2016-01-24 10:10:21 +03:00
RainWarrior
0710bdf3f5
Model animation system.
...
Main things of interest:
* IAnimationStateMachine - state machine for animations; can load
from json.
* AnimationTESR - automatic TESR for animated models.
* AnimationModelBase - same for entities.
* ITimeValue - time-varying value, used to control animation
parameters from code.
* TESRs can now be batched - look at TESR.renderTileEntityFast +
TE.hasFastRenderer.
* RegionRenderCache is not accessible to TESRs and other client-side
logic - MinecraftForgeClient.getRegionRenderCache.
2016-01-24 09:59:38 +03:00