net.minecraft.world.level.block

public class BarrelBlock

extends BaseEntityBlock

All mapped superinterfaces:

ItemLike, EntityBlock

byv
net.minecraft.world.level.block.BarrelBlock
net.minecraft.class_3708
net.minecraft.block.BarrelBlock
net.minecraft.src.C_1684_
net.minecraft.world.level.block.BlockBarrel

Field summary

Modifier and TypeField
public static final DirectionProperty
a
FACING
field_16320
FACING
f_49042_
public static final BooleanProperty
b
OPEN
field_18006
OPEN
f_49043_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public InteractionResult
a(cks arg0, bwp arg1, gg arg2, bkd arg3, arz arg4, dmw 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_49070_, C_1596_ p_49071_, C_4675_ p_49072_, C_1141_ p_49073_, C_470_ p_49074_, C_3041_ arg5)
interact(IBlockData arg0, World arg1, BlockPosition arg2, EntityHuman arg3, EnumHand arg4, MovingObjectPositionBlock arg5)
public void
a(cks arg0, bwp arg1, gg arg2, cks 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_49077_, C_1596_ p_49078_, C_4675_ p_49079_, C_2064_ p_49080_, boolean arg4)
remove(IBlockData arg0, World arg1, BlockPosition arg2, IBlockData arg3, boolean arg4)
public void
a(cks arg0, abr arg1, gg arg2, Random arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, Random arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, Random arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
m_7458_(C_2064_ p_49061_, C_12_ p_49062_, C_4675_ p_49063_, Random arg3)
tickAlways(IBlockData arg0, WorldServer arg1, BlockPosition arg2, Random arg3)
public BlockEntity
a(gg arg0, cks arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
m_142194_(C_4675_ p_152103_, C_2064_ arg1)
createTile(BlockPosition arg0, IBlockData arg1)
public RenderShape
b_(cks arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
m_7514_(C_2064_ arg0)
public void
a(bwp arg0, gg arg1, cks arg2, att arg3, bqp 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_49053_, C_4675_ p_49054_, C_2064_ p_49055_, C_524_ p_49056_, C_1391_ arg4)
postPlace(World arg0, BlockPosition arg1, IBlockData arg2, EntityLiving arg3, ItemStack arg4)
public boolean
d_(cks arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
hasComparatorOutput(BlockState arg0)
m_7278_(C_2064_ arg0)
isComplexRedstone(IBlockData arg0)
public int
a(cks arg0, bwp arg1, gg 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_49066_, C_1596_ p_49067_, C_4675_ arg2)
public BlockState
a(cks arg0, cfk arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
m_6843_(C_2064_ p_49086_, C_1886_ arg1)
public BlockState
a(cks arg0, cdx arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
m_6943_(C_2064_ p_49083_, C_1838_ arg1)
protected void
a(ckt$a<bzo, cks> 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 BlockState
a(bsp arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
getPlacedState(BlockActionContext arg0)