类 Font.StringRenderOutput

java.lang.Object
net.minecraft.client.gui.Font.StringRenderOutput
所有已实现的接口:
FormattedCharSink
封闭类:
Font

class Font.StringRenderOutput extends Object implements FormattedCharSink
  • 字段详细资料

    • bufferSource

      final MultiBufferSource bufferSource
    • dropShadow

      private final boolean dropShadow
    • dimFactor

      private final float dimFactor
    • r

      private final float r
    • g

      private final float g
    • b

      private final float b
    • a

      private final float a
    • pose

      private final org.joml.Matrix4f pose
    • mode

      private final Font.DisplayMode mode
    • packedLightCoords

      private final int packedLightCoords
    • x

      float x
    • y

      float y
    • effects

      @Nullable private List<BakedGlyph.Effect> effects
  • 构造器详细资料

    • StringRenderOutput

      public StringRenderOutput(MultiBufferSource pBufferSource, float pX, float pY, int pColor, boolean pDropShadow, org.joml.Matrix4f pPose, Font.DisplayMode pMode, int pPackedLightCoords)
  • 方法详细资料

    • addEffect

      private void addEffect(BakedGlyph.Effect pEffect)
    • accept

      public boolean accept(int pPositionInCurrentSequence, Style pStyle, int pCodePoint)
      指定者:
      accept 在接口中 FormattedCharSink
    • finish

      public float finish(int pBackgroundColor, float pX)