Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
registerBlocks
Method · 0.80
BlockBarrier
Method · 0.80
Calls
1
setHardness
Method · 0.95
Tested by
no test coverage detected