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
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
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
TallFlowerBlock.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) ChestBlock.getNeighborChestDirection
(ItemPlacementContext ctx, Direction dir) AbstractFireBlock.getPlacementState
(ItemPlacementContext ctx) AbstractFurnaceBlock.getPlacementState
(ItemPlacementContext ctx) AbstractPlantPartBlock.getPlacementState
(ItemPlacementContext ctx) AbstractRailBlock.getPlacementState
(ItemPlacementContext ctx) AbstractRedstoneGateBlock.getPlacementState
(ItemPlacementContext ctx) AmethystClusterBlock.getPlacementState
(ItemPlacementContext ctx) AnvilBlock.getPlacementState
(ItemPlacementContext ctx) BambooBlock.getPlacementState
(ItemPlacementContext ctx) BannerBlock.getPlacementState
(ItemPlacementContext ctx) BarrelBlock.getPlacementState
(ItemPlacementContext ctx) BedBlock.getPlacementState
(ItemPlacementContext ctx) BeehiveBlock.getPlacementState
(ItemPlacementContext ctx) BellBlock.getPlacementState
(ItemPlacementContext ctx) BigDripleafBlock.getPlacementState
(ItemPlacementContext ctx) Block.getPlacementState
(ItemPlacementContext ctx) CampfireBlock.getPlacementState
(ItemPlacementContext ctx) CandleBlock.getPlacementState
(ItemPlacementContext ctx) CarvedPumpkinBlock.getPlacementState
(ItemPlacementContext ctx) ChainBlock.getPlacementState
(ItemPlacementContext ctx) ChestBlock.getPlacementState
(ItemPlacementContext ctx) ChiseledBookshelfBlock.getPlacementState
(ItemPlacementContext ctx) ChorusPlantBlock.getPlacementState
(ItemPlacementContext ctx) CocoaBlock.getPlacementState
(ItemPlacementContext ctx) CommandBlock.getPlacementState
(ItemPlacementContext ctx) ConcretePowderBlock.getPlacementState
(ItemPlacementContext ctx) ConduitBlock.getPlacementState
(ItemPlacementContext ctx) CoralBlockBlock.getPlacementState
(ItemPlacementContext ctx) CoralParentBlock.getPlacementState
(ItemPlacementContext ctx) DeadCoralWallFanBlock.getPlacementState
(ItemPlacementContext ctx) DirtPathBlock.getPlacementState
(ItemPlacementContext ctx) DispenserBlock.getPlacementState
(ItemPlacementContext ctx) 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) GlazedTerracottaBlock.getPlacementState
(ItemPlacementContext ctx) HangingRootsBlock.getPlacementState
(ItemPlacementContext ctx) HangingSignBlock.getPlacementState
(ItemPlacementContext ctx) HopperBlock.getPlacementState
(ItemPlacementContext ctx) JigsawBlock.getPlacementState
(ItemPlacementContext ctx) KelpBlock.getPlacementState
(ItemPlacementContext ctx) LadderBlock.getPlacementState
(ItemPlacementContext ctx) LanternBlock.getPlacementState
(ItemPlacementContext ctx) LeavesBlock.getPlacementState
(ItemPlacementContext ctx) LecternBlock.getPlacementState
(ItemPlacementContext ctx) LightningRodBlock.getPlacementState
(ItemPlacementContext ctx) LoomBlock.getPlacementState
(ItemPlacementContext ctx) MangroveRootsBlock.getPlacementState
(ItemPlacementContext ctx) 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) PointedDripstoneBlock.getPlacementState
(ItemPlacementContext ctx) PropaguleBlock.getPlacementState
(ItemPlacementContext ctx) RedstoneLampBlock.getPlacementState
(ItemPlacementContext ctx) RedstoneWireBlock.getPlacementState
(ItemPlacementContext ctx) RepeaterBlock.getPlacementState
(ItemPlacementContext ctx) RotatedInfestedBlock.getPlacementState
(ItemPlacementContext ctx) ScaffoldingBlock.getPlacementState
(ItemPlacementContext ctx) SculkSensorBlock.getPlacementState
(ItemPlacementContext ctx) SculkShriekerBlock.getPlacementState
(ItemPlacementContext ctx) SeagrassBlock.getPlacementState
(ItemPlacementContext ctx) SeaPickleBlock.getPlacementState
(ItemPlacementContext ctx) ShulkerBoxBlock.getPlacementState
(ItemPlacementContext ctx) SignBlock.getPlacementState
(ItemPlacementContext ctx) SkullBlock.getPlacementState
(ItemPlacementContext ctx) SlabBlock.getPlacementState
(ItemPlacementContext ctx) SmallDripleafBlock.getPlacementState
(ItemPlacementContext ctx) SnowBlock.getPlacementState
(ItemPlacementContext ctx) SnowyBlock.getPlacementState
(ItemPlacementContext ctx) StairsBlock.getPlacementState
(ItemPlacementContext ctx) StonecutterBlock.getPlacementState
(ItemPlacementContext ctx) TallPlantBlock.getPlacementState
(ItemPlacementContext ctx) TallSeagrassBlock.getPlacementState
(ItemPlacementContext ctx) TrapdoorBlock.getPlacementState
(ItemPlacementContext ctx) TripwireBlock.getPlacementState
(ItemPlacementContext ctx) TripwireHookBlock.getPlacementState
(ItemPlacementContext ctx) TurtleEggBlock.getPlacementState
(ItemPlacementContext ctx) VineBlock.getPlacementState
(ItemPlacementContext ctx) WallBannerBlock.getPlacementState
(ItemPlacementContext ctx) WallBlock.getPlacementState
(ItemPlacementContext ctx) WallHangingSignBlock.getPlacementState
(ItemPlacementContext ctx) WallMountedBlock.getPlacementState
(ItemPlacementContext ctx) WallRedstoneTorchBlock.getPlacementState
(ItemPlacementContext ctx) WallSignBlock.getPlacementState
(ItemPlacementContext ctx) WallSkullBlock.getPlacementState
(ItemPlacementContext ctx) WallTorchBlock.getPlacementState
(ItemPlacementContext ctx) -
Uses of ItemPlacementContext in net.minecraft.item
Modifier and TypeMethodDescriptionBlockItem.getPlacementContext
(ItemPlacementContext context) ScaffoldingItem.getPlacementContext
(ItemPlacementContext context) static ItemPlacementContext
ItemPlacementContext.offset
(ItemPlacementContext context, BlockPos pos, Direction side) Modifier and TypeMethodDescriptionprotected boolean
BlockItem.canPlace
(ItemPlacementContext context, BlockState state) BlockItem.getPlacementContext
(ItemPlacementContext context) 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.