History - net.minecraft.item.BlockItem

26.3-snapshot-3

Names

Fields

Constructors

Methods

26.3-snapshot-2

Names

Fields

Constructors

Methods

26.3-snapshot-1

Names

Fields

Constructors

Methods

26.2

Names

Fields

Constructors

Methods

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

Fields

Constructors

Methods

FeatureSet (): requiredFeatures, method_45322, getRequiredFeatures

1.21.11_unobfuscated

Names

net.minecraft.world.item.BlockItem

net.minecraft.class_1747

net.minecraft.item.BlockItem

Fields

Block: block, field_7901, block

Constructors

(Block, Item$Settings)

Methods

ActionResult (ItemUsageContext): useOn, method_7884, useOnBlock

ActionResult (ItemPlacementContext): place, method_7712, place

SoundEvent (BlockState): getPlaceSound, method_19260, getPlaceSound

ItemPlacementContext (ItemPlacementContext): updatePlacementContext, method_16356, getPlacementContext

void (World, BlockPos, ItemStack): updateBlockEntityComponents, method_57339, copyComponentsToBlockEntity

boolean (BlockPos, World, PlayerEntity, ItemStack, BlockState): updateCustomBlockEntityTag, method_7710, postPlacement

BlockState (ItemPlacementContext): getPlacementState, method_7707, getPlacementState

BlockState (BlockPos, World, ItemStack, BlockState): updateBlockStateFromTag, method_18084, placeFromNbt

boolean (ItemPlacementContext, BlockState): canPlace, method_7709, canPlace

boolean (): mustSurvive, method_20360, checkStatePlacement

boolean (ItemPlacementContext, BlockState): placeBlock, method_7708, place

boolean (World, PlayerEntity, BlockPos, ItemStack): updateCustomBlockEntityTag, method_7714, writeNbtToBlockEntity

boolean (ItemStack, PlayerEntity): shouldPrintOpWarning, method_65353, shouldShowOperatorBlockWarnings

Block (): getBlock, method_7711, getBlock

void (Map<Block, Item>, Item): registerBlocks, method_7713, appendBlocks

boolean (): canFitInsideContainerItems, method_31568, canBeNested

void (ItemEntity): onDestroyed, method_33261, onItemEntityDestroyed

void (ItemStack, BlockEntityType<?>, NbtWriteView): setBlockEntityData, method_57338, setBlockEntityData

FeatureSet (): requiredFeatures, method_45322, getRequiredFeatures