Class FlapStuffs

java.lang.Object
com.simibubi.create.content.logistics.FlapStuffs

public class FlapStuffs extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final net.minecraft.world.phys.Vec3
     
    static final float
     
    static final net.minecraft.world.phys.Vec3
     
    static final float
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.joml.Matrix4f
    commonTransform(net.minecraft.core.BlockPos visualPosition, net.minecraft.core.Direction side, float baseZOffset)
     
    static float
    flapAngle(float flapness, int segment)
     
    static void
    renderFlaps(com.mojang.blaze3d.vertex.PoseStack ms, com.mojang.blaze3d.vertex.VertexConsumer vb, net.createmod.catnip.render.SuperByteBuffer flapBuffer, net.minecraft.world.phys.Vec3 pivot, net.minecraft.core.Direction funnelFacing, float flapness, float zOffset, int light)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • FLAP_COUNT

      public static final int FLAP_COUNT
      See Also:
    • X_OFFSET

      public static final float X_OFFSET
      See Also:
    • SEGMENT_STEP

      public static final float SEGMENT_STEP
      See Also:
    • TUNNEL_PIVOT

      public static final net.minecraft.world.phys.Vec3 TUNNEL_PIVOT
    • FUNNEL_PIVOT

      public static final net.minecraft.world.phys.Vec3 FUNNEL_PIVOT
  • Constructor Details

    • FlapStuffs

      public FlapStuffs()
  • Method Details

    • renderFlaps

      public static void renderFlaps(com.mojang.blaze3d.vertex.PoseStack ms, com.mojang.blaze3d.vertex.VertexConsumer vb, net.createmod.catnip.render.SuperByteBuffer flapBuffer, net.minecraft.world.phys.Vec3 pivot, net.minecraft.core.Direction funnelFacing, float flapness, float zOffset, int light)
    • flapAngle

      public static float flapAngle(float flapness, int segment)
    • commonTransform

      public static org.joml.Matrix4f commonTransform(net.minecraft.core.BlockPos visualPosition, net.minecraft.core.Direction side, float baseZOffset)