public class AnimatedModelComponent.AMC extends java.lang.Object implements IAnimatedRenderable
| Constructor and Description |
|---|
AMC(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos) |
| Modifier and Type | Method and Description |
|---|---|
Timer |
addTimer(java.lang.String animation,
Timer timer) |
AnimatedModelComponent |
getComponent() |
net.minecraft.util.math.BlockPos |
getPos() |
Timer |
getTimer(java.lang.String animation) |
java.util.Map<java.lang.String,Timer> |
getTimers() |
net.minecraft.world.IBlockAccess |
getWorld() |
boolean |
inFrustrum(net.minecraft.client.renderer.culling.ICamera camera) |
Timer |
removeTimer(java.lang.String animation) |
void |
renderAnimated(net.minecraft.block.Block block,
AnimatedRenderer renderer)
Renders the animated
Shapes for this AnimatedModelComponent. |
public AMC(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos)
public net.minecraft.util.math.BlockPos getPos()
getPos in interface IAnimatedRenderablepublic net.minecraft.world.IBlockAccess getWorld()
getWorld in interface IAnimatedRenderablepublic AnimatedModelComponent getComponent()
public Timer addTimer(java.lang.String animation, Timer timer)
addTimer in interface IAnimatedRenderablepublic Timer removeTimer(java.lang.String animation)
removeTimer in interface IAnimatedRenderablepublic Timer getTimer(java.lang.String animation)
getTimer in interface IAnimatedRenderablepublic java.util.Map<java.lang.String,Timer> getTimers()
public boolean inFrustrum(net.minecraft.client.renderer.culling.ICamera camera)
inFrustrum in interface IAnimatedRenderablepublic void renderAnimated(net.minecraft.block.Block block,
AnimatedRenderer renderer)
Shapes for this AnimatedModelComponent.renderAnimated in interface IAnimatedRenderableblock - the blockrenderer - the renderer