Via source code? Yes. But it's not recommended. MCPE auto translates the english Block's name into the player's language Better use Code: /give [PLAYER] [ID] [amount] {display:{Name:"§4Herobrine's Block"}}
so , no one knows how to override a block method without modifing the pocketmine source code ? i already tried creating a class that extends the block ...
You have a better idea? Share it with us your very very better idea Okay, even if this is solved I do this for the people looking this up in the Future. Using rename, unlink. PHP: rename('pocketmine/block/BlockName.php', 'pocketmine/block/NewBlockName.php'); //Moves file to `../block` directoryunlink('pocketmine/block/BlockName.php'); //Delete old file
pls stop posting useless things. for those who need to create a new custom block: https://github.com/Muirfield/bad-plugins/tree/master/Rails
"File name" does not equal to "In Game Block Name". A real solution would be to create a new "Block" class assigning its ID and Name, or create a custom block class with the exact properties you want