net.minecraft.world.item

public class BlockItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

cvv
net.minecraft.world.item.BlockItem
net.minecraft.class_1747
net.minecraft.unmapped.C_xildsmsj
net.minecraft.item.BlockItem
net.minecraft.item.BlockItem
net.minecraft.src.C_1325_
net.minecraft.world.item.ItemBlock

Field summary

Modifier and TypeField
private final Block
a
block
field_7901
f_ligelvnp
block
block
f_40563_

Constructor summary

ModifierConstructor
public (Block block, Item$Properties settings)

Method summary

Modifier and TypeMethod
public InteractionResult
a(dbi arg0)
useOn(UseOnContext arg0)
method_7884(class_1838 arg0)
m_mtceqnlj(C_yyklzime arg0)
useOnBlock(ItemUsageContext arg0)
useOnBlock(ItemUsageContext arg0)
m_6225_(C_1450_ arg0)
public InteractionResult
a(dbg arg0)
place(BlockPlaceContext arg0)
method_7712(class_1750 arg0)
m_tnibcwvd(C_aiootljq arg0)
place(ItemPlacementContext context)
place(ItemPlacementContext context)
m_40576_(C_1445_ arg0)
protected SoundEvent
a(dxv arg0)
getPlaceSound(BlockState arg0)
method_19260(class_2680 arg0)
m_uvsqcuzz(C_txtbiemp arg0)
getPlaceSound(BlockState state)
getPlaceSound(BlockState state)
m_40587_(C_2064_ arg0)
public BlockPlaceContext
b(dbg arg0)
updatePlacementContext(BlockPlaceContext arg0)
method_16356(class_1750 arg0)
m_jrcbsbxb(C_aiootljq arg0)
getPlacementContext(ItemPlacementContext context)
getPlacementContext(ItemPlacementContext context)
m_7732_(C_1445_ arg0)
private static void
a(dhi arg0, jh arg1, cxp arg2)
updateBlockEntityComponents(Level arg0, BlockPos arg1, ItemStack arg2)
method_57339(class_1937 arg0, class_2338 arg1, class_1799 arg2)
m_qdsiagsk(C_cdctfzbn arg0, C_hynzadkk arg1, C_sddaxwyk arg2)
copyComponentsToBlockEntity(World world, BlockPos pos, ItemStack stack)
copyComponentsToBlockEntity(World world, BlockPos pos, ItemStack stack)
m_322358_(C_1596_ p_333389_, C_4675_ p_335748_, C_1391_ p_334527_)
protected boolean
a(jh arg0, dhi arg1, cpx arg2, cxp arg3, dxv arg4)
updateCustomBlockEntityTag(BlockPos arg0, Level arg1, Player arg2, ItemStack arg3, BlockState arg4)
method_7710(class_2338 arg0, class_1937 arg1, class_1657 arg2, class_1799 arg3, class_2680 arg4)
m_vbzawzsc(C_hynzadkk arg0, C_cdctfzbn arg1, C_jzrpycqo arg2, C_sddaxwyk arg3, C_txtbiemp arg4)
postPlacement(BlockPos pos, World world, PlayerEntity player, ItemStack stack, BlockState state)
postPlacement(BlockPos pos, World world, PlayerEntity player, ItemStack stack, BlockState state)
m_7274_(C_4675_ p_40598_, C_1596_ p_40599_, C_1141_ p_40600_, C_1391_ p_40601_, C_2064_ arg4)
protected BlockState
c(dbg arg0)
getPlacementState(BlockPlaceContext arg0)
method_7707(class_1750 arg0)
m_ioymiknx(C_aiootljq arg0)
getPlacementState(ItemPlacementContext context)
getPlacementState(ItemPlacementContext context)
m_5965_(C_1445_ arg0)
private BlockState
a(jh arg0, dhi arg1, cxp arg2, dxv arg3)
updateBlockStateFromTag(BlockPos arg0, Level arg1, ItemStack arg2, BlockState arg3)
method_18084(class_2338 arg0, class_1937 arg1, class_1799 arg2, class_2680 arg3)
m_tgclilhr(C_hynzadkk arg0, C_cdctfzbn arg1, C_sddaxwyk arg2, C_txtbiemp arg3)
placeFromNbt(BlockPos pos, World world, ItemStack stack, BlockState state)
placeFromTag(BlockPos pos, World world, ItemStack stack, BlockState state)
m_40602_(C_4675_ p_40604_, C_1596_ p_40605_, C_1391_ p_40606_, C_2064_ arg3)
protected boolean
b(dbg arg0, dxv arg1)
canPlace(BlockPlaceContext arg0, BlockState arg1)
method_7709(class_1750 arg0, class_2680 arg1)
m_kfzsdjev(C_aiootljq arg0, C_txtbiemp arg1)
canPlace(ItemPlacementContext context, BlockState state)
canPlace(ItemPlacementContext context, BlockState state)
m_40610_(C_1445_ p_40612_, C_2064_ arg1)
protected boolean
c()
mustSurvive()
method_20360()
m_ykpcyoks()
checkStatePlacement()
checkStatePlacement()
m_6652_()
protected boolean
a(dbg arg0, dxv arg1)
placeBlock(BlockPlaceContext arg0, BlockState arg1)
method_7708(class_1750 arg0, class_2680 arg1)
m_ndnwmebp(C_aiootljq arg0, C_txtbiemp arg1)
place(ItemPlacementContext context, BlockState state)
place(ItemPlacementContext context, BlockState state)
m_7429_(C_1445_ p_40579_, C_2064_ arg1)
public static boolean
a(dhi arg0, cpx arg1, jh arg2, cxp arg3)
updateCustomBlockEntityTag(Level arg0, Player arg1, BlockPos arg2, ItemStack arg3)
method_7714(class_1937 arg0, class_1657 arg1, class_2338 arg2, class_1799 arg3)
m_jlcsbfjw(C_cdctfzbn arg0, C_jzrpycqo arg1, C_hynzadkk arg2, C_sddaxwyk arg3)
writeNbtToBlockEntity(World world, PlayerEntity player, BlockPos pos, ItemStack stack)
writeTagToBlockEntity(World world, PlayerEntity player, BlockPos pos, ItemStack stack)
m_40582_(C_1596_ p_40583_, C_1141_ p_40584_, C_4675_ p_40585_, C_1391_ p_40586_)
public void
a(cxp arg0, cxl$b arg1, List<xv> arg2, czh arg3)
appendHoverText(ItemStack arg0, Item$TooltipContext arg1, List<Component> arg2, TooltipFlag arg3)
method_7851(class_1799 arg0, class_1792$class_9635 arg1, List<class_2561> arg2, class_1836 arg3)
m_vlpdhsgt(C_sddaxwyk arg0, C_vorddnax$C_rdhfmrgz arg1, List<C_rdaqiwdt> arg2, C_taebrtdw arg3)
appendTooltip(ItemStack arg0, Item$TooltipContext arg1, List<Text> arg2, TooltipType arg3)
appendTooltip(ItemStack arg0, Item$TooltipContext arg1, List<Text> arg2, TooltipConfig arg3)
m_7373_(C_1391_ p_327780_, C_1381_$C_313602_ p_40574_, List<C_4996_> p_40575_, C_1431_ arg3)
public Block
d()
getBlock()
method_7711()
m_pfrexuhf()
getBlock()
getBlock()
m_40614_()
public void
a(Map<dkm, cxl> arg0, cxl arg1)
registerBlocks(Map<Block, Item> arg0, Item arg1)
method_7713(Map<class_2248, class_1792> arg0, class_1792 arg1)
m_rmqtckdr(Map<C_mmxmpdoq, C_vorddnax> arg0, C_vorddnax arg1)
appendBlocks(Map<Block, Item> map, Item item)
appendBlocks(Map<Block, Item> map, Item item)
m_6192_(Map<C_1706_, C_1381_> p_40608_, C_1381_ arg1)
public boolean
e()
canFitInsideContainerItems()
method_31568()
m_nczseldo()
canBeNested()
canBeNested()
m_142095_()
public void
a(cmb arg0)
onDestroyed(ItemEntity arg0)
method_33261(class_1542 arg0)
m_ectuffur(C_uqpzijng arg0)
onItemEntityDestroyed(ItemEntity arg0)
onItemEntityDestroyed(ItemEntity arg0)
m_142023_(C_976_ arg0)
public static void
a(cxp arg0, duz<?> arg1, ux arg2)
setBlockEntityData(ItemStack arg0, BlockEntityType<?> arg1, CompoundTag arg2)
method_57338(class_1799 arg0, class_2591<?> arg1, class_2487 arg2)
m_iseuyrue(C_sddaxwyk arg0, C_wgqvodus<?> arg1, C_hhlwcnih arg2)
setBlockEntityData(ItemStack stack, BlockEntityType<?> type, NbtCompound nbt)
writeBlockEntityNbtToStack(ItemStack stack, BlockEntityType<?> type, NbtCompound nbt)
m_186338_(C_1391_ p_186339_, C_1992_<?> p_186340_, C_4917_ p_186341_)
public FeatureFlagSet
i()
requiredFeatures()
method_45322()
m_gsnyyecf()
getRequiredFeatures()
getRequiredFlags()
m_245183_()