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 hhf
  • 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> Lhhf;<init>(Lhgs$a;)V
  • Method Details

    • render

      public void render(PistonBlockEntity pistonBlockEntity, float float2, MatrixStack matrixStack, int int2, int int3, Vec3d vec3d, @Nullable ModelCommandRenderer.CrumblingOverlayCommand crumblingOverlayCommand, OrderedRenderCommandQueue orderedRenderCommandQueue)
      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;IILnet/minecraft/util/math/Vec3d;Lnet/minecraft/client/render/command/ModelCommandRenderer$CrumblingOverlayCommand;Lnet/minecraft/client/render/command/OrderedRenderCommandQueue;)V
      intermediary method_3576 Lnet/minecraft/class_835;method_3576(Lnet/minecraft/class_2669;FLnet/minecraft/class_4587;IILnet/minecraft/class_243;Lnet/minecraft/class_11683$class_11792;Lnet/minecraft/class_11659;)V
      official a Lhhf;a(Leia;FLfsq;IILfmy;Lhun$a;Lhey;)V
    • renderModel

      private static void renderModel(MatrixStack matrixStack, OrderedRenderCommandQueue orderedRenderCommandQueue, BlockPos blockPos, BlockState blockState, RegistryEntry<Biome> registryEntry, World world)
      Mappings:
      Namespace Name Mixin selector
      named renderModel Lnet/minecraft/client/render/block/entity/PistonBlockEntityRenderer;renderModel(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/command/OrderedRenderCommandQueue;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/world/World;)V
      intermediary method_3575 Lnet/minecraft/class_835;method_3575(Lnet/minecraft/class_4587;Lnet/minecraft/class_11659;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_6880;Lnet/minecraft/class_1937;)V
      official a Lhhf;a(Lfsq;Lhey;Ljb;Leig;Ljl;Ldqk;)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 bl_ Lhgr;bl_()I