All Known Implementing Classes:
CoilMandrelAnimation, PipeMandrelAnimation

public interface IMandrelAnimation
  • Field Details

    • TYPED_CODEC

      static final com.mojang.serialization.Codec<IMandrelAnimation> TYPED_CODEC
      Use CODEC instead.
    • CODEC

      static final com.mojang.serialization.Codec<IMandrelAnimation> CODEC
    • STREAM_CODEC

      static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,IMandrelAnimation> STREAM_CODEC
  • Method Details

    • getTotalAngleSubtended

      float getTotalAngleSubtended(MandrelBlockEntity be)
      The angle (in degrees) by which the Shaft must turn over the course of this whole animation.
    • animate

      void animate(MandrelBlockEntity be, float partialTicks, com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffer, int light, int overlay, float shaftAngle, float recipeProgress)
    • getType