net.minecraft.world.level.block

public class HopperBlock

extends BaseEntityBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock

doj
net.minecraft.world.level.block.HopperBlock
net.minecraft.class_2377
net.minecraft.block.HopperBlock
net.minecraft.world.level.block.BlockHopper

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 static final VoxelShape
d
TOP
field_11131
TOP_SHAPE
private static final VoxelShape
e
FUNNEL
field_11127
MIDDLE_SHAPE
private static final VoxelShape
f
CONVEX_BASE
field_11121
OUTSIDE_SHAPE
private static final VoxelShape
g
INSIDE
field_49154
INSIDE_SHAPE
private static final VoxelShape
h
BASE
field_11132
DEFAULT_SHAPE
private static final VoxelShape
i
DOWN_SHAPE
field_11120
DOWN_SHAPE
private static final VoxelShape
j
EAST_SHAPE
field_11134
EAST_SHAPE
private static final VoxelShape
k
NORTH_SHAPE
field_11124
NORTH_SHAPE
private static final VoxelShape
l
SOUTH_SHAPE
field_11122
SOUTH_SHAPE
private static final VoxelShape
m
WEST_SHAPE
field_11130
WEST_SHAPE
private static final VoxelShape
n
DOWN_INTERACTION_SHAPE
field_11125
DOWN_RAYCAST_SHAPE
private static final VoxelShape
o
EAST_INTERACTION_SHAPE
field_11133
EAST_RAYCAST_SHAPE
private static final VoxelShape
G
NORTH_INTERACTION_SHAPE
field_11123
NORTH_RAYCAST_SHAPE
private static final VoxelShape
H
SOUTH_INTERACTION_SHAPE
field_11128
SOUTH_RAYCAST_SHAPE
private static final VoxelShape
I
WEST_INTERACTION_SHAPE
field_11135
WEST_RAYCAST_SHAPE

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<HopperBlock>
a()
codec()
method_53969()
getCodec()
protected VoxelShape
a(dxv arg0, dgn arg1, jh arg2, fcd 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(dxv arg0, dgn arg1, jh 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(dbg arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
public BlockEntity
a(jh arg0, dxv 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(dhi arg0, dxv arg1, duz<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
b(dxv arg0, dhi arg1, jh arg2, dxv 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(dxv arg0, dhi arg1, jh arg2, cpx arg3, fbu 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(dxv arg0, dhi arg1, jh arg2, dkm arg3, evf 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(dhi arg0, jh arg1, dxv 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(dxv arg0, dhi arg1, jh arg2, dxv arg3, boolean arg4)
onRemove(BlockState arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
method_9536(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
protected RenderShape
a_(dxv arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
protected boolean
c_(dxv arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
hasComparatorOutput(BlockState arg0)
protected int
a(dxv arg0, dhi arg1, jh arg2)
getAnalogOutputSignal(BlockState arg0, Level arg1, BlockPos arg2)
method_9572(class_2680 arg0, class_1937 arg1, class_2338 arg2)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2)
protected BlockState
a(dxv arg0, drc arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
protected BlockState
a(dxv arg0, dpl arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
protected void
a(dxw$a<dkm, dxv> 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(dxv arg0, dhi arg1, jh arg2, bvk arg3)
entityInside(BlockState arg0, Level arg1, BlockPos arg2, Entity arg3)
method_9548(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1297 arg3)
onEntityCollision(BlockState arg0, World arg1, BlockPos arg2, Entity arg3)
protected boolean
a(dxv arg0, eum arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)