block = $block; } public function encode(?Vector3 $pos) : array{ return [LevelSoundEventPacket::create( LevelSoundEventPacket::SOUND_HIT, $pos, RuntimeBlockMapping::getInstance()->toRuntimeId($this->block->getFullId()) )]; } }