net.minecraft.item

public class BlockItem

extends Item

All mapped superinterfaces:

ItemLike

bad
net.minecraft.class_1747
net.minecraft.item.BlockItem
net.minecraft.item.BlockItem
net.minecraft.item.BlockItem

Field summary

Modifier and TypeField
private final Block
a
field_7901
block
field_150939_a
field_150939_a

Constructor summary

ModifierConstructor
public (Block block, Item$Properties properties)

Method summary

Modifier and TypeMethod
public InteractionResult
a(bdl arg0)
method_7884(class_1838 arg0)
useOn(ItemUseContext arg0)
func_195939_a(ItemUseContext arg0)
onItemUse(ItemUseContext arg0)
public InteractionResult
a(bae arg0)
method_7712(class_1750 arg0)
place(BlockPlaceContext ctx)
func_195942_a(BlockItemUseContext arg0)
tryPlace(BlockItemUseContext arg0)
protected SoundEvent
a(bvj arg0)
method_19260(class_2680 arg0)
m_16894458(BlockState arg0)
func_219983_a(BlockState arg0)
func_219983_a(BlockState arg0)
public BlockPlaceContext
b(bae arg0)
method_16356(class_1750 arg0)
m_57179932(BlockPlaceContext arg0)
func_219984_b(BlockItemUseContext arg0)
func_219984_b(BlockItemUseContext arg0)
protected boolean
a(ev arg0, bhh arg1, avx arg2, bca arg3, bvj arg4)
method_7710(class_2338 arg0, class_1937 arg1, class_1657 arg2, class_1799 arg3, class_2680 arg4)
setBlockNbt(BlockPos pos, World world, PlayerEntity player, ItemStack stack, BlockState state)
func_195943_a(BlockPos arg0, World arg1, PlayerEntity arg2, ItemStack arg3, BlockState arg4)
onBlockPlaced(BlockPos pos, World worldIn, PlayerEntity player, ItemStack stack, BlockState state)
protected BlockState
c(bae arg0)
method_7707(class_1750 arg0)
getPlacementState(BlockPlaceContext ctx)
func_195945_b(BlockItemUseContext arg0)
getStateForPlacement(BlockItemUseContext context)
private BlockState
a(ev arg0, bhh arg1, bca arg2, bvj arg3)
method_18084(class_2338 arg0, class_1937 arg1, class_1799 arg2, class_2680 arg3)
m_83920880(BlockPos arg0, World arg1, ItemStack arg2, BlockState arg3)
func_219985_a(BlockPos arg0, World arg1, ItemStack arg2, BlockState arg3)
func_219985_a(BlockPos arg0, World arg1, ItemStack arg2, BlockState arg3)
private static <T extends Comparable<T>> BlockState
a(bvj arg0, bwm<T> arg1, String arg2)
method_18083(class_2680 arg0, class_2769<T> arg1, String arg2)
m_23748380(BlockState arg0, Property<T> arg1, String arg2)
func_219988_a(BlockState arg0, IProperty<T> arg1, String arg2)
func_219988_a(BlockState arg0, IProperty<T> arg1, String arg2)
protected boolean
b(bae arg0, bvj arg1)
method_7709(class_1750 arg0, class_2680 arg1)
canPlace(BlockPlaceContext ctx, BlockState state)
func_195944_a(BlockItemUseContext arg0, BlockState arg1)
canPlace(BlockItemUseContext arg0, BlockState arg1)
protected boolean
d()
method_20360()
m_94463402()
func_219987_d()
func_219987_d()
protected boolean
a(bae arg0, bvj arg1)
method_7708(class_1750 arg0, class_2680 arg1)
placeBlock(BlockPlaceContext ctx, BlockState state)
func_195941_b(BlockItemUseContext arg0, BlockState arg1)
placeBlock(BlockItemUseContext context, BlockState state)
public static boolean
a(bhh arg0, avx arg1, ev arg2, bca arg3)
method_7714(class_1937 arg0, class_1657 arg1, class_2338 arg2, class_1799 arg3)
setBlockNbt(World world, PlayerEntity player, BlockPos pos, ItemStack stack)
func_179224_a(World arg0, PlayerEntity arg1, BlockPos arg2, ItemStack arg3)
setTileEntityNBT(World worldIn, PlayerEntity player, BlockPos pos, ItemStack stackIn)
public String
a()
method_7876()
getTranslationKey()
func_77658_a()
getTranslationKey()
public void
a(bar arg0, fj<bca> arg1)
method_7850(class_1761 arg0, class_2371<class_1799> arg1)
addToCreativeMenu(CreativeModeTab arg0, DefaultedList<ItemStack> arg1)
func_150895_a(ItemGroup arg0, NonNullList<ItemStack> arg1)
fillItemGroup(ItemGroup arg0, NonNullList<ItemStack> arg1)
public Block
e()
method_7711()
getBlock()
func_179223_d()
getBlock()
public void
a(Map<bml, bbv> arg0, bbv arg1)
method_7713(Map<class_2248, class_1792> arg0, class_1792 arg1)
register(Map<Block, Item> registry, Item item)
func_195946_a(Map<Block, Item> arg0, Item arg1)
addToBlockToItemMap(Map<Block, Item> blockToItemMap, Item itemIn)
public void
a(bca arg0, bhh arg1, List<jm> arg2, bdi arg3)
method_7851(class_1799 arg0, class_1937 arg1, List<class_2561> arg2, class_1836 arg3)
addHoverText(ItemStack arg0, World arg1, List<Text> arg2, TooltipFlag arg3)
func_77624_a(ItemStack arg0, World arg1, List<ITextComponent> arg2, ITooltipFlag arg3)
addInformation(ItemStack arg0, World arg1, List<ITextComponent> arg2, ITooltipFlag arg3)