Package | Description |
---|---|
net.minecraftforge.client.model.b3d |
Modifier and Type | Field and Description |
---|---|
private B3DModel.Node<?> |
B3DClip.NodeClip.node |
private B3DModel.Node<?> |
B3DLoader.NodeJoint.node |
private B3DModel.Node<?> |
B3DLoader.BakedWrapper.node |
private B3DModel.Node<? extends B3DModel.IKind<?>> |
B3DModel.Node.parent |
private B3DModel.Node<B3DModel.Pivot> |
B3DModel.Pivot.parent |
private B3DModel.Node<B3DModel.Mesh> |
B3DModel.Mesh.parent |
private B3DModel.Node<B3DModel.Bone> |
B3DModel.Bone.parent |
private B3DModel.Node<?> |
B3DModel.root |
Modifier and Type | Field and Description |
---|---|
private java.util.Deque<com.google.common.collect.Table<java.lang.Integer,java.util.Optional<B3DModel.Node<?>>,B3DModel.Key>> |
B3DModel.Parser.animations |
private java.util.Set<B3DModel.Node<B3DModel.Bone>> |
B3DModel.Mesh.bones |
private static com.google.common.cache.LoadingCache<org.apache.commons.lang3.tuple.Triple<B3DModel.Animation,B3DModel.Node<?>,java.lang.Integer>,TRSRTransformation> |
B3DLoader.B3DState.cache |
private com.google.common.collect.ImmutableTable<java.lang.Integer,B3DModel.Node<?>,B3DModel.Key> |
B3DModel.Animation.keys |
private com.google.common.collect.ImmutableMap<java.lang.String,B3DModel.Node<B3DModel.Mesh>> |
B3DModel.meshes |
private com.google.common.collect.ImmutableMap.Builder<java.lang.String,B3DModel.Node<B3DModel.Mesh>> |
B3DModel.Parser.meshes |
private com.google.common.collect.ImmutableMap<java.lang.String,B3DModel.Node<?>> |
B3DModel.Node.nodes |
private com.google.common.collect.ImmutableMultimap<B3DModel.Vertex,org.apache.commons.lang3.tuple.Pair<java.lang.Float,B3DModel.Node<B3DModel.Bone>>> |
B3DModel.Mesh.weightMap |
Modifier and Type | Method and Description |
---|---|
static <K extends B3DModel.IKind<K>> |
B3DModel.Node.create(java.lang.String name,
javax.vecmath.Vector3f pos,
javax.vecmath.Vector3f scale,
javax.vecmath.Quat4f rot,
java.util.List<B3DModel.Node<?>> nodes,
K kind) |
B3DModel.Node<?> |
B3DLoader.NodeJoint.getNode() |
B3DModel.Node<K> |
B3DModel.IKind.getParent() |
B3DModel.Node<? extends B3DModel.IKind<?>> |
B3DModel.Node.getParent() |
B3DModel.Node<B3DModel.Pivot> |
B3DModel.Pivot.getParent() |
B3DModel.Node<B3DModel.Mesh> |
B3DModel.Mesh.getParent() |
B3DModel.Node<B3DModel.Bone> |
B3DModel.Bone.getParent() |
B3DModel.Node<?> |
B3DModel.getRoot() |
private B3DModel.Node<?> |
B3DModel.Parser.node() |
Modifier and Type | Method and Description |
---|---|
private com.google.common.collect.ImmutableMap<java.lang.String,B3DModel.Node<?>> |
B3DModel.Node.buildNodeMap(java.util.List<B3DModel.Node<?>> nodes) |
com.google.common.collect.ImmutableSet<B3DModel.Node<B3DModel.Bone>> |
B3DModel.Mesh.getBones() |
com.google.common.collect.ImmutableTable<java.lang.Integer,B3DModel.Node<?>,B3DModel.Key> |
B3DModel.Animation.getKeys() |
com.google.common.collect.ImmutableMap<java.lang.String,B3DModel.Node<B3DModel.Mesh>> |
B3DModel.getMeshes() |
com.google.common.collect.ImmutableMap<java.lang.String,B3DModel.Node<?>> |
B3DModel.Node.getNodes() |
com.google.common.collect.ImmutableMultimap<B3DModel.Vertex,org.apache.commons.lang3.tuple.Pair<java.lang.Float,B3DModel.Node<B3DModel.Bone>>> |
B3DModel.Mesh.getWeightMap() |
Modifier and Type | Method and Description |
---|---|
private void |
B3DLoader.BakedWrapper.generateQuads(com.google.common.collect.ImmutableList.Builder<BakedQuad> builder,
B3DModel.Node<?> node,
IModelState state,
com.google.common.collect.ImmutableList<java.lang.String> path) |
static TRSRTransformation |
B3DLoader.B3DState.getNodeMatrix(B3DModel.Animation animation,
B3DModel.Node<?> node,
int frame) |
TRSRTransformation |
B3DLoader.B3DState.getNodeMatrix(B3DModel.Node<?> node) |
TRSRTransformation |
B3DLoader.B3DState.getNodeMatrix(B3DModel.Node<?> node,
int frame) |
void |
B3DModel.Node.setParent(B3DModel.Node<? extends B3DModel.IKind<?>> parent) |
void |
B3DModel.Bone.setParent(B3DModel.Node<B3DModel.Bone> parent) |
void |
B3DModel.Mesh.setParent(B3DModel.Node<B3DModel.Mesh> parent) |
void |
B3DModel.Pivot.setParent(B3DModel.Node<B3DModel.Pivot> parent) |
void |
B3DModel.IKind.setParent(B3DModel.Node<K> parent) |
Modifier and Type | Method and Description |
---|---|
B3DModel.Vertex |
B3DModel.Vertex.bake(B3DModel.Mesh mesh,
java.util.function.Function<B3DModel.Node<?>,javax.vecmath.Matrix4f> animator) |
com.google.common.collect.ImmutableList<B3DModel.Face> |
B3DModel.Mesh.bake(java.util.function.Function<B3DModel.Node<?>,javax.vecmath.Matrix4f> animator) |
private com.google.common.collect.ImmutableMap<java.lang.String,B3DModel.Node<?>> |
B3DModel.Node.buildNodeMap(java.util.List<B3DModel.Node<?>> nodes) |
static <K extends B3DModel.IKind<K>> |
B3DModel.Node.create(java.lang.String name,
javax.vecmath.Vector3f pos,
javax.vecmath.Vector3f scale,
javax.vecmath.Quat4f rot,
java.util.List<B3DModel.Node<?>> nodes,
K kind) |
void |
B3DModel.Node.setAnimation(org.apache.commons.lang3.tuple.Triple<java.lang.Integer,java.lang.Integer,java.lang.Float> animData,
com.google.common.collect.Table<java.lang.Integer,java.util.Optional<B3DModel.Node<?>>,B3DModel.Key> keyData) |
Constructor and Description |
---|
B3DModel(java.util.List<B3DModel.Texture> textures,
java.util.List<B3DModel.Brush> brushes,
B3DModel.Node<?> root,
com.google.common.collect.ImmutableMap<java.lang.String,B3DModel.Node<B3DModel.Mesh>> meshes) |
BakedWrapper(B3DModel.Node<?> node,
IModelState state,
boolean smooth,
boolean gui3d,
VertexFormat format,
com.google.common.collect.ImmutableSet<java.lang.String> meshes,
com.google.common.collect.ImmutableMap<java.lang.String,TextureAtlasSprite> textures) |
BakedWrapper(B3DModel.Node<?> node,
IModelState state,
boolean smooth,
boolean gui3d,
VertexFormat format,
com.google.common.collect.ImmutableSet<java.lang.String> meshes,
com.google.common.collect.ImmutableMap<java.lang.String,TextureAtlasSprite> textures,
com.google.common.cache.LoadingCache<java.lang.Integer,B3DLoader.B3DState> cache) |
NodeClip(B3DModel.Node<?> node) |
NodeJoint(B3DModel.Node<?> node) |
Constructor and Description |
---|
Animation(int flags,
int frames,
float fps,
com.google.common.collect.ImmutableTable<java.lang.Integer,B3DModel.Node<?>,B3DModel.Key> keys) |
B3DModel(java.util.List<B3DModel.Texture> textures,
java.util.List<B3DModel.Brush> brushes,
B3DModel.Node<?> root,
com.google.common.collect.ImmutableMap<java.lang.String,B3DModel.Node<B3DModel.Mesh>> meshes) |
Node(java.lang.String name,
javax.vecmath.Vector3f pos,
javax.vecmath.Vector3f scale,
javax.vecmath.Quat4f rot,
java.util.List<B3DModel.Node<?>> nodes,
K kind) |