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
official fti
intermediary net/minecraft/class_4618
named net/minecraft/client/render/OutlineVertexConsumerProvider
  • Field Details

    • parent

      private final VertexConsumerProvider.Immediate parent
      Mappings:
      Namespace Name Mixin selector
      official a Lfti;a:Lfth$a;
      intermediary field_21058 Lnet/minecraft/class_4618;field_21058:Lnet/minecraft/class_4597$class_4598;
      named parent Lnet/minecraft/client/render/OutlineVertexConsumerProvider;parent:Lnet/minecraft/client/render/VertexConsumerProvider$Immediate;
    • plainDrawer

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

      private int red
      Mappings:
      Namespace Name Mixin selector
      official c Lfti;c:I
      intermediary field_21060 Lnet/minecraft/class_4618;field_21060:I
      named red Lnet/minecraft/client/render/OutlineVertexConsumerProvider;red:I
    • green

      private int green
      Mappings:
      Namespace Name Mixin selector
      official d Lfti;d:I
      intermediary field_21061 Lnet/minecraft/class_4618;field_21061:I
      named green Lnet/minecraft/client/render/OutlineVertexConsumerProvider;green:I
    • blue

      private int blue
      Mappings:
      Namespace Name Mixin selector
      official e Lfti;e:I
      intermediary field_21062 Lnet/minecraft/class_4618;field_21062:I
      named blue Lnet/minecraft/client/render/OutlineVertexConsumerProvider;blue:I
    • alpha

      private int alpha
      Mappings:
      Namespace Name Mixin selector
      official f Lfti;f:I
      intermediary field_21063 Lnet/minecraft/class_4618;field_21063:I
      named alpha Lnet/minecraft/client/render/OutlineVertexConsumerProvider;alpha:I
  • Constructor Details

    • OutlineVertexConsumerProvider

      public OutlineVertexConsumerProvider(VertexConsumerProvider.Immediate parent)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfti;<init>(Lfth$a;)V
      intermediary <init> Lnet/minecraft/class_4618;<init>(Lnet/minecraft/class_4597$class_4598;)V
      named <init> Lnet/minecraft/client/render/OutlineVertexConsumerProvider;<init>(Lnet/minecraft/client/render/VertexConsumerProvider$Immediate;)V
  • 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
      official getBuffer Lfth;getBuffer(Lftp;)Leqf;
      intermediary getBuffer Lnet/minecraft/class_4597;getBuffer(Lnet/minecraft/class_1921;)Lnet/minecraft/class_4588;
      named getBuffer Lnet/minecraft/client/render/VertexConsumerProvider;getBuffer(Lnet/minecraft/client/render/RenderLayer;)Lnet/minecraft/client/render/VertexConsumer;
    • setColor

      public void setColor(int red, int green, int blue, int alpha)
      Mappings:
      Namespace Name Mixin selector
      official a Lfti;a(IIII)V
      intermediary method_23286 Lnet/minecraft/class_4618;method_23286(IIII)V
      named setColor Lnet/minecraft/client/render/OutlineVertexConsumerProvider;setColor(IIII)V
    • draw

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