public class FixedChainBuffer
extends java.lang.Object
| Constructor and Description |
|---|
FixedChainBuffer() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyChainSwingBuffer(net.minecraft.client.model.ModelRenderer... boxes)
Applies this buffer on the Y axis to the given array of model boxes.
|
void |
applyChainWaveBuffer(net.minecraft.client.model.ModelRenderer... boxes)
Applies this buffer on the X axis to the given array of model boxes.
|
void |
calculateChainSwingBuffer(float maxAngle,
int bufferTime,
float angleDecrement,
net.minecraft.entity.EntityLivingBase entity)
Calculates the wave amounts for the given entity (X axis)
|
void |
calculateChainSwingBuffer(float maxAngle,
int bufferTime,
float angleDecrement,
float divisor,
net.minecraft.entity.EntityLivingBase entity)
Calculates the swing amounts for the given entity (Y axis)
|
public void calculateChainSwingBuffer(float maxAngle,
int bufferTime,
float angleDecrement,
float divisor,
net.minecraft.entity.EntityLivingBase entity)
maxAngle - the furthest this ChainBuffer can swingbufferTime - the time it takes to swing this buffer in ticksangleDecrement - the angle to decrement by for each model pieceentity - the entity with this ChainBufferpublic void calculateChainSwingBuffer(float maxAngle,
int bufferTime,
float angleDecrement,
net.minecraft.entity.EntityLivingBase entity)
maxAngle - the furthest this ChainBuffer can wavebufferTime - the time it takes to wave this buffer in ticksangleDecrement - the angle to decrement by for each model pieceentity - the entity with this ChainBufferpublic void applyChainSwingBuffer(net.minecraft.client.model.ModelRenderer... boxes)
boxes - the box arraypublic void applyChainWaveBuffer(net.minecraft.client.model.ModelRenderer... boxes)
boxes - the box array