Package net.createmod.catnip.render
Interface SuperByteBuffer
- All Superinterfaces:
Rotate<SuperByteBuffer>,Scale<SuperByteBuffer>,Transform<SuperByteBuffer>,Translate<SuperByteBuffer>,TStack<SuperByteBuffer>
- All Known Implementing Classes:
DefaultSuperByteBuffer
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescription<Self extends SuperByteBuffer>
Selfcolor(int color) <Self extends SuperByteBuffer>
Selfcolor(int r, int g, int b, int a) default <Self extends SuperByteBuffer>
Self<Self extends SuperByteBuffer>
Selfdefault <Self extends SuperByteBuffer>
Self<Self extends SuperByteBuffer>
SelfTransforms normals not only by the local matrix stack, but also by the passed matrix stack.com.mojang.blaze3d.vertex.PoseStack<Self extends SuperByteBuffer>
SelfUse max light from calculated light (world light or custom light) and vertex light for the final light value.booleanisEmpty()<Self extends SuperByteBuffer>
Selflight()Indicate that this buffer should look up the light coordinates in the current level.<Self extends SuperByteBuffer>
Selflight(int packedLight) <Self extends SuperByteBuffer>
Selflight(com.mojang.math.Matrix4f lightTransform) Indicate that this buffer should look up the light coordinates in the current level.default <Self extends SuperByteBuffer>
Selflight(com.mojang.math.Matrix4f lightTransform, int packedLight) <Self extends SuperByteBuffer>
Selfoverlay()<Self extends SuperByteBuffer>
Selfoverlay(int overlay) voidrenderInto(com.mojang.blaze3d.vertex.PoseStack ms, com.mojang.blaze3d.vertex.VertexConsumer consumer) <Self extends SuperByteBuffer>
Selfreset()default <Self extends SuperByteBuffer>
Selfrotate(net.minecraft.core.Direction.Axis axis, float radians) <Self extends SuperByteBuffer>
SelfshiftUV(SpriteShiftEntry entry) default <Self extends SuperByteBuffer>
SelfshiftUVScrolling(SpriteShiftEntry entry, float scrollV) <Self extends SuperByteBuffer>
SelfshiftUVScrolling(SpriteShiftEntry entry, float scrollU, float scrollV) <Self extends SuperByteBuffer>
SelfshiftUVtoSheet(SpriteShiftEntry entry, float uTarget, float vTarget, int sheetSize) Methods inherited from interface net.createmod.catnip.utility.flw.Rotate
multiply, multiply, multiplyRadians, rotate, rotate, rotateToFace, rotateX, rotateXRadians, rotateY, rotateYRadians, rotateZ, rotateZRadiansMethods inherited from interface net.createmod.catnip.utility.flw.Transform
mulNormal, mulPose, rotateCentered, rotateCentered, rotateCentered, transform, transformMethods inherited from interface net.createmod.catnip.utility.flw.Translate
centre, nudge, translate, translate, translate, translate, translateAll, translateBack, translateBack, translateBack, translateX, translateY, translateZ, unCentre
-
Method Details
-
renderInto
void renderInto(com.mojang.blaze3d.vertex.PoseStack ms, com.mojang.blaze3d.vertex.VertexConsumer consumer) -
isEmpty
boolean isEmpty() -
getTransforms
com.mojang.blaze3d.vertex.PoseStack getTransforms() -
reset
-
color
-
color
-
disableDiffuse
-
shiftUV
-
shiftUVScrolling
<Self extends SuperByteBuffer> Self shiftUVScrolling(SpriteShiftEntry entry, float scrollU, float scrollV) -
shiftUVtoSheet
<Self extends SuperByteBuffer> Self shiftUVtoSheet(SpriteShiftEntry entry, float uTarget, float vTarget, int sheetSize) -
overlay
-
overlay
-
light
Indicate that this buffer should look up the light coordinates in the current level. -
light
Indicate that this buffer should look up the light coordinates in the current level. Light Positions will be transformed by the passed Matrix before the lookup. -
light
-
hybridLight
Use max light from calculated light (world light or custom light) and vertex light for the final light value. Ineffective if no other light method was called. -
fullNormalTransform
Transforms normals not only by the local matrix stack, but also by the passed matrix stack. -
rotate
default <Self extends SuperByteBuffer> Self rotate(net.minecraft.core.Direction.Axis axis, float radians) -
light
default <Self extends SuperByteBuffer> Self light(com.mojang.math.Matrix4f lightTransform, int packedLight) -
color
-
shiftUVScrolling
-
forEntityRender
-