Class HopperBlock

All Implemented Interfaces:
BlockEntityProvider, Itemable

public class HopperBlock extends BlockWithEntity
Mappings:
Namespace Name
official bfh
intermediary net/minecraft/class_1452
named net/minecraft/block/HopperBlock
  • Field Details

    • field_18353

      public static final DirectionProperty field_18353
      Mappings:
      Namespace Name Mixin selector
      official a Lbfh;a:Lbme;
      intermediary field_18353 Lnet/minecraft/class_1452;field_18353:Lnet/minecraft/class_2244;
      named field_18353 Lnet/minecraft/block/HopperBlock;field_18353:Lnet/minecraft/state/property/DirectionProperty;
    • field_18354

      public static final BooleanProperty field_18354
      Mappings:
      Namespace Name Mixin selector
      official b Lbfh;b:Lbmb;
      intermediary field_18354 Lnet/minecraft/class_1452;field_18354:Lnet/minecraft/class_2243;
      named field_18354 Lnet/minecraft/block/HopperBlock;field_18354:Lnet/minecraft/state/property/BooleanProperty;
    • field_18355

      private static final VoxelShape field_18355
      Mappings:
      Namespace Name Mixin selector
      official c Lbfh;c:Lcew;
      intermediary field_18355 Lnet/minecraft/class_1452;field_18355:Lnet/minecraft/class_4100;
      named field_18355 Lnet/minecraft/block/HopperBlock;field_18355:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18356

      private static final VoxelShape field_18356
      Mappings:
      Namespace Name Mixin selector
      official o Lbfh;o:Lcew;
      intermediary field_18356 Lnet/minecraft/class_1452;field_18356:Lnet/minecraft/class_4100;
      named field_18356 Lnet/minecraft/block/HopperBlock;field_18356:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18357

      private static final VoxelShape field_18357
      Mappings:
      Namespace Name Mixin selector
      official p Lbfh;p:Lcew;
      intermediary field_18357 Lnet/minecraft/class_1452;field_18357:Lnet/minecraft/class_4100;
      named field_18357 Lnet/minecraft/block/HopperBlock;field_18357:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18358

      private static final VoxelShape field_18358
      Mappings:
      Namespace Name Mixin selector
      official q Lbfh;q:Lcew;
      intermediary field_18358 Lnet/minecraft/class_1452;field_18358:Lnet/minecraft/class_4100;
      named field_18358 Lnet/minecraft/block/HopperBlock;field_18358:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18359

      private static final VoxelShape field_18359
      Mappings:
      Namespace Name Mixin selector
      official r Lbfh;r:Lcew;
      intermediary field_18359 Lnet/minecraft/class_1452;field_18359:Lnet/minecraft/class_4100;
      named field_18359 Lnet/minecraft/block/HopperBlock;field_18359:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18360

      private static final VoxelShape field_18360
      Mappings:
      Namespace Name Mixin selector
      official s Lbfh;s:Lcew;
      intermediary field_18360 Lnet/minecraft/class_1452;field_18360:Lnet/minecraft/class_4100;
      named field_18360 Lnet/minecraft/block/HopperBlock;field_18360:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18361

      private static final VoxelShape field_18361
      Mappings:
      Namespace Name Mixin selector
      official t Lbfh;t:Lcew;
      intermediary field_18361 Lnet/minecraft/class_1452;field_18361:Lnet/minecraft/class_4100;
      named field_18361 Lnet/minecraft/block/HopperBlock;field_18361:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18362

      private static final VoxelShape field_18362
      Mappings:
      Namespace Name Mixin selector
      official u Lbfh;u:Lcew;
      intermediary field_18362 Lnet/minecraft/class_1452;field_18362:Lnet/minecraft/class_4100;
      named field_18362 Lnet/minecraft/block/HopperBlock;field_18362:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18363

      private static final VoxelShape field_18363
      Mappings:
      Namespace Name Mixin selector
      official v Lbfh;v:Lcew;
      intermediary field_18363 Lnet/minecraft/class_1452;field_18363:Lnet/minecraft/class_4100;
      named field_18363 Lnet/minecraft/block/HopperBlock;field_18363:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18364

      private static final VoxelShape field_18364
      Mappings:
      Namespace Name Mixin selector
      official w Lbfh;w:Lcew;
      intermediary field_18364 Lnet/minecraft/class_1452;field_18364:Lnet/minecraft/class_4100;
      named field_18364 Lnet/minecraft/block/HopperBlock;field_18364:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18365

      private static final VoxelShape field_18365
      Mappings:
      Namespace Name Mixin selector
      official x Lbfh;x:Lcew;
      intermediary field_18365 Lnet/minecraft/class_1452;field_18365:Lnet/minecraft/class_4100;
      named field_18365 Lnet/minecraft/block/HopperBlock;field_18365:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18366

      private static final VoxelShape field_18366
      Mappings:
      Namespace Name Mixin selector
      official y Lbfh;y:Lcew;
      intermediary field_18366 Lnet/minecraft/class_1452;field_18366:Lnet/minecraft/class_4100;
      named field_18366 Lnet/minecraft/block/HopperBlock;field_18366:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18367

      private static final VoxelShape field_18367
      Mappings:
      Namespace Name Mixin selector
      official z Lbfh;z:Lcew;
      intermediary field_18367 Lnet/minecraft/class_1452;field_18367:Lnet/minecraft/class_4100;
      named field_18367 Lnet/minecraft/block/HopperBlock;field_18367:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18352

      private static final VoxelShape field_18352
      Mappings:
      Namespace Name Mixin selector
      official A Lbfh;A:Lcew;
      intermediary field_18352 Lnet/minecraft/class_1452;field_18352:Lnet/minecraft/class_4100;
      named field_18352 Lnet/minecraft/block/HopperBlock;field_18352:Lnet/minecraft/util/shapes/VoxelShape;
  • Constructor Details

    • HopperBlock

      public HopperBlock(Block.Builder settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbcs;<init>(Lbcs$c;)V
      intermediary <init> Lnet/minecraft/class_197;<init>(Lnet/minecraft/class_197$class_3692;)V
      named <init> Lnet/minecraft/block/Block;<init>(Lnet/minecraft/block/Block$Builder;)V
  • Method Details

    • getOutlineShape

      public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos)
      Overrides:
      getOutlineShape in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxk;Lel;)Lcew;
      intermediary method_11554 Lnet/minecraft/class_197;method_11554(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_4100;
      named getOutlineShape Lnet/minecraft/block/Block;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shapes/VoxelShape;
    • getRayTraceShape

      public VoxelShape getRayTraceShape(BlockState state, BlockView world, BlockPos pos)
      Overrides:
      getRayTraceShape in class Block
      Mappings:
      Namespace Name Mixin selector
      official h Lbcs;h(Lblc;Laxk;Lel;)Lcew;
      intermediary method_16595 Lnet/minecraft/class_197;method_16595(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_4100;
      named getRayTraceShape Lnet/minecraft/block/Block;getRayTraceShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shapes/VoxelShape;
    • method_16563

      public BlockState method_16563(ItemPlacementContext itemPlacementContext)
      Overrides:
      method_16563 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lark;)Lblc;
      intermediary method_16563 Lnet/minecraft/class_197;method_16563(Lnet/minecraft/class_3544;)Lnet/minecraft/class_2232;
      named method_16563 Lnet/minecraft/block/Block;method_16563(Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;
    • method_16671

      public BlockEntity method_16671(BlockView blockView)
      Mappings:
      Namespace Name Mixin selector
      official a Lben;a(Laxk;)Lbji;
      intermediary method_16671 Lnet/minecraft/class_1451;method_16671(Lnet/minecraft/class_1158;)Lnet/minecraft/class_226;
      named method_16671 Lnet/minecraft/block/BlockEntityProvider;method_16671(Lnet/minecraft/world/BlockView;)Lnet/minecraft/block/entity/BlockEntity;
    • onPlaced

      public void onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)
      Runs when the block is placed by an entity
      Overrides:
      onPlaced in class Block
      Parameters:
      world - The world that the block is in
      pos - The block's position
      state - The block's BlockState
      placer - The entity who placed the block
      itemStack - ItemStack instance
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Laxy;Lel;Lblc;Lafa;Late;)V
      intermediary method_419 Lnet/minecraft/class_197;method_419(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_1699;Lnet/minecraft/class_1071;)V
      named onPlaced Lnet/minecraft/block/Block;onPlaced(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;)V
    • method_11568

      public boolean method_11568(BlockState state)
      Overrides:
      method_11568 in class Block
      Mappings:
      Namespace Name Mixin selector
      official r Lbcs;r(Lblc;)Z
      intermediary method_11568 Lnet/minecraft/class_197;method_11568(Lnet/minecraft/class_2232;)Z
      named method_11568 Lnet/minecraft/block/Block;method_11568(Lnet/minecraft/block/BlockState;)Z
    • method_8668

      public void method_8668(BlockState blockState, World world, BlockPos blockPos, BlockState blockState2)
      Overrides:
      method_8668 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxy;Lel;Lblc;)V
      intermediary method_8668 Lnet/minecraft/class_197;method_8668(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)V
      named method_8668 Lnet/minecraft/block/Block;method_8668(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
    • method_421

      public boolean method_421(BlockState blockState, World world, BlockPos blockPos, PlayerEntity playerEntity, Hand hand, Direction direction, float float2, float float3, float float4)
      Overrides:
      method_421 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxy;Lel;Laog;Ladk;Leq;FFF)Z
      intermediary method_421 Lnet/minecraft/class_197;method_421(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_988;Lnet/minecraft/class_2961;Lnet/minecraft/class_1354;FFF)Z
      named method_421 Lnet/minecraft/block/Block;method_421(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;Lnet/minecraft/util/math/Direction;FFF)Z
    • onBreak

      public void onBreak(BlockState state, World world, BlockPos arg3, Block block, BlockPos pos)
      Overrides:
      onBreak in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxy;Lel;Lbcs;Lel;)V
      intermediary method_8641 Lnet/minecraft/class_197;method_8641(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_197;Lnet/minecraft/class_2552;)V
      named onBreak Lnet/minecraft/block/Block;onBreak(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;)V
    • updateEnabled

      private void updateEnabled(World world, BlockPos pos, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official a Lbfh;a(Laxy;Lel;Lblc;)V
      intermediary method_8797 Lnet/minecraft/class_1452;method_8797(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)V
      named updateEnabled Lnet/minecraft/block/HopperBlock;updateEnabled(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
    • method_8659

      public void method_8659(BlockState blockState, World world, BlockPos blockPos, BlockState blockState2, boolean bool)
      Overrides:
      method_8659 in class BlockWithEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxy;Lel;Lblc;Z)V
      intermediary method_8659 Lnet/minecraft/class_197;method_8659(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Z)V
      named method_8659 Lnet/minecraft/block/Block;method_8659(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)V
    • getBlockRenderType

      public BlockRenderType getBlockRenderType(BlockState state)
      Overrides:
      getBlockRenderType in class BlockWithEntity
      Mappings:
      Namespace Name Mixin selector
      official c Lbcs;c(Lblc;)Lbgy;
      intermediary method_11552 Lnet/minecraft/class_197;method_11552(Lnet/minecraft/class_2232;)Lnet/minecraft/class_2733;
      named getBlockRenderType Lnet/minecraft/block/Block;getBlockRenderType(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockRenderType;
    • method_11562

      public boolean method_11562(BlockState state)
      Overrides:
      method_11562 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;)Z
      intermediary method_11562 Lnet/minecraft/class_197;method_11562(Lnet/minecraft/class_2232;)Z
      named method_11562 Lnet/minecraft/block/Block;method_11562(Lnet/minecraft/block/BlockState;)Z
    • method_11577

      public boolean method_11577(BlockState state)
      Overrides:
      method_11577 in class Block
      Mappings:
      Namespace Name Mixin selector
      official u Lbcs;u(Lblc;)Z
      intermediary method_11577 Lnet/minecraft/class_197;method_11577(Lnet/minecraft/class_2232;)Z
      named method_11577 Lnet/minecraft/block/Block;method_11577(Lnet/minecraft/block/BlockState;)Z
    • getComparatorOutput

      public int getComparatorOutput(BlockState state, World world, BlockPos pos)
      Overrides:
      getComparatorOutput in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxy;Lel;)I
      intermediary method_8686 Lnet/minecraft/class_197;method_8686(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)I
      named getComparatorOutput Lnet/minecraft/block/Block;getComparatorOutput(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)I
    • getRenderLayerType

      public BlockRenderLayer getRenderLayerType()
      Returns the appropriate RenderLayer for a block. Only called on the client.
      Overrides:
      getRenderLayerType in class Block
      Returns:
      The block's RenderLayer
      Mappings:
      Namespace Name Mixin selector
      official c Lbcs;c()Laxl;
      intermediary method_8687 Lnet/minecraft/class_197;method_8687()Lnet/minecraft/class_2165;
      named getRenderLayerType Lnet/minecraft/block/Block;getRenderLayerType()Lnet/minecraft/client/render/BlockRenderLayer;
    • withRotation

      public BlockState withRotation(BlockState state, BlockRotation rotation)
      Overrides:
      withRotation in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Lbhb;)Lblc;
      intermediary method_11556 Lnet/minecraft/class_197;method_11556(Lnet/minecraft/class_2232;Lnet/minecraft/class_2734;)Lnet/minecraft/class_2232;
      named withRotation Lnet/minecraft/block/Block;withRotation(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/block/BlockState;
    • withMirror

      public BlockState withMirror(BlockState state, BlockMirror mirror)
      Overrides:
      withMirror in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Lbfz;)Lblc;
      intermediary method_11555 Lnet/minecraft/class_197;method_11555(Lnet/minecraft/class_2232;Lnet/minecraft/class_2727;)Lnet/minecraft/class_2232;
      named withMirror Lnet/minecraft/block/Block;withMirror(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockMirror;)Lnet/minecraft/block/BlockState;
    • appendProperties

      protected void appendProperties(StateManager.Builder<Block,BlockState> builder)
      Overrides:
      appendProperties in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lble$a;)V
      intermediary method_16576 Lnet/minecraft/class_197;method_16576(Lnet/minecraft/class_2233$class_3757;)V
      named appendProperties Lnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V
    • method_14307

      public BlockRenderLayer method_14307(BlockView view, BlockState state, BlockPos pos, Direction direction)
      Overrides:
      method_14307 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Laxk;Lblc;Lel;Leq;)Lblb;
      intermediary method_14307 Lnet/minecraft/class_197;method_14307(Lnet/minecraft/class_1158;Lnet/minecraft/class_2232;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Lnet/minecraft/class_3225;
      named method_14307 Lnet/minecraft/block/Block;method_14307(Lnet/minecraft/world/BlockView;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/block/BlockRenderLayer;
    • method_416

      public void method_416(BlockState blockState, World world, BlockPos blockPos, Entity entity)
      Overrides:
      method_416 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxy;Lel;Laer;)V
      intermediary method_416 Lnet/minecraft/class_197;method_416(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_864;)V
      named method_416 Lnet/minecraft/block/Block;method_416(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;)V
    • canPlaceAtSide

      public boolean canPlaceAtSide(BlockState state, BlockView world, BlockPos pos, BlockPlacementEnvironment blockPlacementEnvironment)
      Overrides:
      canPlaceAtSide in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxk;Lel;Lcbf;)Z
      intermediary method_8663 Lnet/minecraft/class_197;method_8663(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_4064;)Z
      named canPlaceAtSide Lnet/minecraft/block/Block;canPlaceAtSide(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockPlacementEnvironment;)Z