MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / canPlaceBlockAt

Method canPlaceBlockAt

src/main/java/net/minecraft/block/Block.java:870–873  ·  view source on GitHub ↗
(World worldIn, BlockPos pos)

Source from the content-addressed store, hash-verified

868 }
869
870 public boolean canPlaceBlockAt(World worldIn, BlockPos pos)
871 {
872 return worldIn.getBlockState(pos).getBlock().blockMaterial.isReplaceable();
873 }
874
875 public boolean onBlockActivated(World worldIn, BlockPos pos, IBlockState state, EntityPlayer playerIn, EnumFacing side, float hitX, float hitY, float hitZ)
876 {

Callers 15

canPlaceBlockOnSideMethod · 0.95
onItemUseMethod · 0.45
onItemUseMethod · 0.45
onItemUseMethod · 0.45
onItemUseMethod · 0.45
onItemUseMethod · 0.45
canSnowAtMethod · 0.45
generateMethod · 0.45
generateMethod · 0.45
generateMethod · 0.45
generateMethod · 0.45
growMethod · 0.45

Calls 3

getBlockMethod · 0.65
getBlockStateMethod · 0.65
isReplaceableMethod · 0.45

Tested by

no test coverage detected