mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-17 02:55:17 +00:00
Preparations for the Animation system.
Changes to the Model API - IModelState now works with Optional. Handling of parts of the model is not optional, and coordinate space/result interpretation is up to the caller. IModel doesn't extend IModelPart by default anymore; MapModelState uses composition to achieve previous functionality, IModelPart implementations are disjoint now. Updated perspective handing to the new API, removed IPerspectiveState (MapModelState is now the same thing). Perspective transforms for the default fluid model.
This commit is contained in:
1 parent
9032f7e37e
commit
d6ee373e87
25 files changed
+553
-248
No files matched your search
@@ -147,16 +147,6 @@ public class LayerBreakingTest
|
||||
IFlexibleBakedModel solid;
|
||||
IFlexibleBakedModel translucent;
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
private class DefState implements IModelState
|
||||
{
|
||||
@Override
|
||||
public TRSRTransformation apply(IModelPart part)
|
||||
{
|
||||
return TRSRTransformation.identity();
|
||||
}
|
||||
};
|
||||
|
||||
@Override
|
||||
public List<BakedQuad> getFaceQuads(EnumFacing p_177551_1_)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user