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

Method canDie

src/main/java/net/minecraft/block/BlockFire.java:265–268  ·  view source on GitHub ↗
(World worldIn, BlockPos pos)

Source from the content-addressed store, hash-verified

263 }
264
265 protected boolean canDie(World worldIn, BlockPos pos)
266 {
267 return worldIn.canLightningStrike(pos) || worldIn.canLightningStrike(pos.west()) || worldIn.canLightningStrike(pos.east()) || worldIn.canLightningStrike(pos.north()) || worldIn.canLightningStrike(pos.south());
268 }
269
270 public boolean requiresUpdates()
271 {

Callers 1

updateTickMethod · 0.95

Calls 5

canLightningStrikeMethod · 0.80
westMethod · 0.80
eastMethod · 0.80
northMethod · 0.80
southMethod · 0.80

Tested by

no test coverage detected