Interface ITubeRenderer<T extends com.simibubi.create.foundation.blockEntity.SmartBlockEntity>
public interface ITubeRenderer<T extends com.simibubi.create.foundation.blockEntity.SmartBlockEntity>
-
Method Summary
Modifier and TypeMethodDescriptiondev.engine_room.flywheel.lib.model.baked.PartialModel[]Partial Models of the segments of this tube.default voidmodifySegmentScales(T be, float[] segmentScales, float partialTicks) Get the sizes of the segments for this frame.default voidrenderTube(T be, com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource bufferSource, int light)
-
Method Details
-
renderTube
default void renderTube(T be, com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource bufferSource, int light) -
getTubeSegmentModels
Partial Models of the segments of this tube. The model for each segment will cycle through this array.- Parameters:
be-- Returns:
- Non-empty array of Partial Models
-
modifySegmentScales
Get the sizes of the segments for this frame.
-