Class OutlineVertexConsumerProvider

java.lang.Object
net.minecraft.client.render.OutlineVertexConsumerProvider
All Implemented Interfaces:
VertexConsumerProvider

@Environment(CLIENT) public class OutlineVertexConsumerProvider extends Object implements VertexConsumerProvider
Mappings:
Namespace Name
named net/minecraft/client/render/OutlineVertexConsumerProvider
intermediary net/minecraft/class_4618
official hfz
  • Field Details

    • plainDrawer

      private final VertexConsumerProvider.Immediate plainDrawer
      Mappings:
      Namespace Name Mixin selector
      named plainDrawer Lnet/minecraft/client/render/OutlineVertexConsumerProvider;plainDrawer:Lnet/minecraft/client/render/VertexConsumerProvider$Immediate;
      intermediary field_21059 Lnet/minecraft/class_4618;field_21059:Lnet/minecraft/class_4597$class_4598;
      official a Lhfz;a:Lhfw$a;
    • OUTLINE_COLOR

      private int OUTLINE_COLOR
      Mappings:
      Namespace Name Mixin selector
      named OUTLINE_COLOR Lnet/minecraft/client/render/OutlineVertexConsumerProvider;OUTLINE_COLOR:I
      intermediary field_61740 Lnet/minecraft/class_4618;field_61740:I
      official b Lhfz;b:I
  • Constructor Details

    • OutlineVertexConsumerProvider

      public OutlineVertexConsumerProvider()
  • Method Details

    • getBuffer

      public VertexConsumer getBuffer(RenderLayer layer)
      Starts building a buffer that will be drawn with layer.

      The returned vertex consumer can only be safely used until this method is called with a different render layer.

      Note that the user of this method cannot modify states controlled by the render layer. Those states will be overridden by the render layer before drawing them. If you need to set states yourself, consider using Tessellator or making a custom render layer.

      Specified by:
      getBuffer in interface VertexConsumerProvider
      Mappings:
      Namespace Name Mixin selector
      named getBuffer Lnet/minecraft/client/render/VertexConsumerProvider;getBuffer(Lnet/minecraft/client/render/RenderLayer;)Lnet/minecraft/client/render/VertexConsumer;
      intermediary method_73477 Lnet/minecraft/class_4597;method_73477(Lnet/minecraft/class_1921;)Lnet/minecraft/class_4588;
      official a Lhfw;a(Lhgk;)Lfud;
    • setColor

      public void setColor(int red)
      Mappings:
      Namespace Name Mixin selector
      named setColor Lnet/minecraft/client/render/OutlineVertexConsumerProvider;setColor(I)V
      intermediary method_23286 Lnet/minecraft/class_4618;method_23286(I)V
      official a Lhfz;a(I)V
    • draw

      public void draw()
      Mappings:
      Namespace Name Mixin selector
      named draw Lnet/minecraft/client/render/OutlineVertexConsumerProvider;draw()V
      intermediary method_23285 Lnet/minecraft/class_4618;method_23285()V
      official a Lhfz;a()V