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

Method setBlockUnbreakable

src/main/java/net/minecraft/block/Block.java:409–413  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

407 }
408
409 protected Block setBlockUnbreakable()
410 {
411 this.setHardness(-1.0F);
412 return this;
413 }
414
415 public float getBlockHardness(World worldIn, BlockPos pos)
416 {

Callers 2

registerBlocksMethod · 0.80
BlockBarrierMethod · 0.80

Calls 1

setHardnessMethod · 0.95

Tested by

no test coverage detected