net.minecraft.world.item

public class BlockItem

extends Item

All mapped superinterfaces:

ItemLike

bcm
net.minecraft.world.item.BlockItem
net.minecraft.class_1747
net.minecraft.item.BlockItem
net.minecraft.item.BlockItem
net.minecraft.server.v1_15_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(bfw arg0)
useOn(UseOnContext arg0)
method_7884(class_1838 arg0)
useOnBlock(ItemUsageContext arg0)
func_195939_a(ItemUseContext arg0)
public InteractionResult
a(bcn arg0)
place(BlockPlaceContext arg0)
method_7712(class_1750 arg0)
place(ItemPlacementContext context)
func_195942_a(BlockItemUseContext arg0)
protected SoundEvent
a(byg arg0)
getPlaceSound(BlockState arg0)
method_19260(class_2680 arg0)
getPlaceSound(BlockState state)
func_219983_a(BlockState arg0)
public BlockPlaceContext
b(bcn arg0)
updatePlacementContext(BlockPlaceContext arg0)
method_16356(class_1750 arg0)
getPlacementContext(ItemPlacementContext context)
func_219984_b(BlockItemUseContext arg0)
protected boolean
a(fk arg0, bjt arg1, ayg arg2, bek arg3, byg 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(bcn arg0)
getPlacementState(BlockPlaceContext arg0)
method_7707(class_1750 arg0)
getPlacementState(ItemPlacementContext context)
func_195945_b(BlockItemUseContext arg0)
private BlockState
a(fk arg0, bjt arg1, bek arg2, byg 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(byg arg0, bzj<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, IProperty<T> arg1, String arg2)
protected boolean
b(bcn arg0, byg 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
T_()
mustSurvive()
method_20360()
checkStatePlacement()
func_219987_d()
protected boolean
a(bcn arg0, byg 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(bjt arg0, ayg arg1, fk arg2, bek 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(bda arg0, fy<bek> 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<bpe, bef> arg0, bef 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(bek arg0, bjt arg1, List<lf> arg2, bft 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)