Package net.minecraft.block
Class HopperBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.BlockWithEntity
net.minecraft.block.HopperBlock
- All Implemented Interfaces:
BlockEntityProvider,Itemable
- Mappings:
Namespace Name official bfhintermediary net/minecraft/class_1452named net/minecraft/block/HopperBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.Builder, Block.NeighborGroup, Block.OffsetType -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final VoxelShapestatic final DirectionPropertystatic final BooleanPropertyprivate static final VoxelShapeprivate static final VoxelShapeprivate static final VoxelShapeprivate static final VoxelShapeprivate static final VoxelShapeprivate static final VoxelShapeprivate static final VoxelShapeprivate static final VoxelShapeprivate static final VoxelShapeprivate static final VoxelShapeprivate static final VoxelShapeprivate static final VoxelShapeprivate static final VoxelShapeFields inherited from class net.minecraft.block.Block
blastResistance, BLOCK_STATES, blockSoundGroup, collidable, hardness, lightLevel, LOGGER, material, materialColor, randomTicks, stateManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendProperties(StateManager.Builder<Block, BlockState> builder) booleancanPlaceAtSide(BlockState state, BlockView world, BlockPos pos, BlockPlacementEnvironment blockPlacementEnvironment) getBlockRenderType(BlockState state) intgetComparatorOutput(BlockState state, World world, BlockPos pos) getOutlineShape(BlockState state, BlockView world, BlockPos pos) getRayTraceShape(BlockState state, BlockView world, BlockPos pos) Returns the appropriate RenderLayer for a block.booleanmethod_11562(BlockState state) booleanmethod_11568(BlockState state) booleanmethod_11577(BlockState state) method_14307(BlockView view, BlockState state, BlockPos pos, Direction direction) method_16563(ItemPlacementContext itemPlacementContext) method_16671(BlockView blockView) voidmethod_416(BlockState blockState, World world, BlockPos blockPos, Entity entity) booleanmethod_421(BlockState blockState, World world, BlockPos blockPos, PlayerEntity playerEntity, Hand hand, Direction direction, float float2, float float3, float float4) voidmethod_8659(BlockState blockState, World world, BlockPos blockPos, BlockState blockState2, boolean bool) voidmethod_8668(BlockState blockState, World world, BlockPos blockPos, BlockState blockState2) voidvoidonPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entityprivate voidupdateEnabled(World world, BlockPos pos, BlockState state) withMirror(BlockState state, BlockMirror mirror) withRotation(BlockState state, BlockRotation rotation) Methods inherited from class net.minecraft.block.BlockWithEntity
method_435, method_8651Methods inherited from class net.minecraft.block.Block
addStacksForDisplay, canMobSpawnInside, canReplace, createCuboidShape, createStackFromBlock, dropExperience, getBlastResistance, getBlockFromItem, getCollisionShape, getDefaultState, getFluidState, getHardness, getItem, getLightSubtracted, getLuminance, getMaterial, getMaterialColor, getOffsetPos, getOffsetType, getPistonBehavior, getRawIdFromState, getRenderingSeed, getSlipperiness, getSoundGroup, getStateByRawId, getStateManager, getTranslationKey, hasBlockEntity, hasCollision, hasRandomTicks, hasStats, isAir, isFaceFullSquare, isFullBoundsCubeForCulling, isShapeFullCube, isTranslucent, method_11564, method_11565, method_11566, method_11575, method_11576, method_13315, method_13703, method_13704, method_14308, method_14309, method_16564, method_16565, method_16566, method_16568, method_16569, method_16570, method_16572, method_16573, method_16575, method_16580, method_16582, method_16583, method_16584, method_16585, method_16586, method_16588, method_16592, method_16593, method_16596, method_16599, method_16600, method_397, method_400, method_403, method_410, method_414, method_420, method_8640, method_8650, method_8653, method_8661, method_8664, method_8669, method_8674, onBlockBreak, onBreakByPlayer, onDestroyedByExplosion, onLandedUpon, onSteppedOn, pushEntitiesUpBeforeBlockChange, rainTick, requiresSilkTouch, setDefaultState, setup, shouldDropItemsOnExplosion, toString
-
Field Details
-
field_18353
- Mappings:
Namespace Name Mixin selector official aLbfh;a:Lbme;intermediary field_18353Lnet/minecraft/class_1452;field_18353:Lnet/minecraft/class_2244;named field_18353Lnet/minecraft/block/HopperBlock;field_18353:Lnet/minecraft/state/property/DirectionProperty;
-
field_18354
- Mappings:
Namespace Name Mixin selector official bLbfh;b:Lbmb;intermediary field_18354Lnet/minecraft/class_1452;field_18354:Lnet/minecraft/class_2243;named field_18354Lnet/minecraft/block/HopperBlock;field_18354:Lnet/minecraft/state/property/BooleanProperty;
-
field_18355
- Mappings:
Namespace Name Mixin selector official cLbfh;c:Lcew;intermediary field_18355Lnet/minecraft/class_1452;field_18355:Lnet/minecraft/class_4100;named field_18355Lnet/minecraft/block/HopperBlock;field_18355:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18356
- Mappings:
Namespace Name Mixin selector official oLbfh;o:Lcew;intermediary field_18356Lnet/minecraft/class_1452;field_18356:Lnet/minecraft/class_4100;named field_18356Lnet/minecraft/block/HopperBlock;field_18356:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18357
- Mappings:
Namespace Name Mixin selector official pLbfh;p:Lcew;intermediary field_18357Lnet/minecraft/class_1452;field_18357:Lnet/minecraft/class_4100;named field_18357Lnet/minecraft/block/HopperBlock;field_18357:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18358
- Mappings:
Namespace Name Mixin selector official qLbfh;q:Lcew;intermediary field_18358Lnet/minecraft/class_1452;field_18358:Lnet/minecraft/class_4100;named field_18358Lnet/minecraft/block/HopperBlock;field_18358:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18359
- Mappings:
Namespace Name Mixin selector official rLbfh;r:Lcew;intermediary field_18359Lnet/minecraft/class_1452;field_18359:Lnet/minecraft/class_4100;named field_18359Lnet/minecraft/block/HopperBlock;field_18359:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18360
- Mappings:
Namespace Name Mixin selector official sLbfh;s:Lcew;intermediary field_18360Lnet/minecraft/class_1452;field_18360:Lnet/minecraft/class_4100;named field_18360Lnet/minecraft/block/HopperBlock;field_18360:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18361
- Mappings:
Namespace Name Mixin selector official tLbfh;t:Lcew;intermediary field_18361Lnet/minecraft/class_1452;field_18361:Lnet/minecraft/class_4100;named field_18361Lnet/minecraft/block/HopperBlock;field_18361:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18362
- Mappings:
Namespace Name Mixin selector official uLbfh;u:Lcew;intermediary field_18362Lnet/minecraft/class_1452;field_18362:Lnet/minecraft/class_4100;named field_18362Lnet/minecraft/block/HopperBlock;field_18362:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18363
- Mappings:
Namespace Name Mixin selector official vLbfh;v:Lcew;intermediary field_18363Lnet/minecraft/class_1452;field_18363:Lnet/minecraft/class_4100;named field_18363Lnet/minecraft/block/HopperBlock;field_18363:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18364
- Mappings:
Namespace Name Mixin selector official wLbfh;w:Lcew;intermediary field_18364Lnet/minecraft/class_1452;field_18364:Lnet/minecraft/class_4100;named field_18364Lnet/minecraft/block/HopperBlock;field_18364:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18365
- Mappings:
Namespace Name Mixin selector official xLbfh;x:Lcew;intermediary field_18365Lnet/minecraft/class_1452;field_18365:Lnet/minecraft/class_4100;named field_18365Lnet/minecraft/block/HopperBlock;field_18365:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18366
- Mappings:
Namespace Name Mixin selector official yLbfh;y:Lcew;intermediary field_18366Lnet/minecraft/class_1452;field_18366:Lnet/minecraft/class_4100;named field_18366Lnet/minecraft/block/HopperBlock;field_18366:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18367
- Mappings:
Namespace Name Mixin selector official zLbfh;z:Lcew;intermediary field_18367Lnet/minecraft/class_1452;field_18367:Lnet/minecraft/class_4100;named field_18367Lnet/minecraft/block/HopperBlock;field_18367:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18352
- Mappings:
Namespace Name Mixin selector official ALbfh;A:Lcew;intermediary field_18352Lnet/minecraft/class_1452;field_18352:Lnet/minecraft/class_4100;named field_18352Lnet/minecraft/block/HopperBlock;field_18352:Lnet/minecraft/util/shapes/VoxelShape;
-
-
Constructor Details
-
HopperBlock
- Mappings:
Namespace Name Mixin selector official <init>Lbcs;<init>(Lbcs$c;)Vintermediary <init>Lnet/minecraft/class_197;<init>(Lnet/minecraft/class_197$class_3692;)Vnamed <init>Lnet/minecraft/block/Block;<init>(Lnet/minecraft/block/Block$Builder;)V
-
-
Method Details
-
getOutlineShape
- Overrides:
getOutlineShapein classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxk;Lel;)Lcew;intermediary method_11554Lnet/minecraft/class_197;method_11554(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_4100;named getOutlineShapeLnet/minecraft/block/Block;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shapes/VoxelShape;
-
getRayTraceShape
- Overrides:
getRayTraceShapein classBlock- Mappings:
Namespace Name Mixin selector official hLbcs;h(Lblc;Laxk;Lel;)Lcew;intermediary method_16595Lnet/minecraft/class_197;method_16595(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_4100;named getRayTraceShapeLnet/minecraft/block/Block;getRayTraceShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shapes/VoxelShape;
-
method_16563
- Overrides:
method_16563in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lark;)Lblc;intermediary method_16563Lnet/minecraft/class_197;method_16563(Lnet/minecraft/class_3544;)Lnet/minecraft/class_2232;named method_16563Lnet/minecraft/block/Block;method_16563(Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;
-
method_16671
- Mappings:
Namespace Name Mixin selector official aLben;a(Laxk;)Lbji;intermediary method_16671Lnet/minecraft/class_1451;method_16671(Lnet/minecraft/class_1158;)Lnet/minecraft/class_226;named method_16671Lnet/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:
onPlacedin classBlock- Parameters:
world- The world that the block is inpos- The block's positionstate- The block's BlockStateplacer- The entity who placed the blockitemStack- ItemStack instance- Mappings:
Namespace Name Mixin selector official aLbcs;a(Laxy;Lel;Lblc;Lafa;Late;)Vintermediary method_419Lnet/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;)Vnamed onPlacedLnet/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
- Overrides:
method_11568in classBlock- Mappings:
Namespace Name Mixin selector official rLbcs;r(Lblc;)Zintermediary method_11568Lnet/minecraft/class_197;method_11568(Lnet/minecraft/class_2232;)Znamed method_11568Lnet/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_8668in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;Lblc;)Vintermediary method_8668Lnet/minecraft/class_197;method_8668(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Vnamed method_8668Lnet/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_421in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;Laog;Ladk;Leq;FFF)Zintermediary method_421Lnet/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)Znamed method_421Lnet/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
- Overrides:
onBreakin classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;Lbcs;Lel;)Vintermediary method_8641Lnet/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;)Vnamed onBreakLnet/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
- Mappings:
Namespace Name Mixin selector official aLbfh;a(Laxy;Lel;Lblc;)Vintermediary method_8797Lnet/minecraft/class_1452;method_8797(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Vnamed updateEnabledLnet/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_8659in classBlockWithEntity- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;Lblc;Z)Vintermediary method_8659Lnet/minecraft/class_197;method_8659(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Z)Vnamed method_8659Lnet/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
- Overrides:
getBlockRenderTypein classBlockWithEntity- Mappings:
Namespace Name Mixin selector official cLbcs;c(Lblc;)Lbgy;intermediary method_11552Lnet/minecraft/class_197;method_11552(Lnet/minecraft/class_2232;)Lnet/minecraft/class_2733;named getBlockRenderTypeLnet/minecraft/block/Block;getBlockRenderType(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockRenderType;
-
method_11562
- Overrides:
method_11562in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;)Zintermediary method_11562Lnet/minecraft/class_197;method_11562(Lnet/minecraft/class_2232;)Znamed method_11562Lnet/minecraft/block/Block;method_11562(Lnet/minecraft/block/BlockState;)Z
-
method_11577
- Overrides:
method_11577in classBlock- Mappings:
Namespace Name Mixin selector official uLbcs;u(Lblc;)Zintermediary method_11577Lnet/minecraft/class_197;method_11577(Lnet/minecraft/class_2232;)Znamed method_11577Lnet/minecraft/block/Block;method_11577(Lnet/minecraft/block/BlockState;)Z
-
getComparatorOutput
- Overrides:
getComparatorOutputin classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;)Iintermediary method_8686Lnet/minecraft/class_197;method_8686(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Inamed getComparatorOutputLnet/minecraft/block/Block;getComparatorOutput(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)I
-
getRenderLayerType
Returns the appropriate RenderLayer for a block. Only called on the client.- Overrides:
getRenderLayerTypein classBlock- Returns:
- The block's RenderLayer
- Mappings:
Namespace Name Mixin selector official cLbcs;c()Laxl;intermediary method_8687Lnet/minecraft/class_197;method_8687()Lnet/minecraft/class_2165;named getRenderLayerTypeLnet/minecraft/block/Block;getRenderLayerType()Lnet/minecraft/client/render/BlockRenderLayer;
-
withRotation
- Overrides:
withRotationin classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Lbhb;)Lblc;intermediary method_11556Lnet/minecraft/class_197;method_11556(Lnet/minecraft/class_2232;Lnet/minecraft/class_2734;)Lnet/minecraft/class_2232;named withRotationLnet/minecraft/block/Block;withRotation(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/block/BlockState;
-
withMirror
- Overrides:
withMirrorin classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Lbfz;)Lblc;intermediary method_11555Lnet/minecraft/class_197;method_11555(Lnet/minecraft/class_2232;Lnet/minecraft/class_2727;)Lnet/minecraft/class_2232;named withMirrorLnet/minecraft/block/Block;withMirror(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockMirror;)Lnet/minecraft/block/BlockState;
-
appendProperties
- Overrides:
appendPropertiesin classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lble$a;)Vintermediary method_16576Lnet/minecraft/class_197;method_16576(Lnet/minecraft/class_2233$class_3757;)Vnamed appendPropertiesLnet/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_14307in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Laxk;Lblc;Lel;Leq;)Lblb;intermediary method_14307Lnet/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_14307Lnet/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
- Overrides:
method_416in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;Laer;)Vintermediary method_416Lnet/minecraft/class_197;method_416(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_864;)Vnamed method_416Lnet/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:
canPlaceAtSidein classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxk;Lel;Lcbf;)Zintermediary method_8663Lnet/minecraft/class_197;method_8663(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_4064;)Znamed canPlaceAtSideLnet/minecraft/block/Block;canPlaceAtSide(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockPlacementEnvironment;)Z
-