Compare the block names.
// one block assert(new Blocks.Dirt() == Blocks.dirt); // a group of blocks assert(new Blocks.Grass() == [Blocks.dirt, Blocks.grass, Blocks.grassPath]);
See Implementation
Compare the block names.