Class FlapStuffs
java.lang.Object
com.simibubi.create.content.logistics.FlapStuffs
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final net.minecraft.world.phys.Vec3static final floatstatic final net.minecraft.world.phys.Vec3static final float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.joml.Matrix4fcommonTransform(net.minecraft.core.BlockPos visualPosition, net.minecraft.core.Direction side, float baseZOffset) static floatflapAngle(float flapness, int segment) static voidrenderFlaps(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)
-
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)
-