Implemented working Name tag (#5209)

This commit is contained in:
IvanCraft623
2024-02-19 13:46:48 -05:00
committed by GitHub
parent 4fab518384
commit 920341668f
8 changed files with 62 additions and 1 deletions

View File

@ -132,6 +132,10 @@ abstract class Living extends Entity{
abstract public function getName() : string;
public function canBeRenamed() : bool{
return true;
}
protected function initEntity(CompoundTag $nbt) : void{
parent::initEntity($nbt);