I need help with setMetadata. What I put in MetadataValue? My code: $blk = $ev->getBlock(); $blk->setMetadata('custom_tnt', ????); Please I need help
As far as I know, PMMP, or Bedrock Edition doesn't support block NBT(please correct me if I'm wrong). However, you can set NBT to the item and have a check for the nbt on place. Alternatively, you can also use tiles!