Uses of Class
net.minecraft.world.item.context.BlockPlaceContext
Package
Description
-
Uses of BlockPlaceContext in net.minecraft.world.item
Modifier and TypeMethodDescriptionBlockItem.updatePlacementContext
(BlockPlaceContext p_40609_) ScaffoldingBlockItem.updatePlacementContext
(BlockPlaceContext p_43063_) Modifier and TypeMethodDescriptionprotected boolean
BlockItem.canPlace
(BlockPlaceContext p_40611_, BlockState p_40612_) protected BlockState
BlockItem.getPlacementState
(BlockPlaceContext p_40613_) protected BlockState
GameMasterBlockItem.getPlacementState
(BlockPlaceContext p_41321_) protected BlockState
StandingAndWallBlockItem.getPlacementState
(BlockPlaceContext p_43255_) BlockItem.place
(BlockPlaceContext p_40577_) protected boolean
BedItem.placeBlock
(BlockPlaceContext p_40561_, BlockState p_40562_) protected boolean
BlockItem.placeBlock
(BlockPlaceContext p_40578_, BlockState p_40579_) protected boolean
DoubleHighBlockItem.placeBlock
(BlockPlaceContext p_41013_, BlockState p_41014_) BlockItem.updatePlacementContext
(BlockPlaceContext p_40609_) ScaffoldingBlockItem.updatePlacementContext
(BlockPlaceContext p_43063_) -
Uses of BlockPlaceContext in net.minecraft.world.item.context
Modifier and TypeMethodDescriptionstatic BlockPlaceContext
BlockPlaceContext.at
(BlockPlaceContext p_43645_, BlockPos p_43646_, Direction p_43647_) Modifier and TypeMethodDescriptionstatic BlockPlaceContext
BlockPlaceContext.at
(BlockPlaceContext p_43645_, BlockPos p_43646_, Direction p_43647_) -
Uses of BlockPlaceContext in net.minecraft.world.level.block
Modifier and TypeMethodDescriptionprotected boolean
CandleBlock.canBeReplaced
(BlockState p_152814_, BlockPlaceContext p_152815_) protected boolean
GlowLichenBlock.canBeReplaced
(BlockState p_153299_, BlockPlaceContext p_153300_) protected boolean
GrowingPlantBodyBlock.canBeReplaced
(BlockState p_53910_, BlockPlaceContext p_53911_) protected boolean
MultifaceBlock.canBeReplaced
(BlockState p_153848_, BlockPlaceContext p_153849_) boolean
PinkPetalsBlock.canBeReplaced
(BlockState p_272922_, BlockPlaceContext p_273534_) boolean
PitcherCropBlock.canBeReplaced
(BlockState p_277627_, BlockPlaceContext p_277759_) protected boolean
ScaffoldingBlock.canBeReplaced
(BlockState p_56037_, BlockPlaceContext p_56038_) protected boolean
SculkVeinBlock.canBeReplaced
(BlockState p_222381_, BlockPlaceContext p_222382_) protected boolean
SeaPickleBlock.canBeReplaced
(BlockState p_56101_, BlockPlaceContext p_56102_) protected boolean
SlabBlock.canBeReplaced
(BlockState p_56373_, BlockPlaceContext p_56374_) protected boolean
SnowLayerBlock.canBeReplaced
(BlockState p_56589_, BlockPlaceContext p_56590_) protected boolean
TurtleEggBlock.canBeReplaced
(BlockState p_57796_, BlockPlaceContext p_57797_) protected boolean
VineBlock.canBeReplaced
(BlockState p_57858_, BlockPlaceContext p_57859_) private Direction
ChestBlock.candidatePartnerFacing
(BlockPlaceContext p_51495_, Direction p_51496_) private DoorHingeSide
DoorBlock.getHinge
(BlockPlaceContext p_52805_) AbstractFurnaceBlock.getStateForPlacement
(BlockPlaceContext p_48689_) AbstractSkullBlock.getStateForPlacement
(BlockPlaceContext p_300939_) AmethystClusterBlock.getStateForPlacement
(BlockPlaceContext p_152019_) AnvilBlock.getStateForPlacement
(BlockPlaceContext p_48781_) BambooStalkBlock.getStateForPlacement
(BlockPlaceContext p_261764_) BannerBlock.getStateForPlacement
(BlockPlaceContext p_49017_) BarrelBlock.getStateForPlacement
(BlockPlaceContext p_49048_) BarrierBlock.getStateForPlacement
(BlockPlaceContext p_295385_) BaseCoralPlantTypeBlock.getStateForPlacement
(BlockPlaceContext p_49163_) BaseCoralWallFanBlock.getStateForPlacement
(BlockPlaceContext p_49198_) BaseFireBlock.getStateForPlacement
(BlockPlaceContext p_49244_) BaseRailBlock.getStateForPlacement
(BlockPlaceContext p_49363_) BedBlock.getStateForPlacement
(BlockPlaceContext p_49479_) BeehiveBlock.getStateForPlacement
(BlockPlaceContext p_49573_) BellBlock.getStateForPlacement
(BlockPlaceContext p_49698_) BigDripleafBlock.getStateForPlacement
(BlockPlaceContext p_152221_) Block.getStateForPlacement
(BlockPlaceContext p_49820_) CalibratedSculkSensorBlock.getStateForPlacement
(BlockPlaceContext p_277423_) CampfireBlock.getStateForPlacement
(BlockPlaceContext p_51240_) CandleBlock.getStateForPlacement
(BlockPlaceContext p_152803_) CarvedPumpkinBlock.getStateForPlacement
(BlockPlaceContext p_51377_) CeilingHangingSignBlock.getStateForPlacement
(BlockPlaceContext p_252121_) ChainBlock.getStateForPlacement
(BlockPlaceContext p_51454_) ChestBlock.getStateForPlacement
(BlockPlaceContext p_51493_) ChiseledBookShelfBlock.getStateForPlacement
(BlockPlaceContext p_251318_) ChorusPlantBlock.getStateForPlacement
(BlockPlaceContext p_51709_) CocoaBlock.getStateForPlacement
(BlockPlaceContext p_51750_) CommandBlock.getStateForPlacement
(BlockPlaceContext p_51800_) ConcretePowderBlock.getStateForPlacement
(BlockPlaceContext p_52063_) ConduitBlock.getStateForPlacement
(BlockPlaceContext p_52096_) CoralBlock.getStateForPlacement
(BlockPlaceContext p_52133_) CrafterBlock.getStateForPlacement
(BlockPlaceContext p_307251_) DecoratedPotBlock.getStateForPlacement
(BlockPlaceContext p_272711_) DiodeBlock.getStateForPlacement
(BlockPlaceContext p_52501_) DirtPathBlock.getStateForPlacement
(BlockPlaceContext p_153131_) DispenserBlock.getStateForPlacement
(BlockPlaceContext p_52669_) DoorBlock.getStateForPlacement
(BlockPlaceContext p_52739_) DoublePlantBlock.getStateForPlacement
(BlockPlaceContext p_52863_) EnderChestBlock.getStateForPlacement
(BlockPlaceContext p_53128_) EndPortalFrameBlock.getStateForPlacement
(BlockPlaceContext p_53052_) EndRodBlock.getStateForPlacement
(BlockPlaceContext p_53087_) FaceAttachedHorizontalDirectionalBlock.getStateForPlacement
(BlockPlaceContext p_53184_) FarmBlock.getStateForPlacement
(BlockPlaceContext p_53249_) FenceBlock.getStateForPlacement
(BlockPlaceContext p_53304_) FenceGateBlock.getStateForPlacement
(BlockPlaceContext p_53358_) FireBlock.getStateForPlacement
(BlockPlaceContext p_53427_) GlazedTerracottaBlock.getStateForPlacement
(BlockPlaceContext p_53679_) GrowingPlantBlock.getStateForPlacement
(BlockPlaceContext p_53868_) HangingRootsBlock.getStateForPlacement
(BlockPlaceContext p_153340_) HeavyCoreBlock.getStateForPlacement
(BlockPlaceContext p_338691_) HopperBlock.getStateForPlacement
(BlockPlaceContext p_54041_) HugeMushroomBlock.getStateForPlacement
(BlockPlaceContext p_54138_) InfestedRotatedPillarBlock.getStateForPlacement
(BlockPlaceContext p_153441_) IronBarsBlock.getStateForPlacement
(BlockPlaceContext p_54200_) JigsawBlock.getStateForPlacement
(BlockPlaceContext p_54227_) KelpBlock.getStateForPlacement
(BlockPlaceContext p_54302_) LadderBlock.getStateForPlacement
(BlockPlaceContext p_54347_) LanternBlock.getStateForPlacement
(BlockPlaceContext p_153467_) LeavesBlock.getStateForPlacement
(BlockPlaceContext p_54424_) LecternBlock.getStateForPlacement
(BlockPlaceContext p_54481_) LightningRodBlock.getStateForPlacement
(BlockPlaceContext p_153711_) LoomBlock.getStateForPlacement
(BlockPlaceContext p_54779_) MangrovePropaguleBlock.getStateForPlacement
(BlockPlaceContext p_221456_) MangroveRootsBlock.getStateForPlacement
(BlockPlaceContext p_221508_) MultifaceBlock.getStateForPlacement
(BlockPlaceContext p_153824_) NoteBlock.getStateForPlacement
(BlockPlaceContext p_55018_) ObserverBlock.getStateForPlacement
(BlockPlaceContext p_55087_) PinkPetalsBlock.getStateForPlacement
(BlockPlaceContext p_273158_) PitcherCropBlock.getStateForPlacement
(BlockPlaceContext p_277448_) PointedDripstoneBlock.getStateForPlacement
(BlockPlaceContext p_154040_) RedstoneLampBlock.getStateForPlacement
(BlockPlaceContext p_55659_) RedstoneWallTorchBlock.getStateForPlacement
(BlockPlaceContext p_55746_) RedStoneWireBlock.getStateForPlacement
(BlockPlaceContext p_55513_) RepeaterBlock.getStateForPlacement
(BlockPlaceContext p_55803_) RotatedPillarBlock.getStateForPlacement
(BlockPlaceContext p_55928_) ScaffoldingBlock.getStateForPlacement
(BlockPlaceContext p_56023_) SculkSensorBlock.getStateForPlacement
(BlockPlaceContext p_154396_) SculkShriekerBlock.getStateForPlacement
(BlockPlaceContext p_222171_) SeagrassBlock.getStateForPlacement
(BlockPlaceContext p_154503_) SeaPickleBlock.getStateForPlacement
(BlockPlaceContext p_56089_) ShulkerBoxBlock.getStateForPlacement
(BlockPlaceContext p_56198_) SkullBlock.getStateForPlacement
(BlockPlaceContext p_56321_) SlabBlock.getStateForPlacement
(BlockPlaceContext p_56361_) SmallDripleafBlock.getStateForPlacement
(BlockPlaceContext p_154592_) SnowLayerBlock.getStateForPlacement
(BlockPlaceContext p_56587_) SnowyDirtBlock.getStateForPlacement
(BlockPlaceContext p_56642_) StairBlock.getStateForPlacement
(BlockPlaceContext p_56872_) StandingSignBlock.getStateForPlacement
(BlockPlaceContext p_56993_) StonecutterBlock.getStateForPlacement
(BlockPlaceContext p_57070_) TallSeagrassBlock.getStateForPlacement
(BlockPlaceContext p_154747_) TrapDoorBlock.getStateForPlacement
(BlockPlaceContext p_57533_) TripWireBlock.getStateForPlacement
(BlockPlaceContext p_57606_) TripWireHookBlock.getStateForPlacement
(BlockPlaceContext p_57678_) TurtleEggBlock.getStateForPlacement
(BlockPlaceContext p_57761_) VaultBlock.getStateForPlacement
(BlockPlaceContext p_324576_) VineBlock.getStateForPlacement
(BlockPlaceContext p_57849_) WallBannerBlock.getStateForPlacement
(BlockPlaceContext p_57923_) WallBlock.getStateForPlacement
(BlockPlaceContext p_57973_) WallHangingSignBlock.getStateForPlacement
(BlockPlaceContext p_251399_) WallSignBlock.getStateForPlacement
(BlockPlaceContext p_58071_) WallSkullBlock.getStateForPlacement
(BlockPlaceContext p_58104_) WallTorchBlock.getStateForPlacement
(BlockPlaceContext p_58126_) WaterloggedTransparentBlock.getStateForPlacement
(BlockPlaceContext p_313836_) -
Uses of BlockPlaceContext in net.minecraft.world.level.block.piston
Modifier and TypeMethodDescriptionPistonBaseBlock.getStateForPlacement
(BlockPlaceContext p_60166_) -
Uses of BlockPlaceContext in net.minecraft.world.level.block.state
Modifier and TypeMethodDescriptionboolean
BlockBehaviour.BlockStateBase.canBeReplaced
(BlockPlaceContext p_60630_) protected boolean
BlockBehaviour.canBeReplaced
(BlockState p_60470_, BlockPlaceContext p_60471_) -
Uses of BlockPlaceContext in net.neoforged.neoforge.oldtest.block
Modifier and TypeMethodDescriptionValidRailShapeTest.RailSlopeBlock.getStateForPlacement
(BlockPlaceContext context) -
Uses of BlockPlaceContext in net.neoforged.neoforge.oldtest.client.model
Modifier and TypeMethodDescription@Nullable BlockState
CustomItemDisplayContextTest.ItemHangerBlock.getStateForPlacement
(BlockPlaceContext ctx) protected boolean
CustomItemDisplayContextTest.ItemHangerItem.placeBlock
(BlockPlaceContext ctx, BlockState state)