Class PulleyRenderer
java.lang.Object
com.simibubi.create.foundation.tileEntity.renderer.SafeTileEntityRenderer<KineticTileEntity>
com.simibubi.create.content.contraptions.base.KineticTileEntityRenderer
com.simibubi.create.content.contraptions.components.structureMovement.pulley.AbstractPulleyRenderer
com.simibubi.create.content.contraptions.components.structureMovement.pulley.PulleyRenderer
- All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<KineticTileEntity>
-
Field Summary
Fields inherited from class com.simibubi.create.content.contraptions.base.KineticTileEntityRenderer
KINETIC_TILE, rainbowMode -
Constructor Summary
ConstructorsConstructorDescriptionPulleyRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.jozufozu.flywheel.core.PartialModelgetCoil()protected floatgetOffset(KineticTileEntity te, float partialTicks) protected net.minecraft.core.Direction.Axisintprotected booleanprotected SuperByteBufferprotected SuperByteBufferMethods inherited from class com.simibubi.create.content.contraptions.components.structureMovement.pulley.AbstractPulleyRenderer
getRenderedBlockState, getRotatedCoil, renderSafe, shouldRenderOffScreenMethods inherited from class com.simibubi.create.content.contraptions.base.KineticTileEntityRenderer
getAngleForTe, getRotatedModel, getRotationAxisOf, getRotationOffsetForPosition, kineticRotationTransform, renderRotatingBuffer, renderRotatingKineticBlock, shaft, standardKineticRotationTransformMethods inherited from class com.simibubi.create.foundation.tileEntity.renderer.SafeTileEntityRenderer
isInvalid, renderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.renderer.blockentity.BlockEntityRenderer
shouldRender
-
Constructor Details
-
PulleyRenderer
public PulleyRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context)
-
-
Method Details
-
getShaftAxis
- Specified by:
getShaftAxisin classAbstractPulleyRenderer
-
getCoil
protected com.jozufozu.flywheel.core.PartialModel getCoil()- Specified by:
getCoilin classAbstractPulleyRenderer
-
renderRope
- Specified by:
renderRopein classAbstractPulleyRenderer
-
renderMagnet
- Specified by:
renderMagnetin classAbstractPulleyRenderer
-
getOffset
- Specified by:
getOffsetin classAbstractPulleyRenderer
-
isRunning
- Specified by:
isRunningin classAbstractPulleyRenderer
-
getViewDistance
public int getViewDistance()- Specified by:
getViewDistancein interfacenet.minecraft.client.renderer.blockentity.BlockEntityRenderer<KineticTileEntity>- Overrides:
getViewDistancein classAbstractPulleyRenderer
-