Uses of Class
net.minecraft.item.ItemPlacementContext
-
Uses of ItemPlacementContext in net.minecraft.block
Modifier and TypeMethodDescriptionboolean
AbstractBlock.AbstractBlockState.canReplace
(ItemPlacementContext context) boolean
AbstractBlock.canReplace
(BlockState state, ItemPlacementContext context) Deprecated.boolean
AbstractPlantBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.boolean
CandleBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.boolean
FlowerbedBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.boolean
GlowLichenBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.boolean
MultifaceGrowthBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.boolean
PitcherCropBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.boolean
ScaffoldingBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.boolean
SculkVeinBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.boolean
SeaPickleBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.boolean
SlabBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.boolean
SnowBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.boolean
TurtleEggBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.boolean
VineBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.private DoorHinge
DoorBlock.getHinge
(ItemPlacementContext ctx) private @Nullable Direction
ChestBlock.getNeighborChestDirection
(ItemPlacementContext ctx, Direction dir) AbstractFireBlock.getPlacementState
(ItemPlacementContext ctx) AbstractFurnaceBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
AbstractPlantPartBlock.getPlacementState
(ItemPlacementContext ctx) AbstractRailBlock.getPlacementState
(ItemPlacementContext ctx) AbstractRedstoneGateBlock.getPlacementState
(ItemPlacementContext ctx) AbstractSkullBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
AmethystClusterBlock.getPlacementState
(ItemPlacementContext ctx) AnvilBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
BambooBlock.getPlacementState
(ItemPlacementContext ctx) BannerBlock.getPlacementState
(ItemPlacementContext ctx) BarrelBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
BarrierBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
BedBlock.getPlacementState
(ItemPlacementContext ctx) BeehiveBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
BellBlock.getPlacementState
(ItemPlacementContext ctx) BigDripleafBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
Block.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
CalibratedSculkSensorBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
CampfireBlock.getPlacementState
(ItemPlacementContext ctx) CandleBlock.getPlacementState
(ItemPlacementContext ctx) CarvedPumpkinBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
ChainBlock.getPlacementState
(ItemPlacementContext ctx) ChestBlock.getPlacementState
(ItemPlacementContext ctx) ChiseledBookshelfBlock.getPlacementState
(ItemPlacementContext ctx) ChorusPlantBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
CocoaBlock.getPlacementState
(ItemPlacementContext ctx) CommandBlock.getPlacementState
(ItemPlacementContext ctx) ConcretePowderBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
ConduitBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
CoralBlockBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
CoralParentBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
DeadCoralWallFanBlock.getPlacementState
(ItemPlacementContext ctx) DecoratedPotBlock.getPlacementState
(ItemPlacementContext ctx) DirtPathBlock.getPlacementState
(ItemPlacementContext ctx) DispenserBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
DoorBlock.getPlacementState
(ItemPlacementContext ctx) EnderChestBlock.getPlacementState
(ItemPlacementContext ctx) EndPortalFrameBlock.getPlacementState
(ItemPlacementContext ctx) EndRodBlock.getPlacementState
(ItemPlacementContext ctx) FarmlandBlock.getPlacementState
(ItemPlacementContext ctx) FenceBlock.getPlacementState
(ItemPlacementContext ctx) FenceGateBlock.getPlacementState
(ItemPlacementContext ctx) FireBlock.getPlacementState
(ItemPlacementContext ctx) FlowerbedBlock.getPlacementState
(ItemPlacementContext ctx) GlazedTerracottaBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
HangingRootsBlock.getPlacementState
(ItemPlacementContext ctx) HangingSignBlock.getPlacementState
(ItemPlacementContext ctx) HopperBlock.getPlacementState
(ItemPlacementContext ctx) JigsawBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
KelpBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
LadderBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
LanternBlock.getPlacementState
(ItemPlacementContext ctx) LeavesBlock.getPlacementState
(ItemPlacementContext ctx) LecternBlock.getPlacementState
(ItemPlacementContext ctx) LightningRodBlock.getPlacementState
(ItemPlacementContext ctx) LoomBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
MangroveRootsBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
MultifaceGrowthBlock.getPlacementState
(ItemPlacementContext ctx) MushroomBlock.getPlacementState
(ItemPlacementContext ctx) NoteBlock.getPlacementState
(ItemPlacementContext ctx) ObserverBlock.getPlacementState
(ItemPlacementContext ctx) PaneBlock.getPlacementState
(ItemPlacementContext ctx) PillarBlock.getPlacementState
(ItemPlacementContext ctx) PistonBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
PitcherCropBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
PointedDripstoneBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
PropaguleBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
RedstoneLampBlock.getPlacementState
(ItemPlacementContext ctx) RedstoneWireBlock.getPlacementState
(ItemPlacementContext ctx) RepeaterBlock.getPlacementState
(ItemPlacementContext ctx) RotatedInfestedBlock.getPlacementState
(ItemPlacementContext ctx) ScaffoldingBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
SculkSensorBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
SculkShriekerBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
SeagrassBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
SeaPickleBlock.getPlacementState
(ItemPlacementContext ctx) ShulkerBoxBlock.getPlacementState
(ItemPlacementContext ctx) SignBlock.getPlacementState
(ItemPlacementContext ctx) SkullBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
SlabBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
SmallDripleafBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
SnowBlock.getPlacementState
(ItemPlacementContext ctx) SnowyBlock.getPlacementState
(ItemPlacementContext ctx) StairsBlock.getPlacementState
(ItemPlacementContext ctx) StonecutterBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
TallPlantBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
TallSeagrassBlock.getPlacementState
(ItemPlacementContext ctx) TrapdoorBlock.getPlacementState
(ItemPlacementContext ctx) TripwireBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
TripwireHookBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
TurtleEggBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
VineBlock.getPlacementState
(ItemPlacementContext ctx) WallBannerBlock.getPlacementState
(ItemPlacementContext ctx) WallBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
WallHangingSignBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
WallMountedBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
WallRedstoneTorchBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
WallSignBlock.getPlacementState
(ItemPlacementContext ctx) WallSkullBlock.getPlacementState
(ItemPlacementContext ctx) @Nullable BlockState
WallTorchBlock.getPlacementState
(ItemPlacementContext ctx) -
Uses of ItemPlacementContext in net.minecraft.item
Modifier and TypeMethodDescription@Nullable ItemPlacementContext
BlockItem.getPlacementContext
(ItemPlacementContext context) @Nullable ItemPlacementContext
ScaffoldingItem.getPlacementContext
(ItemPlacementContext context) static ItemPlacementContext
ItemPlacementContext.offset
(ItemPlacementContext context, BlockPos pos, Direction side) Modifier and TypeMethodDescriptionprotected boolean
BlockItem.canPlace
(ItemPlacementContext context, BlockState state) @Nullable ItemPlacementContext
BlockItem.getPlacementContext
(ItemPlacementContext context) @Nullable ItemPlacementContext
ScaffoldingItem.getPlacementContext
(ItemPlacementContext context) protected @Nullable BlockState
BlockItem.getPlacementState
(ItemPlacementContext context) protected @Nullable BlockState
OperatorOnlyBlockItem.getPlacementState
(ItemPlacementContext context) protected @Nullable BlockState
VerticallyAttachableBlockItem.getPlacementState
(ItemPlacementContext context) static ItemPlacementContext
ItemPlacementContext.offset
(ItemPlacementContext context, BlockPos pos, Direction side) protected boolean
BedItem.place
(ItemPlacementContext context, BlockState state) BlockItem.place
(ItemPlacementContext context) protected boolean
BlockItem.place
(ItemPlacementContext context, BlockState state) protected boolean
TallBlockItem.place
(ItemPlacementContext context, BlockState state)
AbstractBlock.AbstractBlockState.canReplace(net.minecraft.item.ItemPlacementContext)
instead.