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

Method canCatchFire

src/main/java/net/minecraft/block/BlockFire.java:361–364  ·  view source on GitHub ↗

Checks if the block can be caught on fire

(IBlockAccess worldIn, BlockPos pos)

Source from the content-addressed store, hash-verified

359 * Checks if the block can be caught on fire
360 */
361 public boolean canCatchFire(IBlockAccess worldIn, BlockPos pos)
362 {
363 return this.getEncouragement(worldIn.getBlockState(pos).getBlock()) > 0;
364 }
365
366 public boolean canPlaceBlockAt(World worldIn, BlockPos pos)
367 {

Callers 4

getActualStateMethod · 0.95
updateTickMethod · 0.95
canNeighborCatchFireMethod · 0.95
randomDisplayTickMethod · 0.80

Calls 3

getEncouragementMethod · 0.95
getBlockMethod · 0.65
getBlockStateMethod · 0.65

Tested by

no test coverage detected