public class DualModelFactory extends PixelmonSmdFactory
Modifier and Type | Class and Description |
---|---|
static class |
DualModelFactory.TransparentImpl<T extends AbstractClientEntity> |
PixelmonSmdFactory.Impl<T extends AbstractClientEntity>
Modifier and Type | Field and Description |
---|---|
protected ResourceWithFallback |
model2 |
protected float |
transparency |
animationIncrement, model, movementThreshold, rotateAngleX, rotateAngleY, transparency2, xOffset, xRotation, yOffset, yRotation, zOffset, zRotation
Constructor and Description |
---|
DualModelFactory(ResourceWithFallback... models) |
Modifier and Type | Method and Description |
---|---|
<T extends AbstractClientEntity> |
createModel() |
DualModelFactory |
setModel2Transparency(float transparency) |
loadModel, setAnimationIncrement, setMovementThreshold, setRotateAngleX, setRotateAngleY, setTranslation, setTransparency, setValues, setXOffset, setXRotation, setYOffset, setYRotation, setZOffset, setZRotation
protected ResourceWithFallback model2
protected float transparency
public DualModelFactory(ResourceWithFallback... models)
public DualModelFactory setModel2Transparency(float transparency)
public <T extends AbstractClientEntity> PixelmonModelSmd<T> createModel()
createModel
in class PixelmonSmdFactory