net.minecraft.world.item

public class BlockItem

extends Item

All mapped superinterfaces:

ItemLike

bim
net.minecraft.world.item.BlockItem
net.minecraft.class_1747
net.minecraft.item.BlockItem
net.minecraft.item.BlockItem
net.minecraft.server.v1_16_R1.ItemBlock

Field summary

Modifier and TypeField
private final Block
a
block
field_7901
block
field_150939_a

Constructor summary

ModifierConstructor
public (Block block, Item$Properties settings)

Method summary

Modifier and TypeMethod
public InteractionResult
a(blv arg0)
useOn(UseOnContext arg0)
method_7884(class_1838 arg0)
useOnBlock(ItemUsageContext arg0)
func_195939_a(ItemUseContext arg0)
public InteractionResult
a(bin arg0)
place(BlockPlaceContext arg0)
method_7712(class_1750 arg0)
place(ItemPlacementContext context)
func_195942_a(BlockItemUseContext arg0)
protected SoundEvent
a(cfj arg0)
getPlaceSound(BlockState arg0)
method_19260(class_2680 arg0)
getPlaceSound(BlockState state)
func_219983_a(BlockState arg0)
public BlockPlaceContext
b(bin arg0)
updatePlacementContext(BlockPlaceContext arg0)
method_16356(class_1750 arg0)
getPlacementContext(ItemPlacementContext context)
func_219984_b(BlockItemUseContext arg0)
protected boolean
a(fu arg0, bqb arg1, bec arg2, bki arg3, cfj 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)
postPlacement(BlockPos pos, World world, PlayerEntity player, ItemStack stack, BlockState state)
func_195943_a(BlockPos arg0, World arg1, PlayerEntity arg2, ItemStack arg3, BlockState arg4)
protected BlockState
c(bin arg0)
getPlacementState(BlockPlaceContext arg0)
method_7707(class_1750 arg0)
getPlacementState(ItemPlacementContext context)
func_195945_b(BlockItemUseContext arg0)
private BlockState
a(fu arg0, bqb arg1, bki arg2, cfj arg3)
updateBlockStateFromTag(BlockPos arg0, Level arg1, ItemStack arg2, BlockState arg3)
method_18084(class_2338 arg0, class_1937 arg1, class_1799 arg2, class_2680 arg3)
placeFromTag(BlockPos pos, World world, ItemStack stack, BlockState state)
func_219985_a(BlockPos arg0, World arg1, ItemStack arg2, BlockState arg3)
private static <T extends Comparable<T>> BlockState
a(cfj arg0, cgl<T> arg1, String arg2)
updateState(BlockState arg0, Property<T> arg1, String arg2)
method_18083(class_2680 arg0, class_2769<T> arg1, String arg2)
with(BlockState state, Property<T> property, String name)
func_219988_a(BlockState arg0, Property<T> arg1, String arg2)
protected boolean
b(bin arg0, cfj arg1)
canPlace(BlockPlaceContext arg0, BlockState arg1)
method_7709(class_1750 arg0, class_2680 arg1)
canPlace(ItemPlacementContext context, BlockState state)
func_195944_a(BlockItemUseContext arg0, BlockState arg1)
protected boolean
d()
mustSurvive()
method_20360()
checkStatePlacement()
func_219987_d()
isCheckCollisions()
protected boolean
a(bin arg0, cfj arg1)
placeBlock(BlockPlaceContext arg0, BlockState arg1)
method_7708(class_1750 arg0, class_2680 arg1)
place(ItemPlacementContext context, BlockState state)
func_195941_b(BlockItemUseContext arg0, BlockState arg1)
public static boolean
a(bqb arg0, bec arg1, fu arg2, bki arg3)
updateCustomBlockEntityTag(Level arg0, Player arg1, BlockPos arg2, ItemStack arg3)
method_7714(class_1937 arg0, class_1657 arg1, class_2338 arg2, class_1799 arg3)
writeTagToBlockEntity(World world, PlayerEntity player, BlockPos pos, ItemStack stack)
func_179224_a(World arg0, PlayerEntity arg1, BlockPos arg2, ItemStack arg3)
public String
a()
getDescriptionId()
method_7876()
getTranslationKey()
func_77658_a()
getName()
public void
a(biy arg0, gi<bki> arg1)
fillItemCategory(CreativeModeTab arg0, NonNullList<ItemStack> arg1)
method_7850(class_1761 arg0, class_2371<class_1799> arg1)
appendStacks(ItemGroup arg0, DefaultedList<ItemStack> arg1)
func_150895_a(ItemGroup arg0, NonNullList<ItemStack> arg1)
public Block
e()
getBlock()
method_7711()
getBlock()
func_179223_d()
getBlock()
public void
a(Map<bvr, bke> arg0, bke arg1)
registerBlocks(Map<Block, Item> arg0, Item arg1)
method_7713(Map<class_2248, class_1792> arg0, class_1792 arg1)
appendBlocks(Map<Block, Item> map, Item item)
func_195946_a(Map<Block, Item> arg0, Item arg1)
public void
a(bki arg0, bqb arg1, List<mr> arg2, bls arg3)
appendHoverText(ItemStack arg0, Level arg1, List<Component> arg2, TooltipFlag arg3)
method_7851(class_1799 arg0, class_1937 arg1, List<class_2561> arg2, class_1836 arg3)
appendTooltip(ItemStack arg0, World arg1, List<Text> arg2, TooltipContext arg3)
func_77624_a(ItemStack arg0, World arg1, List<ITextComponent> arg2, ITooltipFlag arg3)