net.minecraft.world.level.block

public class HopperBlock

extends BaseEntityBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock

dak
net.minecraft.world.level.block.HopperBlock
net.minecraft.class_2377
net.minecraft.block.HopperBlock
net.minecraft.src.C_1812_
net.minecraft.world.level.block.BlockHopper

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<HopperBlock>
a
CODEC
field_46370
CODEC
f_303207_
public static final DirectionProperty
b
FACING
field_11129
FACING
f_54021_
public static final BooleanProperty
c
ENABLED
field_11126
ENABLED
f_54022_
private static final VoxelShape
d
TOP
field_11131
TOP_SHAPE
f_54023_
private static final VoxelShape
e
FUNNEL
field_11127
MIDDLE_SHAPE
f_54024_
private static final VoxelShape
f
CONVEX_BASE
field_11121
OUTSIDE_SHAPE
f_54025_
private static final VoxelShape
g
BASE
field_11132
DEFAULT_SHAPE
f_54026_
private static final VoxelShape
h
DOWN_SHAPE
field_11120
DOWN_SHAPE
f_54027_
private static final VoxelShape
i
EAST_SHAPE
field_11134
EAST_SHAPE
f_54028_
private static final VoxelShape
j
NORTH_SHAPE
field_11124
NORTH_SHAPE
f_54029_
private static final VoxelShape
k
SOUTH_SHAPE
field_11122
SOUTH_SHAPE
f_54030_
private static final VoxelShape
l
WEST_SHAPE
field_11130
WEST_SHAPE
f_54031_
private static final VoxelShape
m
DOWN_INTERACTION_SHAPE
field_11125
DOWN_RAYCAST_SHAPE
f_54032_
private static final VoxelShape
n
EAST_INTERACTION_SHAPE
field_11133
EAST_RAYCAST_SHAPE
f_54033_
private static final VoxelShape
o
NORTH_INTERACTION_SHAPE
field_11123
NORTH_RAYCAST_SHAPE
f_54034_
private static final VoxelShape
F
SOUTH_INTERACTION_SHAPE
field_11128
SOUTH_RAYCAST_SHAPE
f_54035_
private static final VoxelShape
G
WEST_INTERACTION_SHAPE
field_11135
WEST_RAYCAST_SHAPE
f_54036_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<HopperBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
public VoxelShape
a(djh arg0, csv arg1, hx arg2, ely 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)
m_5940_(C_2064_ p_54106_, C_1559_ p_54107_, C_4675_ p_54108_, C_3051_ arg3)
public VoxelShape
a(djh arg0, csv arg1, hx 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)
m_6079_(C_2064_ p_54100_, C_1559_ p_54101_, C_4675_ arg2)
public BlockState
a(cph arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
public BlockEntity
a(hx arg0, djh arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
m_142194_(C_4675_ p_153383_, C_2064_ arg1)
public <T extends BlockEntity> BlockEntityTicker<T>
a(ctp arg0, djh arg1, dgx<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)
m_142354_(C_1596_ p_153379_, C_2064_ p_153380_, C_1992_<T> arg2)
public void
a(ctp arg0, hx arg1, djh arg2, bml arg3, cmy arg4)
setPlacedBy(Level arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
method_9567(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1309 arg3, class_1799 arg4)
onPlaced(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
m_6402_(C_1596_ p_54050_, C_4675_ p_54051_, C_2064_ p_54052_, C_524_ p_54053_, C_1391_ arg4)
public void
b(djh arg0, ctp arg1, hx arg2, djh 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)
m_6807_(C_2064_ p_54111_, C_1596_ p_54112_, C_4675_ p_54113_, C_2064_ p_54114_, boolean arg4)
public InteractionResult
a(djh arg0, ctp arg1, hx arg2, cfi arg3, bka arg4, elp arg5)
use(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, InteractionHand arg4, BlockHitResult arg5)
method_9534(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_3965 arg5)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
m_6227_(C_2064_ p_54072_, C_1596_ p_54073_, C_4675_ p_54074_, C_1141_ p_54075_, C_470_ p_54076_, C_3041_ arg5)
public void
a(djh arg0, ctp arg1, hx arg2, cwq arg3, hx arg4, boolean arg5)
neighborChanged(BlockState arg0, Level arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
method_9612(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2248 arg3, class_2338 arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
m_6861_(C_2064_ p_54079_, C_1596_ p_54080_, C_4675_ p_54081_, C_1706_ p_54082_, C_4675_ p_54083_, boolean arg5)
private void
a(ctp arg0, hx arg1, djh 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)
m_274306_(C_1596_ p_275298_, C_4675_ p_275611_, C_2064_ arg2)
public void
a(djh arg0, ctp arg1, hx arg2, djh 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)
m_6810_(C_2064_ p_54086_, C_1596_ p_54087_, C_4675_ p_54088_, C_2064_ p_54089_, boolean arg4)
public RenderShape
b_(djh arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
m_7514_(C_2064_ arg0)
public boolean
d_(djh arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
hasComparatorOutput(BlockState arg0)
m_7278_(C_2064_ arg0)
public int
a(djh arg0, ctp arg1, hx 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)
m_6782_(C_2064_ p_54063_, C_1596_ p_54064_, C_4675_ arg2)
public BlockState
a(djh arg0, ddc arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
m_6843_(C_2064_ p_54095_, C_1886_ arg1)
public BlockState
a(djh arg0, dbm arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
m_6943_(C_2064_ p_54092_, C_1838_ arg1)
protected void
a(dji$a<cwq, djh> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
public void
a(djh arg0, ctp arg1, hx arg2, blv 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)
m_7892_(C_2064_ p_54067_, C_1596_ p_54068_, C_4675_ p_54069_, C_507_ arg3)
public boolean
a(djh arg0, csv arg1, hx arg2, efh arg3)
isPathfindable(BlockState arg0, BlockGetter arg1, BlockPos arg2, PathComputationType arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
canPathfindThrough(BlockState arg0, BlockView arg1, BlockPos arg2, NavigationType arg3)
m_7357_(C_2064_ p_54058_, C_1559_ p_54059_, C_4675_ p_54060_, C_2754_ arg3)