net.minecraft.world.level.block

public class HopperBlock

extends BaseEntityBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock

duw
net.minecraft.world.level.block.HopperBlock
net.minecraft.class_2377
net.minecraft.block.HopperBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<HopperBlock>
a
CODEC
field_46370
CODEC
public static final EnumProperty<Direction>
b
FACING
field_11129
FACING
public static final BooleanProperty
c
ENABLED
field_11126
ENABLED
private final Function<BlockState, VoxelShape>
d
shapes
field_55766
shapeFunction
private final Map<Direction, VoxelShape>
e
interactionShapes
field_55767
shapesByDirection

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<HopperBlock>
a()
codec()
method_53969()
getCodec()
private Function<BlockState, VoxelShape>
b(fks arg0)
makeShapes(VoxelShape arg0)
method_66439(class_265 arg0)
createShapeFunction(VoxelShape shape)
protected VoxelShape
a(efg arg0, dms arg1, jb arg2, fkd arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
protected VoxelShape
a(efg arg0, dms arg1, jb arg2)
getInteractionShape(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_9584(class_2680 arg0, class_1922 arg1, class_2338 arg2)
getRaycastShape(BlockState arg0, BlockView arg1, BlockPos arg2)
public BlockState
a(dhi arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
public BlockEntity
a(jb arg0, efg arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
public <T extends BlockEntity> BlockEntityTicker<T>
a(dno arg0, efg arg1, ecd<T> arg2)
getTicker(Level arg0, BlockState arg1, BlockEntityType<T> arg2)
method_31645(class_1937 arg0, class_2680 arg1, class_2591<T> arg2)
getTicker(World arg0, BlockState arg1, BlockEntityType<T> arg2)
protected void
a(efg arg0, dno arg1, jb arg2, efg arg3, boolean arg4)
onPlace(BlockState arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
method_9615(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
onBlockAdded(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
protected InteractionResult
a(efg arg0, dno arg1, jb arg2, cvm arg3, fju arg4)
useWithoutItem(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, BlockHitResult arg4)
method_55766(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_3965 arg4)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
protected void
a(efg arg0, dno arg1, jb arg2, dqt arg3, fcz arg4, boolean arg5)
neighborChanged(BlockState arg0, Level arg1, BlockPos arg2, Block arg3, Orientation arg4, boolean arg5)
method_9612(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2248 arg3, class_9904 arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, WireOrientation arg4, boolean arg5)
private void
a(dno arg0, jb arg1, efg arg2)
checkPoweredState(Level arg0, BlockPos arg1, BlockState arg2)
method_10217(class_1937 arg0, class_2338 arg1, class_2680 arg2)
updateEnabled(World world, BlockPos pos, BlockState state)
protected void
a(efg arg0, auf arg1, jb arg2, boolean arg3)
affectNeighborsAfterRemoval(BlockState arg0, ServerLevel arg1, BlockPos arg2, boolean arg3)
method_66388(class_2680 arg0, class_3218 arg1, class_2338 arg2, boolean arg3)
onStateReplaced(BlockState arg0, ServerWorld arg1, BlockPos arg2, boolean arg3)
protected boolean
c_(efg arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
hasComparatorOutput(BlockState arg0)
protected int
a(efg arg0, dno arg1, jb arg2, jh arg3)
getAnalogOutputSignal(BlockState arg0, Level arg1, BlockPos arg2, Direction arg3)
method_9572(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2350 arg3)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2, Direction arg3)
protected BlockState
a(efg arg0, dxq arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
protected BlockState
a(efg arg0, dvz arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
protected void
a(efh$a<dqt, efg> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
protected void
a(efg arg0, dno arg1, jb arg2, bzx arg3, cap arg4)
entityInside(BlockState arg0, Level arg1, BlockPos arg2, Entity arg3, InsideBlockEffectApplier arg4)
method_9548(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1297 arg3, class_10774 arg4)
onEntityCollision(BlockState arg0, World arg1, BlockPos arg2, Entity arg3, EntityCollisionHandler arg4)
protected boolean
a(efg arg0, fcg arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)