Class PistonBlockEntityRenderer

java.lang.Object
net.minecraft.client.render.block.entity.PistonBlockEntityRenderer
All Implemented Interfaces:
BlockEntityRenderer<PistonBlockEntity>

@Environment(CLIENT) public class PistonBlockEntityRenderer extends Object implements BlockEntityRenderer<PistonBlockEntity>
Mappings:
Namespace Name
named net/minecraft/client/render/block/entity/PistonBlockEntityRenderer
intermediary net/minecraft/class_835
official ghl
  • Field Details

    • manager

      private final BlockRenderManager manager
      Mappings:
      Namespace Name Mixin selector
      named manager Lnet/minecraft/client/render/block/entity/PistonBlockEntityRenderer;manager:Lnet/minecraft/client/render/block/BlockRenderManager;
      intermediary field_4389 Lnet/minecraft/class_835;field_4389:Lnet/minecraft/class_776;
      official a Lghl;a:Lgft;
  • Constructor Details

    • PistonBlockEntityRenderer

      public PistonBlockEntityRenderer(BlockEntityRendererFactory.Context ctx)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/block/entity/PistonBlockEntityRenderer;<init>(Lnet/minecraft/client/render/block/entity/BlockEntityRendererFactory$Context;)V
      intermediary <init> Lnet/minecraft/class_835;<init>(Lnet/minecraft/class_5614$class_5615;)V
      official <init> Lghl;<init>(Lgha$a;)V
  • Method Details

    • render

      public void render(PistonBlockEntity pistonBlockEntity, float float2, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, int int3)
      Specified by:
      render in interface BlockEntityRenderer<PistonBlockEntity>
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/render/block/entity/PistonBlockEntityRenderer;render(Lnet/minecraft/block/entity/PistonBlockEntity;FLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;II)V
      intermediary method_3576 Lnet/minecraft/class_835;method_3576(Lnet/minecraft/class_2669;FLnet/minecraft/class_4587;Lnet/minecraft/class_4597;II)V
      official a Lghl;a(Ldsy;FLfbi;Lgez;II)V
    • renderModel

      private void renderModel(BlockPos pos, BlockState state, MatrixStack matrices, VertexConsumerProvider vertexConsumers, World world, boolean cull, int overlay)
      Mappings:
      Namespace Name Mixin selector
      named renderModel Lnet/minecraft/client/render/block/entity/PistonBlockEntityRenderer;renderModel(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/world/World;ZI)V
      intermediary method_3575 Lnet/minecraft/class_835;method_3575(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_1937;ZI)V
      official a Lghl;a(Ljd;Ldtc;Lfbi;Lgez;Ldcw;ZI)V
    • getRenderDistance

      public int getRenderDistance()
      Specified by:
      getRenderDistance in interface BlockEntityRenderer<PistonBlockEntity>
      Mappings:
      Namespace Name Mixin selector
      named getRenderDistance Lnet/minecraft/client/render/block/entity/BlockEntityRenderer;getRenderDistance()I
      intermediary method_33893 Lnet/minecraft/class_827;method_33893()I
      official aW_ Lggz;aW_()I