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
official fgc
intermediary net/minecraft/class_835
named net/minecraft/client/render/block/entity/PistonBlockEntityRenderer
  • Field Details

    • manager

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

    • PistonBlockEntityRenderer

      public PistonBlockEntityRenderer(BlockEntityRendererFactory.Context ctx)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfgc;<init>(Lfft$a;)V
      intermediary <init> Lnet/minecraft/class_835;<init>(Lnet/minecraft/class_5614$class_5615;)V
      named <init> Lnet/minecraft/client/render/block/entity/PistonBlockEntityRenderer;<init>(Lnet/minecraft/client/render/block/entity/BlockEntityRendererFactory$Context;)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
      official a Lfgc;a(Lcyp;FLeed;Lfdv;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
      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
    • renderModel

      private void renderModel(BlockPos pos, BlockState state, MatrixStack matrices, VertexConsumerProvider vertexConsumers, World world, boolean cull, int overlay)
      Mappings:
      Namespace Name Mixin selector
      official a Lfgc;a(Lgp;Lcyt;Leed;Lfdv;Lcjw;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
      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
    • getRenderDistance

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