Class B3DModel.Node<K extends B3DModel.IKind<K>>
java.lang.Object
net.minecraftforge.client.model.b3d.B3DModel.Node<K>
- Enclosing class:
- B3DModel
-
Field Summary
Modifier and TypeFieldDescriptionprivate B3DModel.Animation
private final K
private final String
private final com.google.common.collect.ImmutableMap<String,
B3DModel.Node<?>> private B3DModel.Node<? extends B3DModel.IKind<?>>
private final Vector3f
private final Quaternion
private final Vector3f
-
Constructor Summary
ConstructorDescriptionNode
(String name, Vector3f pos, Vector3f scale, Quaternion rot, List<B3DModel.Node<?>> nodes, K kind) -
Method Summary
Modifier and TypeMethodDescriptionprivate com.google.common.collect.ImmutableMap<String,
B3DModel.Node<?>> buildNodeMap
(List<B3DModel.Node<?>> nodes) static <K extends B3DModel.IKind<K>>
B3DModel.Node<K>create
(String name, Vector3f pos, Vector3f scale, Quaternion rot, List<B3DModel.Node<?>> nodes, K kind) getKind()
getName()
com.google.common.collect.ImmutableMap<String,
B3DModel.Node<?>> getNodes()
B3DModel.Node<? extends B3DModel.IKind<?>>
getPos()
getRot()
getScale()
void
setAnimation
(B3DModel.Animation animation) void
setAnimation
(org.apache.commons.lang3.tuple.Triple<Integer, Integer, Float> animData, com.google.common.collect.Table<Integer, Optional<B3DModel.Node<?>>, B3DModel.Key> keyData) void
setParent
(B3DModel.Node<? extends B3DModel.IKind<?>> parent) toString()
-
Field Details
-
name
-
pos
-
scale
-
rot
-
nodes
-
animation
-
kind
-
parent
-
-
Constructor Details
-
Node
public Node(String name, Vector3f pos, Vector3f scale, Quaternion rot, List<B3DModel.Node<?>> nodes, K kind)
-
-
Method Details
-
create
public static <K extends B3DModel.IKind<K>> B3DModel.Node<K> create(String name, Vector3f pos, Vector3f scale, Quaternion rot, List<B3DModel.Node<?>> nodes, K kind) -
setAnimation
-
setAnimation
public void setAnimation(org.apache.commons.lang3.tuple.Triple<Integer, Integer, Float> animData, com.google.common.collect.Table<Integer, Optional<B3DModel.Node<?>>, B3DModel.Key> keyData) -
buildNodeMap
private com.google.common.collect.ImmutableMap<String,B3DModel.Node<?>> buildNodeMap(List<B3DModel.Node<?>> nodes) -
getName
-
getKind
-
getPos
-
getScale
-
getRot
-
getNodes
-
getAnimation
-
getParent
-
setParent
-
toString
-