Uses of Class
net.minecraft.item.ItemPlacementContext
-
Uses of ItemPlacementContext in net.minecraft.block
Modifier and TypeMethodDescriptionboolean
AbstractBlock.AbstractBlockState.canReplace
(ItemPlacementContext context) protected boolean
AbstractBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.protected boolean
AbstractPlantBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.protected 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.protected boolean
GlowLichenBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.protected 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.protected boolean
ScaffoldingBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.protected boolean
SculkVeinBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.protected boolean
SeaPickleBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.protected boolean
SlabBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.protected boolean
SnowBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.protected boolean
TurtleEggBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.protected 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) AbstractCoralBlock.getPlacementState
(ItemPlacementContext ctx) AbstractFireBlock.getPlacementState
(ItemPlacementContext ctx) AbstractFurnaceBlock.getPlacementState
(ItemPlacementContext ctx) AbstractPlantPartBlock.getPlacementState
(ItemPlacementContext ctx) AbstractRailBlock.getPlacementState
(ItemPlacementContext ctx) AbstractRedstoneGateBlock.getPlacementState
(ItemPlacementContext ctx) AbstractSkullBlock.getPlacementState
(ItemPlacementContext ctx) AmethystClusterBlock.getPlacementState
(ItemPlacementContext ctx) AnvilBlock.getPlacementState
(ItemPlacementContext ctx) BambooBlock.getPlacementState
(ItemPlacementContext ctx) BannerBlock.getPlacementState
(ItemPlacementContext ctx) BarrelBlock.getPlacementState
(ItemPlacementContext ctx) BarrierBlock.getPlacementState
(ItemPlacementContext ctx) BedBlock.getPlacementState
(ItemPlacementContext ctx) BeehiveBlock.getPlacementState
(ItemPlacementContext ctx) BellBlock.getPlacementState
(ItemPlacementContext ctx) BigDripleafBlock.getPlacementState
(ItemPlacementContext ctx) Block.getPlacementState
(ItemPlacementContext ctx) CalibratedSculkSensorBlock.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) CrafterBlock.getPlacementState
(ItemPlacementContext ctx) CreakingHeartBlock.getPlacementState
(ItemPlacementContext ctx) DeadCoralWallFanBlock.getPlacementState
(ItemPlacementContext ctx) DecoratedPotBlock.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) FlowerbedBlock.getPlacementState
(ItemPlacementContext ctx) GlazedTerracottaBlock.getPlacementState
(ItemPlacementContext ctx) GrateBlock.getPlacementState
(ItemPlacementContext ctx) HangingRootsBlock.getPlacementState
(ItemPlacementContext ctx) HangingSignBlock.getPlacementState
(ItemPlacementContext ctx) HeavyCoreBlock.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) PaleMossCarpetBlock.getPlacementState
(ItemPlacementContext ctx) PaneBlock.getPlacementState
(ItemPlacementContext ctx) PillarBlock.getPlacementState
(ItemPlacementContext ctx) PistonBlock.getPlacementState
(ItemPlacementContext ctx) PitcherCropBlock.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) VaultBlock.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)