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

Method BlockTNT

src/main/java/net/minecraft/block/BlockTNT.java:25–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23 public static final PropertyBool EXPLODE = PropertyBool.create("explode");
24
25 public BlockTNT()
26 {
27 super(Material.tnt);
28 this.setDefaultState(this.blockState.getBaseState().withProperty(EXPLODE, Boolean.FALSE));
29 this.setCreativeTab(CreativeTabs.tabRedstone);
30 }
31
32 public void onBlockAdded(World worldIn, BlockPos pos, IBlockState state)
33 {

Callers

nothing calls this directly

Calls 4

setDefaultStateMethod · 0.80
getBaseStateMethod · 0.80
withPropertyMethod · 0.65
setCreativeTabMethod · 0.45

Tested by

no test coverage detected